make updates work with art_filename

This commit is contained in:
Ron Pedde 2006-06-29 02:57:45 +00:00
parent ad66ad6d98
commit f5012295e8

View File

@ -876,7 +876,7 @@ void dispatch_stream_id(WS_CONNINFO *pwsc, int session, char *id) {
DPRINTF(E_INF,L_WS,"Finished streaming file to remote: %d bytes\n", DPRINTF(E_INF,L_WS,"Finished streaming file to remote: %d bytes\n",
bytes_copied); bytes_copied);
/* update play counts */ /* update play counts */
if(bytes_copied == real_len) { if(bytes_copied >= real_len) {
db_playcount_increment(NULL,pmp3->id); db_playcount_increment(NULL,pmp3->id);
} }
} }