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

Use yt-dlp instead of youtube-dl #248

Open
koyuawsmbrtn opened this issue Jan 1, 2022 · 4 comments
Open

Use yt-dlp instead of youtube-dl #248

koyuawsmbrtn opened this issue Jan 1, 2022 · 4 comments

Comments

@koyuawsmbrtn
Copy link

koyuawsmbrtn commented Jan 1, 2022

yt-dlp downloads much faster and receives more patches. It seems that this is the successor of youtube-dl.

Project repository: https://github.com/yt-dlp/yt-dlp

@israuor
Copy link

israuor commented Jan 1, 2022

Thanks for the hint with yt-dlp. Didn't know it existed

@HumanG33k
Copy link

HumanG33k commented Sep 2, 2022

If you need to use it instead of yt-download i'm pretty sure an shell alias make the job done (if it use through the command line call)

something like

alias youtube-dl="yt-dlp"

in ~/.bashrc

@koyuawsmbrtn
Copy link
Author

I just did a symlink in order to use that

@dafoxia
Copy link
Member

dafoxia commented Sep 3, 2022

A better way is to put the path and the name of the executable (yt-dlp) in your config file.
plugin: youtube: youtube_dl: path: "/home/botmaster/src/yt-dlp"

A sample configuration:

debug: true
language: en

main:
  logfile: "/home/botmaster/logs/bot1.log"
  ducking: false
  automute_if_alone: true
  stop_on_unregistered: true
  whitelist_enabled: false
  control:
    string: "."
    message:
      private_only: false
      registered_only: true
    historysize: 20
  fifo: "/home/botmaster/mpd1/mpd.fifo"
  user:
    whitelisted: # See http://mumble-ruby-pluginbot.rtfd.io/en/master/explain_the_config.html#main-user-whitelisted
    superuser: # See http://mumble-ruby-pluginbot.rtfd.io/en/master/explain_the_config.html#main-user-superuser
    banned: # See http://mumble-ruby-pluginbot.rtfd.io/en/master/explain_the_config.html#main-user-banned
    bound: # See http://mumble-ruby-pluginbot.rtfd.io/en/master/explain_the_config.html#main-user-bound

mumble:
  use_vbr: 1
  bitrate: 144000
  host: 192.168.1.109
  port: 64738
  name: MRPB
  password: ''
  channel: 

plugin:
  mpd:
    volume: 65
    host: localhost
    port: 7701
    password: ''
  idle:
    maxidletime: 600
    idleaction: 'channel'
  youtube:
    youtube_dl:
      path: "/home/botmaster/src/yt-dlp"

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

4 participants