Closed fortiko closed 8 months ago
If you wanted to submit a pull request with these changes I'd be happy to take a look and merge
These are really just very basic sample scripts to help show how the environment variables can work etc (especially for Plex since the script has full Plex integration built in already) but definitely want them to be functional samples
ced493e63fcc32f353e76d9d8fe14398eb703770
I had some small issues with the existing post-process scripts after discovering them in https://github.com/mdhiggins/sickbeard_mp4_automator/issues/1564. Changing them slightly makes them work perfectly. Perhaps you could consider applying those changes. Thank you in advance!
Changes for Jellyfin are basically a slightly updated URL following the API documentation and correcting the method from GET to POST, and removing the JSON output because Jellyfin does not return a JSON for the request, rather just a simple code and text.
Changes for Plex are an updated API access method and renaming the variable SERVERNAME to FRIENDLY_NAME to distinguish it clearly from the PLEX_URL we need for API access: