mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix capitalization of variable
This commit is contained in:
parent
94b3a3e0a0
commit
33dfd0ee82
2 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ FROM album
|
|||
WHERE strMusicBrainzAlbumID = ?
|
||||
"""
|
||||
get_album_obj = ["{AlbumId}", "{Title}", "{UniqueId}", "{Artists}", "album"]
|
||||
get_album_obj82 = ["{AlbumId}", "{Title}", "{UniqueId}", "{Artists}", "album", "{dateAdded}"]
|
||||
get_album_obj82 = ["{AlbumId}", "{Title}", "{UniqueId}", "{Artists}", "album", "{DateAdded}"]
|
||||
get_album_by_name = """
|
||||
SELECT idAlbum, strArtists
|
||||
FROM album
|
||||
|
@ -102,7 +102,7 @@ INSERT INTO album(idAlbum, strAlbum, strMusicBrainzAlbumID, strReleaseType,
|
|||
VALUES (?, ?, ?, ?, 1)
|
||||
"""
|
||||
add_album82 = """
|
||||
INSERT INTO album(idAlbum, strAlbum, strMusicBrainzAlbumID, strReleaseType, bScrapedMBID, dateAdded)
|
||||
INSERT INTO album(idAlbum, strAlbum, strMusicBrainzAlbumID, strReleaseType, bScrapedMBID, DateAdded)
|
||||
VALUES (?, ?, ?, ?, 1, ?)
|
||||
"""
|
||||
add_single = """
|
||||
|
|
|
@ -153,7 +153,7 @@ class Music(KodiDb):
|
|||
obj['Artists'] = " / ".join(obj['Artists'] or [])
|
||||
obj['Artwork'] = API.get_all_artwork(self.objects.map(item, 'ArtworkMusic'), True)
|
||||
obj['Thumb'] = obj['Artwork']['Primary']
|
||||
obj['dateAdded'] = item.get('DateCreated')
|
||||
obj['DateAdded'] = item.get('DateCreated')
|
||||
|
||||
if obj['DateAdded']:
|
||||
obj['DateAdded'] = Local(obj['DateAdded']).split('.')[0].replace('T', " ")
|
||||
|
|
Loading…
Reference in a new issue