Get New Songs for iPhone
1 min readDec 25, 2014
--
Here is 3 step process to get recently released songs to your iPhone.
Step 1: Get youtube-dl
Install pip
To install pip, securely download get-pip.py.
Then run the following (which may require administrator access):
$ sudo python get-pip.py
Install youtube-dl
$ sudo pip install youtube-dl
Step 2: Find the youtube link for your song
Copy the link address.
Step 3: Finally Download it.
Where
$ cd ~/Music/iTunes/iTunes Media/Automatically Add to iTunes.localized
How
$ youtube-dl -f 141 https://www.youtube.com/watch?v=9bZkp7q19f0
Sync
Finally, sync your mac’s entire music library with your iPhone.
Bonus
Put these aliases in your /etc/bashrc file and use the command instead.
alias getsong='youtube-dl -f 141 '
alias get360p='youtube-dl -f 18 '
And yes, you can also download and sync video files as well. Use get360p for that.