Get subsong number (music files with cue sheet)
#1
Hello everyone.
Maybe I've opened this in wrong subforum, feel free to move it to the right place.

I am trying to check whether list item is subsong, and if it is, to get its number. I can get file path and name using xbmc.getInfoLabel('ListItem.FileNameAndPath') but is there a way to check if item is subsong?

Any help would be appreciated.
Reply
#2
No idea what you mean by "subsong"
Reply
#3
Hello.
For example I have CD album with 10 songs that was ripped to one file with cue sheet instead of 10 files.
And in cue sheet I have something like this:
Code:
PERFORMER "Fourplay"
TITLE "4"
FILE "Fourplay - 4.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Still The One"
    ISRC USWB19800197
    INDEX 00 00:00:00
    INDEX 01 00:00:32
  TRACK 02 AUDIO
    TITLE "Little Foxes"
    ISRC USWB19800198
    INDEX 00 05:42:50
    INDEX 01 05:42:52
....

Kodi obviously nicely recognizes that.
Image

So subsong would be any of these 10 songs in cue sheet.
Reply



Logout Mark Read Team Forum Stats Members Help
Get subsong number (music files with cue sheet)0
This forum uses Lukasz Tkacz MyBB addons.