whatdaybob / sonarr_youtubedl

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

Intructions for use - examples of it in use? Video? #61

Open STRAYKR opened 1 year ago

STRAYKR commented 1 year ago

Hi, having tried to understand how to integrate this into my Docker stack and get it working I am none the wiser. I've added it to my docker compose file, edited the file locations, created the .yml config file and amended my Sonarr server IP, and added the API key from Sonarr. It's running and I get log file entries that say it's listening every 1 minute. Now what?

Firstly you need a series that is available online in the supported sites that YouTube-DL can grab from

  • So I saw the example for Slo Mo Guys in config.yml.template ... managed to find that in Sonarr and added it in Sonarr. Was it sonarr_youtubedl that adds the ability to search YouTube channels in Sonarr?

Secondly you need to add this to Sonarr and monitor the episodes that you want.

  • yes, added in Sonarr and monitoring episodes for the latest season.

Thirdly edit your config.yml accordingly so that this knows where your Sonarr is, which series you are after and where to grab it from.

Lastly be aware that this requires the TVDB to match exactly what the episodes titles are in the scan, generally this is ok but as its an openly editable site sometime there can be differences.

  • I see that the Slo Mo Guys are listed in thetvdb.com. If I want a channel that's not listed in thetvdb.com I guess I can create an account and add it?
2023-08-04 13:30:46,981 - sonarr_youtubedl - DEBUG - DEBUGGING ENABLED
2023-08-04 13:30:46,982 - sonarr_youtubedl - DEBUG - Begin call Sonarr for all available series
2023-08-04 13:30:46,982 - sonarr_youtubedl - DEBUG - Begin GET with url: http://10.0.0.5:8989/api/series
2023-08-04 13:33:01,468 - sonarr_youtubedl - INFO - Initial run
2023-08-04 13:33:01,468 - sonarr_youtubedl - INFO - Configuration Found. Loading file.
2023-08-04 13:33:01,476 - sonarr_youtubedl - INFO - Scan interval set to every 1 minutes by config.yml
2023-08-04 13:33:01,476 - sonarr_youtubedl - DEBUG - DEBUGGING ENABLED
2023-08-04 13:33:01,476 - sonarr_youtubedl - DEBUG - Begin call Sonarr for all available series
2023-08-04 13:33:01,477 - sonarr_youtubedl - DEBUG - Begin GET with url: http://10.0.0.5:8989/api/series

Are there any examples of how this is supposed to work? What expected behavior is, what log entries I should see etc., troubleshooting steps? The https://github.com/whatdaybob/sonarr_youtubedl#how-do-i-use-it section is a little light on detail.

From the instructions I expected this would enable something that allows me to search in Sonarr and locate a Youtube channel, which I guess I can now do, subscribe to it and select episodes to download, which I can now see, but it now doesn't seem to download anything. Have I misunderstood the point of this container, or am I missing some configuration steps?

Very confused. Thanks.

clementmoine commented 9 months ago

+1

I am facing the same "issue" I tried to register a Youtube channel that uploads korean dramas. These dramas are existing on TMDB/TVDB/IMDB so I can add them to Sonarr and excepting these to be grabbed from this script where I registered my Sonarr details, the youtube channel details too but ... nothing happens : Config :

  GNU nano 5.4                                                                   config/sonarr_youtubedl/config.yml                                                                            
sonarrytdl:
    scan_interval: 1  # minutes between scans
    debug: True  # Set to True for a more verbose output
sonarr:
    host: 192.168.1.2
    port: 8989  # sonarr default port
    apikey: ################
    ssl: false
    # basedir: '/sonarr'  # if you have sonarr running with a basedir set (e.g. behind a proxy)
    # version: v4 # if running v4 beta, allows the v3 api endpoints

ytdl:
  # For information on format refer to https://github.com/ytdl-org/youtube-dl#format-selection
    default_format: bestvideo[width<=1920]+bestaudio/best[width<=1920]
series:
  - title: Univers Court
    url: https://www.youtube.com/channel/UCFNWBtJZHMlKC3tw0q4i5Hg
  - title: Studio886
    #url: https://www.youtube.com/@Studio886tw
    url: https://www.youtube.com/channel/UCtvuMbv8heWmZxmBgBcw06g
    subtitles:
      languages: ['fr']
      autogenerated: True

Logs :

sonarr_youtubedl  | 2023-11-22 10:10:50,569 - sonarr_youtubedl - INFO - Configuration Found. Loading file.
sonarr_youtubedl  | 2023-11-22 10:10:50,631 - sonarr_youtubedl - INFO - Default scan interval of every 1 minutes in use
sonarr_youtubedl  | 2023-11-22 10:10:50,634 - sonarr_youtubedl - DEBUG - DEBUGGING ENABLED
sonarr_youtubedl  | 2023-11-22 10:10:50,639 - sonarr_youtubedl - DEBUG - Begin call Sonarr for all available series
sonarr_youtubedl  | 2023-11-22 10:10:50,640 - sonarr_youtubedl - DEBUG - Begin GET with url: http://192.168.1.2:8989/api/series
sonarr_youtubedl  | 2023-11-22 10:10:52,173 - sonarr_youtubedl - INFO - Nothing to process
sonarr_youtubedl  | 2023-11-22 10:10:52,173 - sonarr_youtubedl - INFO - Waiting...

@STRAYKR Did you get any help on this or anything ?

Caboose6130 commented 7 months ago

not sure is you guys fixed this. but uncommenting the line in the config file regarding sonarr v4 fixed this for me "# version: v4 # if running v4 beta, allows the v3 api endpoints"