WXYC / wxyc-ios-64

A new WXYC iOS app
MIT License
7 stars 3 forks source link

Explore Using Spotify API for Album Art #13

Closed dvdokkum closed 5 years ago

dvdokkum commented 7 years ago

We currently attempt to get album art from LastFM, then fallback on iTunes. iTunes tends to have better coverage, but they only offer low res (100x100) images. Spotify has public APIs for this, I just haven't explored using them here.

jakebromberg commented 7 years ago

I looked into this. This would require the user logging into a Spotify account.

dvdokkum commented 7 years ago

Yeah.... I thought it was public (no login required) but it does appear to require authentication now. I think if we did this we'd want to make it a larger Spotify integration. A user could auth into their Spotify account in order to get high-res album and to save a track from the playlist directly to their Spotify library.

dvdokkum commented 7 years ago

They have an iOS sdk in beta if we ever want to do this: https://developer.spotify.com/technologies/spotify-ios-sdk/

jakebromberg commented 7 years ago

We can get larger images from the last.fm API than what they give us. We just have to munge the URLs.

On Fri, Nov 17, 2017 at 2:46 PM, dvd notifications@github.com wrote:

They have an iOS sdk in beta if we ever want to do this: https://developer.spotify.com/technologies/spotify-ios-sdk/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WXYC/wxyc-ios-64/issues/13#issuecomment-345386458, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbNVsAKG-Ht3JiLL6qGlQBjNDzNmlAKks5s3gzPgaJpZM4Qhgle .

jakebromberg commented 7 years ago

I'll look into the Spotify SDK.

On Fri, Nov 17, 2017 at 4:11 PM, Jake Bromberg jake.bromberg@gmail.com wrote:

We can get larger images from the last.fm API than what they give us. We just have to munge the URLs.

On Fri, Nov 17, 2017 at 2:46 PM, dvd notifications@github.com wrote:

They have an iOS sdk in beta if we ever want to do this: https://developer.spotify.com/technologies/spotify-ios-sdk/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WXYC/wxyc-ios-64/issues/13#issuecomment-345386458, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbNVsAKG-Ht3JiLL6qGlQBjNDzNmlAKks5s3gzPgaJpZM4Qhgle .

jakebromberg commented 7 years ago

Looks like the SDK still requires a user to log in first. https://developer.spotify.com/technologies/spotify-ios-sdk/tutorial/ We might want to think about tapping into Spotify and Apple Music for favoriting

On Fri, Nov 17, 2017 at 4:12 PM, Jake Bromberg jake.bromberg@gmail.com wrote:

I'll look into the Spotify SDK.

On Fri, Nov 17, 2017 at 4:11 PM, Jake Bromberg jake.bromberg@gmail.com wrote:

We can get larger images from the last.fm API than what they give us. We just have to munge the URLs.

On Fri, Nov 17, 2017 at 2:46 PM, dvd notifications@github.com wrote:

They have an iOS sdk in beta if we ever want to do this: https://developer.spotify.com/technologies/spotify-ios-sdk/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WXYC/wxyc-ios-64/issues/13#issuecomment-345386458, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbNVsAKG-Ht3JiLL6qGlQBjNDzNmlAKks5s3gzPgaJpZM4Qhgle .

dvdokkum commented 5 years ago

latest (2.2) shipped with a different album art engine that is good.