You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using the core.tracklist.add method from a Home Assistant automation to add all songs from a local m3u playlist. Passing the URI of the playlist results in no tracks being added on the backend.
Looking through the code it appears that the add method relies on the LibraryProvider of the backends to get a track list from a URI. The m3u extension is missing a LibraryProvider. I have implemented one and am opening this issue, as per the guidelines, prior to making my pull request.
How to reproduce
Have a m3u playlist loaded into Mopidy
Call core.tracklist.add with the playlist uri
Observe that the tracklist is unmodified
Expected behaviour
All tracks in the m3u playlist should get added to the tracklist. The Spotify backend behaves in this manner.
Environment
Please complete the following information:
Describe the bug
I am using the
core.tracklist.add
method from a Home Assistant automation to add all songs from a local m3u playlist. Passing the URI of the playlist results in no tracks being added on the backend.Looking through the code it appears that the
add
method relies on theLibraryProvider
of the backends to get a track list from a URI. The m3u extension is missing aLibraryProvider
. I have implemented one and am opening this issue, as per the guidelines, prior to making my pull request.How to reproduce
core.tracklist.add
with the playlist uriExpected behaviour
All tracks in the m3u playlist should get added to the tracklist. The Spotify backend behaves in this manner.
Environment
Please complete the following information:
sudo mopidyctl config
)b9e7a8feffb5ff
Additional context
N/A
The text was updated successfully, but these errors were encountered: