prologic 31 minutes ago

One of the things I wish I could solve better, was a way to search for and show decent search results that you could then pipe into `yt-dlp`. Every method of doing this I've seen is basically a "hack" and often breaks or doesn't work at all. Anyone have a better solution to this that lets you basically build a frontend/proxy to Youtube or lets you Search, Show results and Download what you want to see lateR?

  • ivanjermakov 24 minutes ago

    > Anyone have a better solution

    Since youtube api won't help with this someone needs to build a video index and a good search algorithm on top. Would be nice to be able to search through indexed subtitles too.

    • prologic 23 minutes ago

      I don't even want an "algorihtm" per se. Just search, show results and a download or paly. That's it.

      • ivanjermakov 21 minutes ago

        By algorithm I mean a scoring function to tell which video is relenat to the search.

      • Forgeties79 13 minutes ago

        Freetube but if you want HD you have to separate out the video and audio downloads then combine them after. A little annoying but it does have download right there in the client

  • nonethewiser 7 minutes ago

    What hacks have you found? I guess my first thought is some sort of snippet to run in the browser console, or an extension, that you can just run when using youtube itself that copies the yt-dlp command to downloads all the page's search results to your clipboard.

       copy(
         'yt-dlp ' +
         [...document.querySelectorAll('ytd-video-renderer a#video-title')]
           .map(a => {
             const u = new URL(a.href);
             return `"https://www.youtube.com/watch?v=${u.searchParams.get('v')}"`;
           })
           .join(' ')
       )
ryankrage77 34 minutes ago

Rather than using Tdarr, wouldn't it be simpler to use yt-dlp's `--recode-video` option?

  • tosti 29 minutes ago

    If the jellyfin receives content from anywhere else, a separate job for transcoding would cover those too.

superkuh 45 minutes ago

Every time you watch a youtube video you are downloading the youtube video to disk. It is just to prevent the lawyers from exploding that we all pretend that deleting it afterword means it never was downloaded.

But yes, everyone should be not deleting the videos they've downloaded.

  • ivanjermakov 22 minutes ago

    Technically watching a video only streams video chunks into memory. But of course there are tools pretending to be a youtube client to stream it to a file.

    • jolmg 8 minutes ago

      Technically "download" just means to transfer to a computer/device; doesn't need to imply persistent storage. "Delete" doesn't need to imply from non-volatile memory either; it can be volatile.