Changeset 850

Show
Ignore:
Timestamp:
01/28/08 18:25:22 (10 months ago)
Author:
michux
Message:

minor updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugin_mpd.c

    r848 r850  
    6868TODO:  
    6969 -what happens if the db is updating? int mpd_status_db_is_updating() 0/1 
    70  -port configuration to lcd4linux.cfg (like mysql) 
     70 
     71BUGS: 
     72 -getMpdUptime() does not update its counter 
     73 -getMpdPlaytime() does not update its counter 
    7174 
    7275*/ 
     
    241244    l_currentSongPos  = mpd_player_get_current_song_pos(mi); 
    242245 
    243     /* dummy checks */ 
     246    /* sanity checks */ 
    244247    if (l_volume < 0 || l_volume > 100) 
    245248  l_volume = 0; 
    246249 
     250    if (l_bitRate < 0) 
     251  l_bitRate = 0; 
     252   
    247253    song = mpd_playlist_get_current_song(mi); 
    248254    if (song) {