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

Specialized 'XAMusic' Objects not Returned by Filters #10

Closed
MizterB opened this issue Mar 8, 2023 · 1 comment
Closed

Specialized 'XAMusic' Objects not Returned by Filters #10

MizterB opened this issue Mar 8, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@MizterB
Copy link

MizterB commented Mar 8, 2023

Similar to what was addressed in #8 , I am seeing more instances of XAMedia base objects being returned in the Music app, rather than their specialized XAMusic variants.

See example below. If I try to filter a XAMusicUserPlaylistList, the resulting objects are of the XAMediaUserPlaylist base class.

Example:

PyXA.Music().user_playlists()
<<class 'PyXA.apps.Music.XAMusicUserPlaylistList'>length: 1171>

PyXA.Music().user_playlists().first
<PyXA.apps.Music.XAMusicUserPlaylist object at 0x106c9e260>

PyXA.Music().user_playlists().by_name("MY PLAYLIST")
<PyXA.apps.MediaApplicationBase.XAMediaUserPlaylist object at 0x106c2ff70>

PyXA.Music().user_playlists().by_property("name", "MY PLAYLIST")
<PyXA.apps.MediaApplicationBase.XAMediaUserPlaylist object at 0x106c9fca0>
@SKaplanOfficial SKaplanOfficial added the bug Something isn't working label Mar 8, 2023
@SKaplanOfficial
Copy link
Owner

Thanks for reporting, fixed in the upcoming release -- at least for Music. I'll need to see if this is a problem in other applications as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants