Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileCollection does not return simple playlist with .m3u8 extension #25340

Open
6 tasks
cezary-zemis opened this issue Jun 17, 2024 · 3 comments
Open
6 tasks
Labels
Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it

Comments

@cezary-zemis
Copy link

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:

  1. using Kodi 21 create a simple music playlist containing one or more tracks
  2. save the playlist using 'a' as its name
  3. 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'

image

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.

@xbmc-gh-bot xbmc-gh-bot bot added the Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it label Jun 17, 2024
@KarellenX
Copy link
Member

KarellenX commented Jun 18, 2024

Here is the PR that implemented m3u8. Maybe something was missed and you can ask the developer?
#21992

@neo1973
Copy link
Member

neo1973 commented Jun 20, 2024

Hmm, I can't confirm. I tested with the current Flatpak and build from master, both show *.m3u8 playlists and I can interact with them just fine:
grafik

@cezary-zemis
Copy link
Author

Hmm, I can't confirm. I tested with the current Flatpak and build from master, both show *.m3u8 playlists and I can interact with them just fine:

Very strange… I've just tested using freshly installed Kodi 21 on Windows 11 and then upgraded to newest nightly build (KodiSetup-20240620-3d14ee65-master-x64). In both cases the playlist is visible in UI but not in Chorus. In both cases FileCollection call returns no entries:

    "jsonrpc": "2.0",
    "result": {
        "files": [],
        "limits": {
            "end": 0,
            "start": 0,
            "total": 0
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it
Projects
None yet
Development

No branches or pull requests

3 participants