Opened 23 months ago

Last modified 4 weeks 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

Description

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 4 weeks 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.

bye

comment:2 Changed 4 weeks ago by nicolas-mrq

sorry replace whith

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

thanks you

Note: See TracTickets for help on using tickets.