AF-1 / lms-dynamicplaylists

Dynamic Playlists - a plugin for Lyrion Music Server that lets you use smart playlists (dynamic playlists) to play continuous music mixes based on your selection criteria.
GNU General Public License v3.0
17 stars 3 forks source link

&playerid ignored in http request for dynamicplaylist #11

Closed the-other-martin closed 1 year ago

the-other-martin commented 1 year ago

Please read the FAQ (if available) and take a look at the closed issues first to avoid duplicates. Thank you.


DESCRIBE THE BUG

Since latest update &playerid ignored in http request for dynamicplaylist - instead the last active player will be addressed



TO REPRODUCE

Steps to reproduce the behavior: call http://ip:9000/plugins/DynamicPlaylists4/dynamicplaylist_mixparameters.html?type=dplusercustom_interpret_new&addOnly=0&dynamicplaylist_parameter_1=%25Queen%25&playerid=xxxxxxxxxxx

instead of playerid in the parameters, the last active player will play the playlist



EXPECTED BEHAVIOR

playlist should be played on the player with playerid



LOG EXCERPT

n/a



NAME/CODE OF DYNAMIC PLAYLIST

interpret_new.sql -- PlaylistName:Interpret... -- PlaylistGroups: Custom Dynamic Playlists -- PlaylistParameter1:list:Interpret waehlen:%Art%Noise%:Art of Noise,%Blackpink%:Blackpink,%Bon Jovi%:Bon Jovi,%BTS:BTS,%Justin Bieber%:Justin Bieber,%Lady Gaga%:Lady Gaga,%Phil Collins%:Phil Collins,%Queen%:Queen,%Rihanna%:Rihanna,%Robbie Williams%:Robbie Williams,%Selena Gomez%:Selena Gomez,%Supertramp%:Supertramp,%Udo J%rgens%:Udo Juergens select tracks.id, tracks.primary_artist from tracks join contributor_track on tracks.id=contributor_track.track join contributors on contributor_track.contributor=contributors.id and contributor_track.role in (1,5) left join dynamicplaylist_history on tracks.id=dynamicplaylist_history.id and dynamicplaylist_history.client='PlaylistPlayer' where audio=1 and dynamicplaylist_history.id is null and contributors.name like ''PlaylistParameter1'' and contributors.name not like 'Queens Of The Stone Age' and contributors.name not like 'Queensrÿche' order by random() limit 30;



VERSION INFO



SCREENSHOTS

n/a



ADDITIONAL CONTEXT

n/a



UPLOADS

n/a

the-other-martin commented 1 year ago

Sorry, I recognised mistake on my end, I've used &playerid=xxxxxxxxxxx instead of &player=xxxxxxxxxxx

So - no bug, I'll close this issue! Kind regards, Martin