Compare commits

...

2 Commits

Author SHA1 Message Date
Nicholas G Cotton, CIPT
2e3c35f70c
Merge 0bf6d03c88 into 9177c8b007 2025-05-13 14:44:42 -04:00
Nicholas Cotton
0bf6d03c88 Added usage instructions in top comments, fixed typo. 2025-05-13 14:43:48 -04:00

View File

@ -23,6 +23,8 @@
# --rating_key {rating_key} --summary_prefix "** SPOILERS **" # --rating_key {rating_key} --summary_prefix "** SPOILERS **"
# To upload the episode artwork instead of creating a local asset (optional, for when the script cannot access the media folder): # To upload the episode artwork instead of creating a local asset (optional, for when the script cannot access the media folder):
# --rating_key {rating_key} --blur 25 --upload # --rating_key {rating_key} --blur 25 --upload
# To replace episode title with "Aired %B %d, %Y (May 13, 2025) (optional, for shows where the title is a spoiler e.g. Jeopardy!)
# --hideTitle
# * Watched (optional): # * Watched (optional):
# To remove the local asset episode artwork: # To remove the local asset episode artwork:
# --rating_key {rating_key} --remove # --rating_key {rating_key} --remove
@ -131,7 +133,7 @@ if __name__ == "__main__":
parser.add_argument('--summary_prefix', nargs='?', const='** SPOILERS **') parser.add_argument('--summary_prefix', nargs='?', const='** SPOILERS **')
parser.add_argument('--remove', action='store_true') parser.add_argument('--remove', action='store_true')
parser.add_argument('--upload', action='store_true') parser.add_argument('--upload', action='store_true')
parser.add_argument('-hideTitle', action='store_true') parser.add_argument('--hideTitle', action='store_true')
opts = parser.parse_args() opts = parser.parse_args()
plex = PlexServer(PLEX_URL, PLEX_TOKEN) plex = PlexServer(PLEX_URL, PLEX_TOKEN)