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

Podcasts Don't Display in 'status' Correctly #158

Open
alexander-the-alright opened this issue Apr 22, 2022 · 4 comments
Open

Podcasts Don't Display in 'status' Correctly #158

alexander-the-alright opened this issue Apr 22, 2022 · 4 comments

Comments

@alexander-the-alright
Copy link

Podcast names display as an album instead of an artist.

Screen Shot 2022-04-21 at 23 25 01

@hnarayanan
Copy link
Owner

Thank you for reporting this. I don’t use Spotify for podcasts and so didn’t notice.

Could you help us debug this by seeing if there is something different about podcasts in the response from the Spotify API? We could use this something to deal with podcasts differently in the script.

(It’s ok if you don’t know how to assist with this, I am mostly just thinking out loud and sketching out a solution for anyone willing and able to help.)

@davidem
Copy link

davidem commented Apr 27, 2022

status makes several applescript calls, trying to get artist, album, track and position information. A podcast episode simply has no album, only artist and episode information.

For some reason applescript returns the wrong information when it comes to podcast episodes. It can be fixed in two ways:

  • Quick and dirty: simply check the URI first: if track > continue as normal, elif episode > different status output.
  • Futureproof: rewrite the status part using web API calls instead of applescript. For a few years people have declared applescript 'dead', but fortunately for us it is still around. 😎

@hnarayanan : which way do you prefer? As I agree this has to be fixed, as podcasts are here to stay (if it is up to Spotify that is...)

@hnarayanan
Copy link
Owner

I prefer the quick and dirty approach. As otherwise we’re introducing a whole new level of complexity

@davidem
Copy link

davidem commented Apr 28, 2022

I'll see what i can do this weekend 😎

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

3 participants