From 57d75bc35ceb7cfd8c0b27745bc450d9e1f55fb7 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Fri, 30 Jun 2006 05:10:13 +0000 Subject: [PATCH] Really REALLY fix the transcode playcount update --- src/dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch.c b/src/dispatch.c index 4c09ae9e..b4ba007d 100644 --- a/src/dispatch.c +++ b/src/dispatch.c @@ -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", bytes_copied); /* update play counts */ - if(bytes_copied >= real_len) { + if(bytes_copied + 20 >= real_len) { db_playcount_increment(NULL,pmp3->id); } }