mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-15 00:35:03 -05:00
make updates work with art_filename
This commit is contained in:
parent
ad66ad6d98
commit
f5012295e8
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user