From 52d38883dcd521bcff7a4b0ee79bbf553da35212 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Thu, 30 Apr 2020 20:46:58 -0700 Subject: [PATCH] Add Tautulli database import to the settings page --- data/interfaces/default/app_import.html | 60 +++++++++++++++++++------ data/interfaces/default/settings.html | 3 +- plexpy/webserve.py | 35 ++++++++++++--- 3 files changed, 77 insertions(+), 21 deletions(-) diff --git a/data/interfaces/default/app_import.html b/data/interfaces/default/app_import.html index 0f0c8351..fb730cb3 100644 --- a/data/interfaces/default/app_import.html +++ b/data/interfaces/default/app_import.html @@ -5,6 +5,7 @@
<% v = '' @@ -15,26 +16,54 @@ %> Please ensure your ${app} database is at version ${v} or higher.
+ % endifEnter the path and file name for the ${app} database you wish to import.
+Enter the full path to the ${app} database you wish to import.
The table name from which you wish to import. Only import one of these, importing both will result in duplicated data.
+Select how you would like to import the Tautulli history.
+Automatically create a backup of the current database before importing.
+Select the table name from which you wish to import. Only import one of these, importing both will result in duplicated data.
Enter the minimum duration (in seconds) an item must have been active for. Set to 0 to import all.