View Full Version : Mapping CUE SHEETS in database for use in music library mode?
bubandno
2009-06-08, 20:05
Hi,
I discover a few day XBMC...fine
exactely what I looking for. I explain :
I used foobar to manage my lossless audio file FLAC, APE, WV PCM : One file (flac, WV, APE or WAV) with cue sheet = one CD
Now I want to use XBMC on my flat TV to listen this file
I use a cuesheet data to manage the track listing, title, album, artist and date.
The import in xbmc is fine... (include art album)
but i feel there is sometime a by pass on the field "DATE" from the cue sheet file.
sometime, the import of the field is Ok, sometime not...
I don't find a fuzzylogic. So where i can found the import rules and mapping or explain to me how to import correctly the date from cuesheet file.
thank
jmarshall
2009-06-09, 01:38
CueDocument.cpp holds the parsing stuff.
Find a CUE that doesn't respond how you think it should, and post it for others to test.
Cheers,
Jonathan
bubandno
2009-06-09, 09:52
thank awser me.
but I'm not a developper so i'm not sure that the best way for me.
Try posting the CUE file that doesn't work, we might be able to see the problem.
bubandno
2009-06-10, 18:06
REM GENRE Classical
REM DATE 1995
REM COMMENT Alexander reference signature
PERFORMER "Various Artists"
TITLE "Vol. I"
FILE "01 - Omar Sosa - Mis Tres Nostas.ape" WAVE
TRACK 01 AUDIO
TITLE "Mis tres Nostas"
PERFORMER "Omar Sosa"
INDEX 01 00:00:00
FILE "02 - Patricia Barber - A Taste Of Honey.ape" WAVE
TRACK 02 AUDIO
TITLE "A Taste Of Honey"
PERFORMER "Patricia Barber"
INDEX 01 00:00:00
FILE "03 - Teresa Perez, Tim Gorman Ensemble - Lover's Tear.ape" WAVE
TRACK 03 AUDIO
TITLE "Lover's Tear"
PERFORMER "Teresa Perez & Tim Gorman ensemble"
INDEX 01 00:00:00
------------------------------------------
REM DATE 1963
PERFORMER "The Beatles"
TITLE "Please Please Me"
FILE "Please Please Me.wav" WAVE
TRACK 01 AUDIO
TITLE "I Saw Her Standing There"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Misery"
INDEX 01 02:57:22
TRACK 03 AUDIO
TITLE "Anna (Go To Him)"
INDEX 01 04:50:72
TRACK 04 AUDIO
TITLE "Chains"
INDEX 01 07:52:12
TRACK 05 AUDIO
TITLE "Boys"
INDEX 01 10:22:27
Thank, so here two example of CUE. XBMC ‘s scan and import in music database is is Ok except the year. If the year is in the tag (APE, FALC or WV) XBMC include the year in the database.(so much file to insert the date in tag manually).
So is there a simple way to customize the cue scan and insert database process (without coding cuedocument.cpp) to include the specific field “REM DATE” used by FOOBAR ?
bubandno
2009-06-10, 18:08
another exemple with a different date per song :
REM GENRE Rock & Roll
REM DISCID 5A0D1E18
REM COMMENT ExactAudioCopy v0.95b4
PERFORMER "Little Richard"
TITLE "Here's Little Richard + Little Richard"
FILE "Little Richard - Here's Little Richard + Little Richard.wv" WAVE
TRACK 01 AUDIO
TITLE "Tutti Frutti"
REM DATE 1957
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "True, Fine Mama"
REM DATE 1957
INDEX 00 02:23:58
INDEX 01 02:27:34
TRACK 03 AUDIO
TITLE "Can't Believe You Wanna' Leave"
REM DATE 1958
INDEX 00 05:08:14
INDEX 01 05:11:71
TRACK 04 AUDIO
TITLE "Ready Teddy"
REM DATE 1958
INDEX 00 07:37:26
INDEX 01 07:40:74
those are currently not parsed, but surely could be.
do a freq trac ticket and attach the cue's
Gamester17
2009-06-10, 19:22
http://xbmc.org/wiki/?title=What_is_XBMC_%26_What_Can_it_Do%3F#Where_ca n_I_suggest.2Frequest_a_new_feature_or_function_to _be_implemented_into_XBMC.3F
http://xbmc.org/trac
bubandno
2009-06-11, 18:01
I have opened a trac ticket with the CUE'S attach.
ref #6736 in feature request
There is already a ticket/patch for that: http://xbmc.org/trac/ticket/5533 :;):
bubandno
2009-06-15, 20:39
thank for the patch.
But I've a second Problem : How to use this patch ?
I 've not compiler and tools for this work...And i'm not a...developper ...
well then, you do you expect to be able to use a patch?
sit tight, wait patiently for it to be added to svn.
There is already a ticket/patch for that: http://xbmc.org/trac/ticket/5533 :;):
Great to know this is coming in xbmc 9.10.
Thank you toolino for the patch!! I've recently discovered the amazing xbmc and I really need this feature as my 700 CD collection is all in flac + cue.
Quick question for you though, I've looked at your patch code trying to figure out whether the below would work or not (but couldn't, my programming skills are quite rusty):
1) REM GENRE "Rock Latino"
2) REM GENRE Rock Latino
Note the quotes in 1) and the two-word string. For foobar2k, both work and both are equivalent. Will both work and will both be parsed to the same value ('Rock Latino') into xbmc's library ?
If they don't parse well or if they parse to different GENRE values then I have a problem in my collection :(
jmarshall
2009-07-15, 01:26
From a look of the code, it supports both.