Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.08k stars 87 forks source link

Best way #199

Closed dimyself closed 1 month ago

dimyself commented 1 month ago

I did search but didnt see any questions or info about setting this up.

This is how i'm running ytarchive:

~/go/ytarchive --threads 3 --monitor-channel -o %(upload_date)s_%(title)s <youtube_url> audio_only

Currently, I'm manually starting this command on system boot.

I'm not sure how to best set this up as a unit file for systemd?

Thank you!

Kethsar commented 1 month ago

Dunno, I just open it in a tmux pane after reboots, though technically using https://github.com/tmux-plugins/tmux-resurrect/ for doing it all at once. I also don't use systemdicks so I can't help regardless. Not sure how good of an idea it would be to daemonize this kind of thing though.