forked from len0rd/rockbox
FS #12419 : Support for embedded cuesheets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31321 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
014003afac
commit
02fd314a0b
9 changed files with 192 additions and 44 deletions
|
|
@ -2170,10 +2170,10 @@ struct mp3entry* audio_current_track(void)
|
|||
if (!checked_for_cuesheet && curr_cuesheet && id3->cuesheet == NULL)
|
||||
{
|
||||
checked_for_cuesheet = true; /* only check once per track */
|
||||
char cuepath[MAX_PATH];
|
||||
struct cuesheet_file cue_file;
|
||||
|
||||
if (look_for_cuesheet_file(id3->path, cuepath) &&
|
||||
parse_cuesheet(cuepath, curr_cuesheet))
|
||||
if (look_for_cuesheet_file(id3, &cue_file)) &&
|
||||
parse_cuesheet(&cue_file, curr_cuesheet))
|
||||
{
|
||||
id3->cuesheet = curr_cuesheet;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue