Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (25 sloc) 920 Bytes
layout title
default
Saving YouTube Playlists to Android

I use the following method to update the songs on my Android phone:

  • Change to the correct directory
cd ~/Music/YouTube
  • Use youtube-dl to download my songs playlist. This answer on askubuntu was very helpful
youtube-dl --download-archive downloaded.txt \
    --no-post-overwrites \
    --max-downloads 10 \
    -ciwx \
    --audio-format mp3 \
    -o "%(title)s.%(ext)s" \
    <playlist-url>
  • Start SSHelper on my Android

  • Use rsync to push the songs (your Android's IP will probably be different, just check the output from SSHelper)

rsync -rvh --progress --stats  -e 'ssh -p 2222' . 192.168.1.66:/sdcard/Music/