- pip install -r requirements.txt
- Edit CONFIG file (or not, you can also enter arguments directly into the terminal). PLAYLIST_URL takes in a YouTube playlist URL and PHONE_PATH takes in a path to a folder in your phone.
- Enable developer mode and USB transfering on your phone.
- Connect phone to computer.
- python3 script.py
- End-to-end pipeline from YouTube playlist to downloaded playlist on your Android device.
- Automatically detects what current songs are in your phone to avoid extraneous downloads and duplicate songs.
- Tested with a 2018 MacBook Pro and a Samsung Galaxy s9+.
- This script most probably will need some small tweaks to the code to work on another device. This code definitely does not work on Windows at all lol.
- The current platform-tools is for Mac. You can download one for your OS here.
- You can find out how to enable developer mode here.
- You can figure out folder paths and stuff by entering the adb shell and ls'ing and cd'ing around.