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
I often use Subsonic to randomly go through my library. It used to be that the former mopidy-subsonic plugin offered a "random" playlist, would it be possible to have the same here?
Cheers;
M.
The text was updated successfully, but these errors were encountered:
There is an api route for getting random songs on subsonic's side and the corresponding utility in py-sonic also exists.
I guess in SubidyPlaylistsProvider.as_list we could call that utility and add a new playlist to the returned list of playlists.
However, I am unsure. Doesn't mopidy cache (at least for some time) the stuff we give it? We would have to refresh that playlist everytime the user clicks on it. Would that be a problem?
At first glance, I cannot find any caching in mopidy or in iris. Do you see a particular place? One possible trick, if they cache the contents of the playlists, is to always give a fresh playlist with a new reserved ID.
I often use Subsonic to randomly go through my library. It used to be that the former mopidy-subsonic plugin offered a "random" playlist, would it be possible to have the same here?
Cheers;
M.
The text was updated successfully, but these errors were encountered: