mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Merge pull request #761 from csaavedra/fix-multicd-albums
music: Fix multidisc indexing
This commit is contained in:
commit
78a8f6b9fe
1 changed files with 1 additions and 2 deletions
|
@ -291,7 +291,6 @@ class Music(KodiDb):
|
||||||
if obj['DatePlayed']:
|
if obj['DatePlayed']:
|
||||||
obj['DatePlayed'] = Local(obj['DatePlayed']).split('.')[0].replace('T', " ")
|
obj['DatePlayed'] = Local(obj['DatePlayed']).split('.')[0].replace('T', " ")
|
||||||
|
|
||||||
if obj['Disc'] != 1:
|
|
||||||
obj['Index'] = obj['Disc'] * 2 ** 16 + obj['Index']
|
obj['Index'] = obj['Disc'] * 2 ** 16 + obj['Index']
|
||||||
|
|
||||||
if update:
|
if update:
|
||||||
|
|
Loading…
Reference in a new issue