Open frakman1 opened 4 years ago
It should be doable. I bashed into the container and used the command:
docker exec -it media-roller /bin/bash
youtube-dl -x --audio-format mp3 -o "/download/%(title)s.%(ext)s" URL
You can also:
docker exec -it media-roller youtube-dl -x --audio-format mp3 -o "/download/%(title)s.%(ext)s" URL
Add an option button or a check box on the WebUI to add -x --audio-format mp3
to the command string passed to youtube-dl.
I switched to this project instead. It has this exact feature.
It also features multi-user support, subscriptions, multiple format selections. Also available on Unraid
Yes, youtubedl-material is more appropriate for your use case. This project (media-roller) is pretty much geared to be an API I can call from my iPhone to 1 tap download any video so I didn't put any effort into the UI. The UI was mainly around testing.
That's really cool. How are you using it with you iPhone? I'd like to use something like that. Mine is jailbroken.
@frakman1 I've documented it in the readme... https://github.com/rroller/media-roller/blob/master/README.md
Basically I run this service on my home network (and use a VPN to access it when I'm away)... I then used this shortcut to download videos for URLs that I have on my clipboard... https://www.icloud.com/shortcuts/2b9765fb5bf24509a4e83bc76c5c7409
So for example, I'll copy a YouTube URL and click the shortcut and it download the video to my camera roll.
That's so cool! I love that you used Shortcuts and Youtube and bent them to your will.haha Well done!
Adding the
-x --audio-format mp3
option to youtube-dl downloads the MP3 file. Is there anyway you can integrate that feature please?