@ -22,4 +22,9 @@ setuptools.setup(
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points = {
"console_scripts" : [
"spotsync = spotify_mpd_sync.msplaylist.spotify:run_sync"
]
}
)
@ -78,3 +78,8 @@ class Spotify():
print(e)
print("Could not add {0}".format(track_id))
continue
def run_sync():
spotify = Spotify()
spotify.persist_playlists()