Skip to content

Sync artists of your MPD database with your MuSpy account.

License

Notifications You must be signed in to change notification settings

aruhier/mpd-muspy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPD Music Spy

Tool to synchronize artists of a MPD database with Muspy.

Details

An advantage of music players in the cloud like Spotify is that you can easily know when an artist you are following releases a new album. If you do not use this sort of music players, you can easily follow the releases with Muspy.

Problem: you do not want to add manually all the artists of your library.

MPD Music Spy is here to solve that for MPD, and add in your MuSpy account all the artists listed in your MPD database.

Installation

Run:

pip3 install mpd-muspy

Configuration

Copy the default configuration file config.py.default as ~/.config/mpd-muspy/config.py or /etc/mpd-muspy/config.py for a system-wide config.

Usage

Just run: mpd-muspy.

The synchronisation could be long the first time, as it uses MusicBrainz to get the artists id. A double check is done when querying the id, by using the albums in the MPD database, to be almost sure to match the good artist, but it makes the synchronisation a bit longer.

For the next synchronisations, it uses the artists.json file to know which artists were added on MuSpy and which were not.

Before every synchronisations, it also fetch all artists of the MuSpy account to update the uploaded state locally. This pre-synchronisation permits to get the missing MusicBrainz ids from the artists already added on MuSpy, which is a lot quicker than querying it directly to MusicBrainz.

For the moment, MPD Music Spy only add new artists, it does not remove on MuSpy the ones deleted in MPD.

Ignore artists

If you do not want to synchronize a or multiple specific artist(s) with MuSpy, you can add the names to the list IGNORE_LIST in the configuration file. It also works with full synchronization: ignored artists will not be removed of MuSpy.

Put the exact same name as it is saved in mpd (but it is not case sensitive) or the ignore rule could not work as expected.

License

Tool under the BSD license. Do not hesitate to report bugs, ask me some questions or do some pull request if you want to!

About

Sync artists of your MPD database with your MuSpy account.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages