Backup emby database

Oops.
This commit is contained in:
angelblue05 2016-10-27 06:20:49 -05:00
parent 7ab7fdb397
commit 3630f52c07

View file

@ -174,9 +174,13 @@ def emby_backup():
database = os.path.join(backup, "Database")
xbmcvfs.mkdir(database)
# Emby database
shutil.copy(src=xbmc.translatePath("special://database/emby.db").decode('utf-8'),
dst=database)
# Videos database
shutil.copy(src=utils.getKodiVideoDBPath(),
dst=database)
# Music database
if settings('enableMusic') == "true":
shutil.copy(src=utils.getKodiMusicDBPath(),
dst=database)