PotcFdk / youtube-sync

Script for maintaining an up-to-date offline mirror of a YouTube channel.
Apache License 2.0
44 stars 13 forks source link

choose to download only audio with youtube-dl settings #8

Closed Jarshvor closed 6 years ago

Jarshvor commented 6 years ago

is this possible as of now?

Jarshvor commented 6 years ago

OK, so I just made a copy of the script and modified it. Just removing 'bestvideo' from the 'youtube-dl -i -f bestvideo+bestaudio...' part does quick and dirty fix for me.

Maybe adding an option somewhere to select video quality or only audio would be something useful for some? Thanks, and closing.

myrdd commented 6 years ago

@Jarshvor with PR #9, you will be able to do echo -n 'bestaudio' > META/format and youtube-sync will only store the audio.

btw, maybe you also want to change the --merge-output-format option to something audio-specific.

Jarshvor commented 6 years ago

Thanks @myrdd! Will give this a go when I have a moment.