diff --git a/Preroll.py b/Preroll.py index 5172058..5ef3e6a 100644 --- a/Preroll.py +++ b/Preroll.py @@ -4,13 +4,11 @@ import webbrowser from plexapi.server import PlexServer import requests import PrerollUpdate - import os from os.path import exists -from configparser import * import json - import time + starttime = time.time() @@ -689,6 +687,7 @@ class Rollarr(App): # a list() of filenames and folders is returned self.WeekPath.set_value(';'.join(filelist)) + """ def open_fileselection_dialogPath(self, widget): self.fileselectionDialog = gui.FileSelectionDialog('File Selection Dialog', 'Select files and folders', True, '.', True, False) @@ -700,6 +699,7 @@ class Rollarr(App): def on_fileselection_dialog_confirmPath(self, widget, filelist): # a list() of filenames and folders is returned self.WeekPath.set_value(';'.join(filelist)) + """ def open_fileselection_dialogPath1(self, widget): self.fileselectionDialog = gui.FileSelectionDialog('File Selection Dialog', 'Select files and folders', diff --git a/PrerollUpdate.py b/PrerollUpdate.py index ee6d1a5..ff6e8e8 100644 --- a/PrerollUpdate.py +++ b/PrerollUpdate.py @@ -1,10 +1,9 @@ import json import datetime import requests -from dateutil.easter import * +from dateutil.easter import easter from plexapi.server import PlexServer import os -from configparser import * def update():