Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
STRAYKR opened this issue Aug 4, 2023 · 2 comments
Open

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

STRAYKR opened this issue Aug 4, 2023 · 2 comments

Comments

@STRAYKR
Copy link

STRAYKR commented Aug 4, 2023

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.

  • yes, added my Sonarr IP and API key.

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
Copy link

+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
Copy link

Caboose6130 commented Feb 12, 2024

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants