2015-04-26, 14:06
I had it reported that AWXi wasn't honouring the song order of m3u playlists. Rather than AWXi it appears to be Kodi or more specifically JSON-RPC. I realise that there are no "proper" ways to handle playlists via RPC but we live in hope
I made the playlist within Kodi FYI.
"Browse m3u" (works as expected):
Result (ignore the first song missing characters for now as that is another issue):
This is the correct order, for ease of reading, basically track numbers are 05, 03 and 01.
If I enqueue this playlist like so:
The songs appear in track order number.
I'm not sure if this is new behaviour and I haven't tested Isengard so apologies if it's already fixed.
Regarding the missing characters in the Kodi generated playlist, this is for a UTF8 file name/dir (Japanese in this case). Where is the best place to report that?
I made the playlist within Kodi FYI.
Code:
#EXTM3U
#EXTINF:0,05. -
/mnt/media/audio//shinsekai/05 .mp3
#EXTINF:0,03. A Fight You Can't Win - Dead Lights
/mnt/media/audio/A Fight You Can't Win/A Fight You Can't Win/03 A Fight You Can't Win - Dead Lights.flac
#EXTINF:0,01. AC/DC - Hells Bells
/mnt/media/audio/AC-DC/Back In Black/01-acdc-hells_bells.flac
Code:
{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params" : { "directory" : "special://profile/playlists/music/song test.m3u", "media" : "music", "properties": ["artist", "album", "showtitle", "episode", "season", "title"] }, "id": 1}
Code:
{"id":1,"jsonrpc":"2.0","result":{"files":[{"file":"/mnt/media/audio//shinsekai/05 .mp3","filetype":"file","label":"05. -","title":"","type":"unknown"},
{"album":"A Fight You Can't Win","artist":["A Fight You Can't Win"],"file":"/mnt/media/audio/A Fight You Can't Win/A Fight You Can't Win/03 A Fight You Can't Win - Dead Lights.flac","filetype":"file","id":16274,"label":"Dead Lights","title":"Dead Lights","type":"song"},
{"album":"Back in Black","artist":["AC/DC"],"file":"/mnt/media/audio/AC-DC/Back In Black/01-acdc-hells_bells.flac","filetype":"file","id":12892,"label":"Hells Bells","title":"Hells Bells","type":"song"}],
"limits":{"end":3,"start":0,"total":3}}}
If I enqueue this playlist like so:
Code:
{"jsonrpc": "2.0", "method": "Playlist.Add", "params": { "item": { "directory": "special://profile/playlists/music/song test.m3u" }, "playlistid": 0 }, "id": "libPlaylistAdd"}
I'm not sure if this is new behaviour and I haven't tested Isengard so apologies if it's already fixed.
Regarding the missing characters in the Kodi generated playlist, this is for a UTF8 file name/dir (Japanese in this case). Where is the best place to report that?