mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix for Krypton
This commit is contained in:
parent
dbec225072
commit
00c0556300
1 changed files with 4 additions and 1 deletions
|
@ -2304,6 +2304,9 @@ class Music(Items):
|
||||||
|
|
||||||
elif mediatype == "album":
|
elif mediatype == "album":
|
||||||
# Process playstates
|
# Process playstates
|
||||||
|
if self.kodiversion >= 17:
|
||||||
|
query = "UPDATE album SET fRating = ? WHERE idAlbum = ?"
|
||||||
|
else:
|
||||||
query = "UPDATE album SET iRating = ? WHERE idAlbum = ?"
|
query = "UPDATE album SET iRating = ? WHERE idAlbum = ?"
|
||||||
kodicursor.execute(query, (rating, kodiid))
|
kodicursor.execute(query, (rating, kodiid))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue