Skip to content

leighton075/IpodSyncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IpodSyncer

Quick tool to sync Spotify liked songs to local MP3s and generate playlists.
Mainly used in combination with a matcha and feminist literature.

Setup

Install dependencies:

pip install spotipy yt-dlp

Set up Spotify API credentials in the code (yeah I know, should be env vars).

Usage

# Generate playlist and song list from Spotify
py sync.py -p

# Check what songs are missing locally
py sync.py -m

# Download missing songs
py sync.py -d

# Process everything (default)
py sync.py

TODO

M3U Playlist Improvements

  • Add track duration to #EXTINF entries (currently just using -1)
  • Include artist/title parsing for better #EXTINF format
  • Add #PLAYLIST: header with playlist name
  • Maybe add album info with #EXTALB: and #EXTART:
  • Consider file size info with #EXTBYT:

General

  • Better error handling for network issues
  • Progress bars for downloads
  • Config file for output directories
  • Metadata tagging for downloaded MP3s
  • Add more information to .m3u

Files

  • mp3/ - Downloaded songs go here
  • Spotify_Liked_Songs.m3u - Playlist file (in mp3 folder)
  • Spotify_Liked_Songs_List.txt - Song list for comparison
  • Missing_Songs.txt - Songs that the script might have missed that still need to be downloaded

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors