Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does anyone have working cover-art version? #51

Open
seandex opened this issue Apr 29, 2019 · 31 comments
Open

Does anyone have working cover-art version? #51

seandex opened this issue Apr 29, 2019 · 31 comments

Comments

@seandex
Copy link

seandex commented Apr 29, 2019

if so could you share your .py files?

@seandex
Copy link
Author

seandex commented Apr 29, 2019

from my research, Spotify checks login or any credential for web art, and current script doesn't do the credential part.

@gbvsilva
Copy link

gbvsilva commented May 7, 2019 via email

@XP-Fan
Copy link

XP-Fan commented May 11, 2019

Hey, I'm extremely sorry for disturbing here, but has anyone the spotify ripper working till as of now? Cause I am absolutely new to this (tryed yesterday) and it won't let me create an API-Key. So if it somehow still works to grab the audio files from spotify (I don't care about covers etc. since I'm blind), could someone for whom it works please help me?

@hedwiggggg
Copy link

I've made a spotfiy-ripper-web version basing on the spotify-ripper project here. And i've implemented a workaround for the cover art. You can check it out if you want.

https:/hedwiggggg/spotify-ripper-web

@XP-Fan
Copy link

XP-Fan commented May 17, 2019 via email

@hedwiggggg
Copy link

Just google for "spotify_appkey.key" and take the first github link you find. Download it and you are ready to go.

@hedwiggggg
Copy link

https:/search?l=&q=filename%3Aspotify_appkey.key&type=Code

@XP-Fan
Copy link

XP-Fan commented May 17, 2019 via email

@hedwiggggg
Copy link

You can also use the appkey for this project. you don't have to use it for my web-port.

I don't really have expirience in docker for windows.

@XP-Fan
Copy link

XP-Fan commented May 17, 2019 via email

@hedwiggggg
Copy link

Okay, just leave your email or something; Than i'll contact you;

@XP-Fan
Copy link

XP-Fan commented May 17, 2019 via email

@DevMiKeCL
Copy link

I've made a spotfiy-ripper-web version basing on the spotify-ripper project here. And i've implemented a workaround for the cover art. You can check it out if you want.

https:/hedwiggggg/spotify-ripper-web

nice, but it's works for albums only
thanks you!

@ttmx
Copy link

ttmx commented Jun 9, 2019

@XP-Fan https:/richardk80/spotify-ripper/raw/master/spotify_appkey.key Here you go.

Thats down my man.

@DevMiKeCL
Copy link

@XP-Fan https:/richardk80/spotify-ripper/raw/master/spotify_appkey.key Here you go.

Thats down my man.

try https:/search?l=&q=filename%3Aspotify_appkey.key&type=Code

@pauloup
Copy link

pauloup commented Jun 15, 2019

I fixed this issue and pulled a request. The only file to be changed is tags.py and you can get it here #53

@seandex
Copy link
Author

seandex commented Jun 29, 2019

I fixed this issue and pulled a request. The only file to be changed is tags.py and you can get it here #53

Attempting to retrieve track from Spotify's Web API
https://api.spotify.com/v1/tracks/3CaZuQC9Y4pKaF0X9c2T3D
URL returned non-200 HTTP code: 401

Am I missing something or is there a such one time authorization step after the installation that I didn't do it?

@pauloup
Copy link

pauloup commented Jun 29, 2019

@seandex Sorry, I just use my Spotify Premium credentials to login and the api key I generated years ago. Have you done that?

@seandex
Copy link
Author

seandex commented Jun 29, 2019

@seandex Sorry, I just use my Spotify Premium credentials to login and the api key I generated years ago. Have you done that?

Yes, I could do everything except for the album art that means I guess I had api.
I also use ID/PW. and created that 1 API was required from the installation page.
2nd attempt was re-install clone but no helps. still no arts.

long time ago i remember the oauth.html something that is missing in this github.

@pauloup
Copy link

pauloup commented Jun 29, 2019

@seandex Sorry, I just use my Spotify Premium credentials to login and the api key I generated years ago. Have you done that?

Yes, I could do everything except for the album art that means I guess I had api.
I also use ID/PW. and created that 1 API was required from the installation page.
2nd attempt was re-install clone but no helps. still no arts.

long time ago i remember the oauth.html something that is missing in this github.

I see you have tried many things. Sorry, it's getting hard for me to think of what's left to do. Have you tried the changes I included in the tags.py file? What's the error message, if any?

@seandex
Copy link
Author

seandex commented Jul 1, 2019

So far, I tried to overwrite tags.py to the build and re-installed it. maybe it's my settings and cache.
let me create a vps and try it again, if that fails, by any chance would you be able to rsync your directories except for your credential and api? I guess rsync method should work.

@ghost
Copy link

ghost commented Jul 1, 2019

@ttmx The file I linked to on here is in a private repo, and I'm not planning on making it public. Made a separate repo with just the spotify_appkey.key file: https:/richardk80/spotify-appkey/raw/master/spotify_appkey.key

@ghost
Copy link

ghost commented Jul 1, 2019

@pauloup I made the changes to my tags.py file, and I'm able to get album art again. Thank you! Now if we can figure out how to download playlists like before without using text files that would be great.

@pauloup
Copy link

pauloup commented Jul 1, 2019

So far, I tried to overwrite tags.py to the build and re-installed it. maybe it's my settings and cache.
let me create a vps and try it again, if that fails, by any chance would you be able to rsync your directories except for your credential and api? I guess rsync method should work.

I really think you don't need to reinstall spotify-ripper to apply these changes. I just changed the tags.py file located in:
/usr/local/lib/python2.7/dist-packages/spotify_ripper-2.9.1-py2.7.egg/spotify_ripper/tags.py

If you don't mind, I would prefer if you could share a google drive link with a copy of the folder /usr/local/lib/python2.7/dist-packages/spotify_ripper-2.9.1-py2.7.egg/, instead of messing with rsync. So I could compare your version to mine.

@pauloup
Copy link

pauloup commented Jul 1, 2019

@pauloup I made the changes to my tags.py file, and I'm able to get album art again. Thank you! Now if we can figure out how to download playlists like before without using text files that would be great.

Yeah, that's my next goal.

@seandex
Copy link
Author

seandex commented Feb 29, 2020

@pauloup I have not had chances to try it due to in real-life business, and today, I tried it in brand new ubuntu but it is the same no album pictures.
what is your config.ini?

@pauloup
Copy link

pauloup commented Mar 1, 2020

what is your config.ini?

@seandex The relevant parameter in it is
cover-file-and-embed = "cover.jpg"

@seandex
Copy link
Author

seandex commented Mar 1, 2020

what is your config.ini?

@seandex The relevant parameter in it is
cover-file-and-embed = "cover.jpg"

it works actually. Thanks!

@seandex
Copy link
Author

seandex commented Mar 28, 2020

@pauloup hey Paul. the cover art downloads the biggest size of cover art which is 640x640 and it won't display on native portable music players with builtin LCD.
is there a way to make it 600x600?

it should be something like
get(meta['albumPic'] + '?param=600y600')
or
replace('-large', '-t600x600') but if I edit the code with the current replace(':', '/') i get errors at the end. it's hard for me to fix
I hope you could look into it please. it is a little bit bigger than before which is over the limit of 600x600 that compatible with most of the native players.

@pauloup
Copy link

pauloup commented Apr 1, 2020

@seandex Spotify changed the available sizes for cover art. Now there are only three options:

  • 0: 300px
  • 1: 64px
  • 2: 640px

To select one of these, change the number in the line 85 of tags.py.
Example: Use image_link = str(track.album.cover(0).link) to get a 300px cover art.

Also note that I just updated this file tags.py in #53 to reflect a recent change in Spotify. The cover art URL now starts with "i.scdn.co", and no more "open.spotify.com.

Let me know if you need more help.

@seandex
Copy link
Author

seandex commented Apr 9, 2020

@seandex Spotify changed the available sizes for cover art. Now there are only three options:

  • 0: 300px
  • 1: 64px
  • 2: 640px

To select one of these, change the number in the line 85 of tags.py.
Example: Use image_link = str(track.album.cover(0).link) to get a 300px cover art.

Also note that I just updated this file tags.py in #53 to reflect a recent change in Spotify. The cover art URL now starts with "i.scdn.co", and no more "open.spotify.com.

Let me know if you need more help.

Can I buy you a cup of coffee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants