Updates to scripts.

This commit is contained in:
Justin Emter
2017-08-13 11:48:29 -07:00
parent 8056c4b9ad
commit c903a1c6d7
3 changed files with 80 additions and 29 deletions

View File

@@ -31,20 +31,6 @@
"""
import os, sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# import ../plex_token.py
try:
import plex_token as plex_token
except ImportError as e:
print "+++++ Cannot find plex_token file. Make sure you create a plex_token.py file with the appropriate data."
raise e
baseurl = plex_token.baseurl
token = plex_token.token
gkey = plex_token.gkey
'''
*
* List of plex clients to use (add multiple clients to control multiple TV's)
@@ -83,8 +69,34 @@ useDailyOverlapCache = True
dailyUpdateTime = "12:00 AM"
"""Debug mode will give you more output in your terminal to help problem solve issues.s"""
"""Debug mode will give you more output in your terminal to help problem solve issues."""
debug_mode = True
"""---"""
useGoogleCalendar = False
useGoogleCalendar = False
"""When to delete / remake the pseudo-channel.log - right at midnight, (i.e. 'friday') """
rotateLog = "friday"
"""
##### Do not edit below this line.
Below is logic to grab your Plex 'token' & Plex 'baseurl'. If you are following along and have created a 'plex_token.py'
file as instructed, you do not need to edit below this line.
"""
import os, sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# import ../plex_token.py
try:
import plex_token as plex_token
except ImportError as e:
print "+++++ Cannot find plex_token file. Make sure you create a plex_token.py file with the appropriate data."
raise e
baseurl = plex_token.baseurl
token = plex_token.token
gkey = plex_token.gkey