introduction:
This is a project in purpose to enable user to transfer music from Xiami to Spotify.
The music get from Xiami -> my music 我的音乐 -> Spotify -> playlist -> From_Xiami (we create for you)
Step:
Xiami:
Knowing your
- username
- password
Spotify:
-
username (if your username if from facebook, or have space between, this app may not work for you, change it to one word)
- Create Application (name whatever you want, I personally recommand 'Xiami_connection' for example)
- after you successfully create an application, you will see Client_id and Client_Secret, keep these two information,
Us your owns
- You will also see Redirect URIs after it, paste github.com/zhang435/Xi… and click add and save
- [ ]Now download the code.
- At the bottom at main.py, replace information with you own information.
if __name__ == '__main__':
move = Xiami_to_Spotify('XIAMI_USERNAME','XIAMI_PASSWORD','SPOTIFY_USERNAME','CLIENT_ID','CLIENT_CECRET')
move.start()
- go to terminal (if you use window,make sure you install python2 first install, while if you are mac user, lucky you , python2 come with mac)
-
in terminal(in window, it is command line?)run
pip install request
pip install spotipy
-
Finally, in terminal run
python main.py
Reference:
PROBLEM:
xiami is poplar used in Chinese market, it is not surprise that there are many some that user have is in chinese name
Spotify does not have that a few Chinese song, but there most of them can be found "manually"
I blame this problem on the developer who collect song resouces, for example it has name for both Simplifed Chinese and traditional Chinese. but if you search with only simplfied , you may not find the song even it is actully there, same for traditional chinese. AND, some chinese singer are named in english....which is impossibel to search correctly
for me 900 are enable to pass 550, still need improve :)