How to handle cuesheets?

Need help with MPD?
Post Reply
conta
Posts: 104
Joined: October 31st, 2013, 4:59 pm

How to handle cuesheets?

Post by conta »

Hi there,
i am very thankful that MPD has introduced now the usage of cuesheets. I waited a long time for this, because i have some usecases, in which i want to use this by all means.

Unfortunately i have some troubles to bring this feature to work in a correct mode. For my problem i opened this issue on bug tracker:
https://github.com/MusicPlayerDaemon/MPD/issues/992

Max told me there, the cuesheet-functionality works without bugs. But here at my place it does unfortunately not.
To have control of the usage of cuesheets, i added this lines to my mpd.conf:

Code: Select all

playlist_plugin {
    name "cue"
    enabled "yes"
    as_directory "yes"
}
My test-object is a flac-file without any tags and an according cuesheet (shown in the bug tracker-ticket).

"enable" has to be set to "yes", otherwise the file is ignored.
When "as_directory" is set to "no", the file is ignored again.
When "as_directory" is set to "yes", the album show up correctly, but the individual songs are listed double. One with the correct time like "03:43", the other with a time-info like "-2562047788015215:-30:-8"

As MPD-frontend i use MPDroid on a tablet, which is quite old now. So i tested with Cantata and GMPC directly on the server, but the result was even worse and somehow incosistent.

Well, now i don't know, where the problem is situated - it could be MPDroid, a faulty cuesheet or a unknown bug in MPD.

So my question is following:
Is there somebody, who works with cuesheets in MPD? Could you please tell me, which frontend you are using and could you give me an example of a working cuesheet?
max
Forum team
Posts: 1179
Joined: January 15th, 2013, 3:43 pm

Re: How to handle cuesheets?

Post by max »

Your bug report was very confusing. I thought this was about listing the source file twice. Since you did not upload your CUE file, there was nothing else I could do.
"enable" has to be set to "yes", otherwise the file is ignored.
Not true. "yes" is the default value - you don't need to specify this at all!
When "as_directory" is set to "yes", the album show up correctly, but the individual songs are listed double. One with the correct time like "03:43", the other with a time-info like "-2562047788015215:-30:-8"
Without seeing your CUE file, it is impossible to help you.
conta
Posts: 104
Joined: October 31st, 2013, 4:59 pm

Re: How to handle cuesheets?

Post by conta »

Thanks for the super-fast reply!

As mentioned the cue-file is the same as in the bug tracker-ticket:

Code: Select all

REM GENRE aaa
REM DATE 1969
REM COMMENT spezielle Testversion 2019
PERFORMER "Josefus"
TITLE "Get Off My Case"
FILE "Josefus - Get Off My Case.flac" WAVE
TRACK 01 AUDIO
TITLE "Crazy Man"
PERFORMER "Josefus"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Country Boy"
PERFORMER "Josefus"
INDEX 01 03:43:32
TRACK 03 AUDIO
TITLE "Get Off My Case"
PERFORMER "Josefus"
INDEX 01 07:01:15
TRACK 04 AUDIO
TITLE "A Social Song"
PERFORMER "Josefus"
INDEX 01 11:01:00
TRACK 05 AUDIO
TITLE "Feelin' Good"
PERFORMER "Josefus"
INDEX 01 13:36:12
TRACK 06 AUDIO
TITLE "Situation"
PERFORMER "Josefus"
INDEX 01 19:41:15
TRACK 07 AUDIO
TITLE "Dead Man"
PERFORMER "Josefus"
INDEX 01 21:56:17
conta
Posts: 104
Joined: October 31st, 2013, 4:59 pm

Re: How to handle cuesheets?

Post by conta »

Hmmm,
i think i have to apologize...
The doubles are my own fault!
After a couple or re-checks i found the problem:
In another folder i had the same album a second time, but split in individual flacs for each song. So when i removed the split-album from the library, the album and songs are displayed perfectly.

The only strange behaviour which remains is the cryptic timestamps. It still looks like "-2562047788015215:-30:-8"

Sorry, about the defective board entry!!
Post Reply