Opened 9 years ago
Closed 4 years ago
#13209 closed Bug Report - General (Trac EOL)
PlaylistM3u is incomplete from mythweb
| Reported by: | 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 (3)
Note:
See TracTickets
for help on using tickets.

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