News for hackers. Stuff that matters.
Re:Tunarr: Create and configure live TV channels from media ... by haunter on Saturday April 12, 2025 @02:33PM (#43666855)
I'm backing up my Youtube favorites locally since 2018, so far 10k videos. I might try to use this because seems like would be a fun way to play them in the background on a second monitor.
Re:Tunarr: Create and configure live TV channels from media ... by VTimofeenko on Saturday April 12, 2025 @03:06PM (#43667091)
I've been thinking about doing this. What's your setup?
Re:Tunarr: Create and configure live TV channels from media ... by madphilosopher on Saturday April 12, 2025 @04:14PM (#43667589)
Not the OP, but I have a Postfix mail server running on my home media box that receives YouTube URLs sent to its special email address. Postfix passes the message to a Python script that parses out the URL and places it into a Redis queue. A second Python program, running as a daemon, watches the queue and then downloads the video using yt-dlp. I can also enqueue video URLs from the command line.

This is the command that the daemon runs to request 720p, for example:

    command = 'yt-dlp --write-info-json -f "bv*[height<=720]+ba" --output "out.%%(ext)s" --merge-output-format mp4 "%s"' % url
Re:Tunarr: Create and configure live TV channels from media ... by yard2010 on Saturday April 12, 2025 @04:23PM (#43667649)
You live in the future
Re:Tunarr: Create and configure live TV channels from media ... by darkwater on Saturday April 12, 2025 @06:20PM (#43668365)
Sounds like how RMS browses the web. Nice setup, by the way.
Re:Tunarr: Create and configure live TV channels from media ... by haunter on Saturday April 12, 2025 @04:21PM (#43667635)
yt-dlp

I just parse the URLs from the liked playlist every couple of days with a Chrome extension then simply run the app.

yt-dlp would work automatically too with logins but I'm always too nervous that Google would just straight up ban my account for whatever reasons. So I rather do it in a more manual way.

Re:Tunarr: Create and configure live TV channels from media ... by add-sub-mul-div on Saturday April 12, 2025 @04:38PM (#43667760)
I run a flask app with an endpoint that takes a video URL and runs yt-dlp. I have a bookmarklet that submits the URL of the current video page I'm on to the web service.

Also when I'm in NewPipe on the phone I can go to a video and share the URL to an app that forwards it to the web service.

Re:Tunarr: Create and configure live TV channels from media ... by emacsen on Sunday April 13, 2025 @12:32AM (#43670114)
I've been thinking about this myself. I have a few questions for you.

The first is how you organize them. With 10k videos, do you organize the files in some way?

Secondly, aside from this project, have you found a nice way to browse/watch these videos?

Thirdly, any chance you could throw your scripts up somewhere?

Re:Tunarr: Create and configure live TV channels from media ... by monkeywork on Sunday April 13, 2025 @01:47AM (#43670401)
Check out pinchflat. Think of it like sonarr for yt channels. I use it to grab content for my kid that he consumers via Plex so I can limit what he sees and remove the algo.

Pinchflat does all the renaming, metadata, and file structure as I configure.

Re:Tunarr: Create and configure live TV channels from media ... by emacsen on Sunday April 13, 2025 @01:12PM (#43674262)
Thank you so much!!!

I wish it supported other sites that yt-dlp supports, particularly Nebula but this is already a great start, and hopefully they'll add other sites eventually. It seems this has been discussed before.

Re:Tunarr: Create and configure live TV channels from media ... by bazmattaz on Sunday April 13, 2025 @07:03AM (#43671870)
You can add the content to Plex and browse your YT downloads there
Re:Tunarr: Create and configure live TV channels from media ... by jasonjayr on Sunday April 13, 2025 @12:45PM (#43674067)
How do you guard against getting your downloader connected to your google account (by IP address or some other association), and getting your google account perm-banned?