xbmc
xbmc copied to clipboard
FileCollection does not return simple playlist with .m3u8 extension
Bug report
Describe the bug
Here is a clear and concise description of what the problem is:
Kodi 21 by default creates simple music playlist as UTF-8 files with .m3u8 extension. Such a playlist is visible in UI, but is not listed by external tools, such as Chorus 2 or Yast. Probable reason in that API function FileCollection does not return such a playlist. If the file's extension is changed to .m3u, it is properly listed.
Expected Behavior
Here is a clear and concise description of what was expected to happen:
Playlist with either .m3u or .m3u8 extension are returned by FileCollection.
Actual Behavior
Only playlist with .m3u extensions are returned.
Possible Fix
To Reproduce
Steps to reproduce the behavior:
- using Kodi 21 create a simple music playlist containing one or more tracks
- save the playlist using 'a' as its name
- open Chorus 2 web interface and navigate to Browser → Music → Playlists
Debuglog
The debuglog can be found here: No relevant information in kodi log.
Screenshots
Here are some links or screenshots to help explain the problem:
osmc@kodi-02:~$ ls -l ~/.kodi/userdata/playlists/music
total 36
-rw-r--r-- 1 osmc osmc 211 Jun 8 12:53 a.m3u8
-rw-r--r-- 1 osmc osmc 12508 Jun 7 22:31 'i&p-2024-01.m3u'
-rw-r--r-- 1 osmc osmc 12870 Jun 7 22:31 'i&p-2024-02.m3u'
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
osmc@kodi-02:~$ dpkg --list '*mediacenter*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================================-============-============-============================================
ii mediacenter-addon-osmc 3.0.781 all OSMC addon for mediacenter
ii mediacenter-eventclients-common-osmc 1.0.5 all Eventclient common resources for mediacenter
ii mediacenter-send-osmc 1.0.0-7 all Eventclient send for mediacenter
ii mediacenter-skin-osmc 21.0.0-1 all OSMC skin for mediacenter
ii rbp2-mediacenter-osmc 21.0.9-2 armhf Media Center package for OSMC
Your Environment
Used Operating system:
-
[ ] Android
-
[ ] iOS
-
[ ] tvOS
-
[*] Linux
-
[ ] macOS
-
[ ] Windows
-
[ ] Windows UWP
-
Operating system version/name:
-
Kodi version: 21
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.