diff --git a/API.md b/API.md index dc3a6155..352ba45e 100644 --- a/API.md +++ b/API.md @@ -2563,7 +2563,7 @@ Required parameters: app (str): "tautulli" or "plexwatch" or "plexivity" database_file (file): The database file to import (multipart/form-data) or - database_path (str): The full path to the plexwatch database file + database_path (str): The full path to the database file to import method (str): For Tautulli only, "merge" or "overwrite" table_name (str): For PlexWatch or Plexivity only, "processed" or "grouped" @@ -2577,7 +2577,7 @@ Optional parameters: Returns: json: {"result": "success", - "message": "Import has started. Check the logs to monitor any problems." + "message": "Database import has started. Check the logs to monitor any problems." } ``` diff --git a/plexpy/webserve.py b/plexpy/webserve.py index 35405a3a..fc8e02b1 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -3750,7 +3750,7 @@ class WebInterface(object): app (str): "tautulli" or "plexwatch" or "plexivity" database_file (file): The database file to import (multipart/form-data) or - database_path (str): The full path to the plexwatch database file + database_path (str): The full path to the database file to import method (str): For Tautulli only, "merge" or "overwrite" table_name (str): For PlexWatch or Plexivity only, "processed" or "grouped" @@ -3764,7 +3764,7 @@ class WebInterface(object): Returns: json: {"result": "success", - "message": "Import has started. Check the logs to monitor any problems." + "message": "Database import has started. Check the logs to monitor any problems." } ``` """ @@ -3793,7 +3793,7 @@ class WebInterface(object): 'method': method, 'backup': helpers.bool_true(backup)}).start() return {'result': 'success', - 'message': 'Import has started. Check the logs to monitor any problems.'} + 'message': 'Database import has started. Check the logs to monitor any problems.'} else: if database_file: helpers.delete_file(database_path) @@ -3808,7 +3808,7 @@ class WebInterface(object): 'table_name': table_name, 'import_ignore_interval': import_ignore_interval}).start() return {'result': 'success', - 'message': 'Import has started. Check the logs to monitor any problems.'} + 'message': 'Database import has started. Check the logs to monitor any problems.'} else: if database_file: helpers.delete_file(database_path) @@ -3823,7 +3823,7 @@ class WebInterface(object): 'table_name': table_name, 'import_ignore_interval': import_ignore_interval}).start() return {'result': 'success', - 'message': 'Import has started. Check the logs to monitor any problems.'} + 'message': 'Database import has started. Check the logs to monitor any problems.'} else: if database_file: helpers.delete_file(database_path)