From 35c87856fd7be4d218988f963b99f58e3263acbf Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 5 Nov 2018 10:10:42 +0100 Subject: [PATCH] Fix TypeError --- resources/lib/plex_db/music.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/resources/lib/plex_db/music.py b/resources/lib/plex_db/music.py index 3f939f65..cb8f5f48 100644 --- a/resources/lib/plex_db/music.py +++ b/resources/lib/plex_db/music.py @@ -53,8 +53,7 @@ class Music(object): last_sync)) def add_song(self, plex_id, checksum, section_id, artist_id, grandparent_id, - album_id, parent_id, kodi_id, kodi_fileid, kodi_pathid, - last_sync): + album_id, parent_id, kodi_id, kodi_pathid, last_sync): """ Appends or replaces an entry into the plex table """ @@ -68,10 +67,9 @@ class Music(object): album_id, parent_id, kodi_id, - kodi_fileid, kodi_pathid, last_sync) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ''' self.cursor.execute( query, @@ -83,7 +81,6 @@ class Music(object): album_id, parent_id, kodi_id, - kodi_fileid, kodi_pathid, last_sync))