From 908dfd2fe35a910432efc951681b012eff45db81 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Thu, 17 Mar 2016 13:34:11 +0100 Subject: [PATCH] Fix getUnplayedMusicItems --- resources/lib/kodidb_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/kodidb_functions.py b/resources/lib/kodidb_functions.py index 9bf5fbd4..64d3a0c7 100644 --- a/resources/lib/kodidb_functions.py +++ b/resources/lib/kodidb_functions.py @@ -730,7 +730,7 @@ class Kodidb_Functions(): Returns all Kodi Item idFile that have not yet been completely played """ query = ' '.join(( - "SELECT idPath", + "SELECT idSong", "FROM song", "WHERE iTimesPlayed IS NULL OR iTimesPlayed = ''" ))