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

Spotcast v5 playlist styles #485

Closed
mikevanes opened this issue Nov 27, 2024 · 10 comments
Closed

Spotcast v5 playlist styles #485

mikevanes opened this issue Nov 27, 2024 · 10 comments
Assignees
Labels
beta Related to the beta program enhancement New feature or request

Comments

@mikevanes
Copy link

mikevanes commented Nov 27, 2024

Summary

First of all, nice work on the new version. Looks good and the code is way more readable!

I am working on a completely new spotify-card called: spotcast-spotify-card which aims to work with the v5 version of spotcast.

However I have noticed a few limitations already. The new playlist websocket endpoint uses categories, where as before we used playlist names. I can't get my recently-played list now for example. Which is a shame, as these are very useful and most likely contains the playlists the user wants to see or listen to.

Right now we are limited to categories or the playlists of the user.

It would be nice if we could define a set of playlist I would like to include in the list as well or search for a playlist.

Second points as we discussed is the chromecast devices seemingly not appearing. I found out that this was an issue with me using the devcontainer for development and it doesn't see any devices on my network - My bad.

Use Case

Have useful playlist showing.

Benefits

No response

Potential Solutions

No response

Additional Details

No response

@mikevanes mikevanes added enhancement New feature or request pending-triage The issue is awaiting a review from a maintainer labels Nov 27, 2024
@fcusson
Copy link
Collaborator

fcusson commented Nov 27, 2024

@mikevanes

I can't get my recently-played list now for example

I can probably add another special case (just like I did for user) Do you know of the specific endpoint in the API to get the recently-played ones. I'll add it in the account class

@mikevanes
Copy link
Author

Sadly I dont. Tried looking into the old code but that is almost unreadable for me with limited Python knowledge

@fcusson
Copy link
Collaborator

fcusson commented Nov 27, 2024

ok, no problem, if it was a feature of the old code, I can parse through it. I never used this specific feature, so I never realised it was there

@fcusson fcusson added beta Related to the beta program and removed pending-triage The issue is awaiting a review from a maintainer labels Nov 27, 2024
@fcusson
Copy link
Collaborator

fcusson commented Nov 27, 2024

@mikevanes could you confirm the playlist-type you were using was recently-played?

@mikevanes
Copy link
Author

mikevanes commented Nov 27, 2024

I was using that one indeed, but the complete supported list was:

Method: spotcast/playlist supporting different playlist_types.

    user, or default for user chosen saved playlists
    featured for spotify "featured" playlists (not personalized)
    discover-weekly for personalized "Made for _____" (includes daily mixes)
    recently-played for "Recently Played"

I think it would be nice to support all of these.

@fcusson
Copy link
Collaborator

fcusson commented Nov 27, 2024

ok, so featured, that's an additional API endpoint, I'll be able to check that. The recently-played will require to make the Spotify API think the web player is requesting a view. That's what the old code was doing and I tried to remove it to realign with the public API processes. I can add it as an additional function

@mfabiani53
Copy link

I am working on a completely new spotify-card called: spotcast-spotify-card which aims to work with the v5 version of spotcast.

Where to find this card?

@fcusson
Copy link
Collaborator

fcusson commented Dec 11, 2024

submitted PR to @mikevanes fork to help finalize #489. When PR approved and documentation written for new websocket endpoints and service, will be able to merge into the dev branch

@mikevanes
Copy link
Author

@mfabiani53 This card is still in development should be ready somewhere next month I hope. Until than if you want to use the spotify-card do not upgrade spotcast.

@fcusson
Copy link
Collaborator

fcusson commented Dec 17, 2024

closing since we merged your PR. If you have any additional changes that you would like, lets add it to the V5 project.

@fcusson fcusson closed this as completed Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Related to the beta program enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants