From 3630f52c07312471303338477cc80bc091b4b8be Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 27 Oct 2016 06:20:49 -0500 Subject: [PATCH] Backup emby database Oops. --- resources/lib/entrypoint.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index 1b1fbb6f..9cc3ce0e 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -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)