Changeset 850
- Timestamp:
- 01/28/08 18:25:22 (10 months ago)
- Files:
-
- 1 modified
-
trunk/plugin_mpd.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugin_mpd.c
r848 r850 68 68 TODO: 69 69 -what happens if the db is updating? int mpd_status_db_is_updating() 0/1 70 -port configuration to lcd4linux.cfg (like mysql) 70 71 BUGS: 72 -getMpdUptime() does not update its counter 73 -getMpdPlaytime() does not update its counter 71 74 72 75 */ … … 241 244 l_currentSongPos = mpd_player_get_current_song_pos(mi); 242 245 243 /* dummy checks */246 /* sanity checks */ 244 247 if (l_volume < 0 || l_volume > 100) 245 248 l_volume = 0; 246 249 250 if (l_bitRate < 0) 251 l_bitRate = 0; 252 247 253 song = mpd_playlist_get_current_song(mi); 248 254 if (song) {
