See title.That was the goal.
Solution? Youtube-dl. But, there was some fiddling to do. I used pip.
sudo apt-get install pip python-pip
sudo pip install -U pip setuptools ##just in case
sudo pip install --upgrade youtube-dl
sudo apt-get install avconv
sudo apt-get install libavcodec-extra-56 #or libavcodec-extra- - tab for it
sudo apt-get install libav-tools
Then you can use youtube-dl:
sudo youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=wyguBEc2dw4
As I mostly only stream music over the Pi, the new 128 GB USB key is ample space. It is mounted automatically at boot to /mnt/usb, so I change to that directory and download mp3 files directly to the proper folder and change the tags in Plex.
Solution? Youtube-dl. But, there was some fiddling to do. I used pip.
sudo apt-get install pip python-pip
sudo pip install -U pip setuptools ##just in case
sudo pip install --upgrade youtube-dl
sudo apt-get install avconv
sudo apt-get install libavcodec-extra-56 #or libavcodec-extra-
sudo apt-get install libav-tools
Then you can use youtube-dl:
sudo youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=wyguBEc2dw4
As I mostly only stream music over the Pi, the new 128 GB USB key is ample space. It is mounted automatically at boot to /mnt/usb, so I change to that directory and download mp3 files directly to the proper folder and change the tags in Plex.
No comments:
Post a Comment