Sometimes…

  • 18 Posts
  • 82 Comments
Joined 4 years ago
cake
Cake day: December 18th, 2020

help-circle


  • While I appreciate the utility of snaps and flatpaks for providing sandboxed, cross-platform apps, I’ve often found them slower than traditional packages. Their tendency to take up more disk space also feels inefficient, especially when system resources are sometimes precious. For these reasons, I generally prefer using apps installed directly through the system’s default package manager, which tend to offer better performance and use space more efficiently…





  • Forgot to mention that mpv is how I actually watch the videos. Newsboat downloads a list from each channel kinda like an RSS feed. I can then select any video & download it by pressing a keybinding. It’s been a while since I last had to actually set this up, but off memory, here’s some quick info…

    The file ~/.newsboat/urls contains URLs similar to the one below. Just replace CHANNEL_ID with the actual channel ID. You can find the channel ID in the URL of the channel’s page…

    https://www.youtube.com/feeds/videos.xml?channel_id=CHANNEL_ID

    With the URLs in place you can edit your newsboat config file to set up a key binding for downloading videos using yt-dlp. It should be as simple as adding something like the following to the config…

    macro d set browser “yt-dlp %u”; open-in-browser ; set browser “xdg-open %u”

    This binds the d key to use yt-dlp to download videos.