A Sonarr companion script to allow the automatic downloading of web series normally not available for Sonarr to search for. Using Youtube-DL it allows you to download your webseries from the list of supported sites.
107
stars
34
forks
source link
/sonarr_root hardcoded and Season directory format hardcoded to "Season x" along with files using SxEx instead of what SONARR has configured #58
I'm running sonarr_youtubedl on a VM which has the PLEX library mounted differently than the SONARR app on TrueNAS Scale.
Sonarr: "rootFolderPath": "/data/TV Shows/"
VM: "/PLEX/VIDEO/media/TV Shows/"
So I added 2 variables to the config.yml (path and localpath under the sonarr config) along with some code to get them into the class. A minor edit to the download function to remove sonarr_root and update to replace path with localpath.
I had to read the config/naming and format the strings to use python formatting. This allowed for simple changes to download function to use the new class variables. I did not write the code to fully read the standardEpisodeFormat as it was close enough to what was already there..
I'm running sonarr_youtubedl on a VM which has the PLEX library mounted differently than the SONARR app on TrueNAS Scale. Sonarr: "rootFolderPath": "/data/TV Shows/" VM: "/PLEX/VIDEO/media/TV Shows/"
So I added 2 variables to the config.yml (path and localpath under the sonarr config) along with some code to get them into the class. A minor edit to the download function to remove sonarr_root and update to replace path with localpath.
In api/v3/config/naming: "numberStyle": "S{season:00}E{episode:00}" "seasonFolderFormat": "Season {season:00}" "standardEpisodeFormat": "{Series TitleYear} - S{season:00}E{episode:00} - {Episode CleanTitle} [{Preferred Words }{Quality Full}]{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}{[MediaInfo VideoCodec]}{-Release Group}"
I had to read the config/naming and format the strings to use python formatting. This allowed for simple changes to download function to use the new class variables. I did not write the code to fully read the standardEpisodeFormat as it was close enough to what was already there..
Attached diff.txt of my changes... diff.txt
Now off to figure out why it can't find a couple of episodes from the list and how to add support for downloading in HD-720p, et. al.