Opened 4 years ago

Last modified 2 years ago

#13209 new Bug Report - General

PlaylistM3u is incomplete from mythweb

Reported by: mourocq@… Owned by: Stuart Auchterlonie
Priority: minor Milestone: needs_triage
Component: Plugin - MythWeb Version: v29.0
Severity: medium Keywords: music playlist
Cc: Ticket locked: no


Only the first song is present in the playlist.m3u.

cat playlist.m3u

EXTM3U #EXTINF:113,Manu Chao - La Primavera http://xxxx/mythweb/music/stream?i=4518 #EXTINF:0, - http://xxxx/mythweb/music/stream?i= #EXTINF:0, - .../...

Change History (2)

comment:1 Changed 2 years ago by nicolas-mrq

The tablespace is always with one ligne because of the sql query :

WHERE ms.song_id IN is ('x,y,z') instead of (x,y,z) or ('x','y','z')

to fix this bug replace line 1598 in file "mp3act_functions.php"

'WHERE ms.song_id IN ('.$db->escape($plplaylist_songs?).')'; in

'WHERE ms.song_id IN ('.$plplaylist_songs?.');';

You should report this fix in branch fixes/30 too.


comment:2 Changed 2 years ago by nicolas-mrq

sorry replace whith

WHERE ms.song_id IN ('.$plplaylist_songs?.');';

thanks you

Note: See TracTickets for help on using tickets.