From 034d772ac080b4b2ec837b4cea4f2bce031550ce Mon Sep 17 00:00:00 2001 From: blacktwin Date: Mon, 13 Apr 2020 14:22:03 -0400 Subject: [PATCH] creating defaults for actions --- utility/media_manager.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/utility/media_manager.py b/utility/media_manager.py index b7c786e..30da7a1 100644 --- a/utility/media_manager.py +++ b/utility/media_manager.py @@ -52,6 +52,15 @@ SELECTOR = ['watched', 'unwatched', 'transcoded', 'rating', 'size'] ACTIONS = ['delete', 'move', 'archive', 'optimize', 'show'] OPERATORS = ['>', '>=', '<', '<=', '==', '!='] +MOVEPATH = '' +ARCHIVEPATH = '' +OPTIMIZEDEFAULT = {'targetTagID': 'Mobile', + 'deviceProfile': None, + 'title': None, + 'target': "", + 'locationID': -1, + 'policyUnwatched': 0, + 'videoQuality': None} class Connection: def __init__(self, url=None, apikey=None, verify_ssl=False):