* Fix external subtitles

* Fix index error

* Fix credentials encoding

* Fix music var reference
This commit is contained in:
angelblue05 2016-10-31 06:30:09 -05:00 committed by GitHub
parent c6b747cb04
commit ea4059b6d0
5 changed files with 14 additions and 10 deletions

View file

@ -490,7 +490,7 @@ class Music(Items):
except TypeError:
# No album found, create a single's album
log.info("Failed to add album. Creating singles.")
album_id = self.kodi_db.create_entry_album()
albumid = self.kodi_db.create_entry_album()
if self.kodi_version == 16:
self.kodi_db.add_single(albumid, genre, year, "single")