Change your youtube playlists to spotify, as yt is starting to get worse
To make it work:
- go through "GettingAPIs.md" to enable everything
- install Go (I used Go 20)
- go build -o yt2Spotify
- ./yt2Spotify -g GoogleApiToken -c SpotifyClientID -s SpotifyClientSecret
- unfortunetely for now you have to hard code SpotifyClientSecret and SpotifyClientID in spotifyAuth/spotifyAuth.go (line 17,18), as reading from input doesn't work yet
- press numbers from 1 to 11 to add yt song to spotify playlist or just add to txt file
Info:
- on master branch you can put from yt to spotify, but won't delete song from yt
- branch mzdunek/add-deleting-youtube-songs I wanted to fix it, but needed oauth 2.0 which had issues on yt (but not on spotify) so for now is abandoned
- on branch mzdunek/just-print-songs it will print all songs from yt playlist for you do use on other thing than spotify
TODO
- fix deleting from yt playlist when appending to spotify playlist
- fix error with reading SpotifyClientID and SpotifyClientSecret from flags