Music: replace songs's year with release date
This commit is contained in:
parent
71d0cccdaa
commit
4b9fda9e81
2 changed files with 13 additions and 5 deletions
|
@ -485,7 +485,10 @@ class Song(MusicMixin, ItemBase):
|
|||
title,
|
||||
track,
|
||||
api.runtime(),
|
||||
year,
|
||||
api.premiere_date(),
|
||||
# TODO: as soon as Plex supports the original
|
||||
# release date (Kodi: strOrigReleaseDate)
|
||||
api.premiere_date(),
|
||||
filename,
|
||||
api.viewcount(),
|
||||
api.lastplayed(),
|
||||
|
@ -507,7 +510,10 @@ class Song(MusicMixin, ItemBase):
|
|||
title,
|
||||
track,
|
||||
api.runtime(),
|
||||
year,
|
||||
api.premiere_date(),
|
||||
# TODO: as soon as Plex supports the original
|
||||
# release date (Kodi: strOrigReleaseDate)
|
||||
api.premiere_date(),
|
||||
filename,
|
||||
musicBrainzId,
|
||||
api.viewcount(),
|
||||
|
|
|
@ -337,7 +337,8 @@ class KodiMusicDB(common.KodiDBBase):
|
|||
strTitle,
|
||||
iTrack,
|
||||
iDuration,
|
||||
iYear,
|
||||
strReleaseDate,
|
||||
strOrigReleaseDate,
|
||||
strFileName,
|
||||
strMusicBrainzTrackID,
|
||||
iTimesPlayed,
|
||||
|
@ -347,7 +348,7 @@ class KodiMusicDB(common.KodiDBBase):
|
|||
iEndOffset,
|
||||
mood,
|
||||
dateAdded)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||
''', (args))
|
||||
|
||||
@db.catch_operationalerrors
|
||||
|
@ -360,7 +361,8 @@ class KodiMusicDB(common.KodiDBBase):
|
|||
strTitle = ?,
|
||||
iTrack = ?,
|
||||
iDuration = ?,
|
||||
iYear = ?,
|
||||
strReleaseDate = ?,
|
||||
strOrigReleaseDate = ?,
|
||||
strFilename = ?,
|
||||
iTimesPlayed = ?,
|
||||
lastplayed = ?,
|
||||
|
|
Loading…
Reference in a new issue