Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foobar won't display album art via cuesheet (Read 10370 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foobar won't display album art via cuesheet

hi,

i've got quite a few flac albums. they are ripped into one single file and a separate cuesheet is stored. i don't use embedded cuesheets. if i play the file directly (so i open the single continuous audio file), the album art appears fine. but if i open a track using the cuesheet, it won't. could this be fixed please?

i'm using foobar 0.9.6.2, and my components:

Code: [Select]
Core (2009-01-30 19:58:10)
foobar2000 core 0.9.6.2
foo_abx.dll (2008-05-24 16:23:50)
ABX Comparator 1.3.3
foo_albumlist.dll (2009-01-30 19:57:06)
Album List 4.3
foo_audioscrobbler.dll (2008-03-09 19:08:02)
Audioscrobbler 1.3.16
foo_cdda.dll (2009-01-30 19:57:00)
CD Audio Decoder 2.1.4
foo_converter.dll (2009-01-30 19:56:54)
Converter 1.2
foo_dsp_std.dll (2009-01-30 19:57:12)
Standard DSP Array 1.0
foo_fileops.dll (2009-01-30 19:56:36)
File Operations 2.1.1
foo_freedb2.dll (2009-01-30 19:57:18)
freedb Tagger 0.6.1
foo_input_monkey.dll (2007-04-13 17:39:54)
Monkey's Audio decoder 2.1.2
foo_input_std.dll (2009-01-30 21:47:40)
Standard Input Array 1.0
foo_msn_now_playing.dll (2008-11-03 01:14:36)
MSN Now Playing 0.5
foo_rgscan.dll (2009-01-30 19:56:56)
ReplayGain Scanner 2.0.8
foo_ui_std.dll (2009-01-30 19:57:08)
Default User Interface 0.9.5
foo_unpack.dll (2008-11-13 20:08:10)
RAR reader 1.1
ZIP/GZIP reader 1.0
foo_wlm.dll (2008-10-07 22:23:54)
Windows Live Messenger Notifier 1.0.0

foobar won't display album art via cuesheet

Reply #1
Bump. I too would like to know how to get album art to work with foobar2k via the CUE sheet. I know that it'll work if I rename the jpg/png image file with the same exact name as the CUE, however, I have 4 different CUE sheets and I'm wondering if I can get them to use the 1 image instead of making 4 of the same image files per CUE sheet. Please help.

foobar won't display album art via cuesheet

Reply #2
Bump. I too would like to know how to get album art to work with foobar2k via the CUE sheet. I know that it'll work if I rename the jpg/png image file with the same exact name as the CUE, however, I have 4 different CUE sheets and I'm wondering if I can get them to use the 1 image instead of making 4 of the same image files per CUE sheet. Please help.


You usually should call the album art 'folder.jpg' or 'front.jpg'. It should then work for every file in its folder.

foobar won't display album art via cuesheet

Reply #3
Bump. I too would like to know how to get album art to work with foobar2k via the CUE sheet. I know that it'll work if I rename the jpg/png image file with the same exact name as the CUE, however, I have 4 different CUE sheets and I'm wondering if I can get them to use the 1 image instead of making 4 of the same image files per CUE sheet. Please help.


You usually should call the album art 'folder.jpg' or 'front.jpg'. It should then work for every file in its folder.


i have one separate folder for cuesheets and one for mixes. no other files. the album art is stored as a _tag_, not as a separate image file.

foobar won't display album art via cuesheet

Reply #4
Then embedding your cue would be the only way to show the art.
elevatorladylevitateme

foobar won't display album art via cuesheet

Reply #5
Then embedding your cue would be the only way to show the art.


that's not too appealing since it won't store the track titles by itself, and i'd like to avoid exotic tagging stuff to resolve it

that's why i opened this topic since i believe it shouldn't be a too big effort to solve this: display the album art of the 'parent' file (the single file for the whole album) for the album tracks too


foobar won't display album art via cuesheet

Reply #7
that's not too appealing since it won't store the track titles by itself
Huh?
test.cue:
Code: [Select]
PERFORMER "Asura"
TITLE "Lost Eden"
FILE "test.flac" WAVE
  TRACK 01 AUDIO
TITLE "Lost Eden"
INDEX 01 00:00:00
  TRACK 02 AUDIO
TITLE "From The Abyss"
INDEX 01 00:10:00
  TRACK 03 AUDIO
TITLE "Raindust"
INDEX 01 00:20:00
Code: [Select]
x:\metaflac --import-cuesheet-from=test.cue test.flac
x:\metaflac --list test.flac
METADATA block #0
  type: 0 (STREAMINFO)
  is last: false
  length: 34
  minimum blocksize: 4096 samples
  maximum blocksize: 4096 samples
  minimum framesize: 14 bytes
  maximum framesize: 11909 bytes
  sample_rate: 44100 Hz
  channels: 2
  bits-per-sample: 16
  total samples: 10619280
  MD5 signature: 225c44ec444da8c8e769c963156148aa
METADATA block #1
  type: 3 (SEEKTABLE)
  is last: false
  length: 486
  seek points: 27
point 0: sample_number=0, stream_offset=0, frame_samples=4096
point 1: sample_number=438272, stream_offset=991673, frame_samples=4096
point 2: sample_number=880640, stream_offset=2008363, frame_samples=4096
point 3: sample_number=1318912, stream_offset=3022910, frame_samples=4096
point 4: sample_number=1761280, stream_offset=4044032, frame_samples=4096
point 5: sample_number=2203648, stream_offset=5088504, frame_samples=4096
point 6: sample_number=2641920, stream_offset=6165196, frame_samples=4096
point 7: sample_number=3084288, stream_offset=7227440, frame_samples=4096
point 8: sample_number=3526656, stream_offset=8270779, frame_samples=4096
point 9: sample_number=3964928, stream_offset=9310350, frame_samples=4096
point 10: sample_number=4407296, stream_offset=10347465, frame_samples=4096
point 11: sample_number=4849664, stream_offset=11421948, frame_samples=4096
point 12: sample_number=5287936, stream_offset=12452504, frame_samples=4096
point 13: sample_number=5730304, stream_offset=13480053, frame_samples=4096
point 14: sample_number=6172672, stream_offset=14518782, frame_samples=4096
point 15: sample_number=6610944, stream_offset=15539189, frame_samples=4096
point 16: sample_number=7053312, stream_offset=16582873, frame_samples=4096
point 17: sample_number=7495680, stream_offset=17642699, frame_samples=4096
point 18: sample_number=7933952, stream_offset=18675827, frame_samples=4096
point 19: sample_number=8376320, stream_offset=19762450, frame_samples=4096
point 20: sample_number=8818688, stream_offset=20830942, frame_samples=4096
point 21: sample_number=9256960, stream_offset=21880676, frame_samples=4096
point 22: sample_number=9699328, stream_offset=22923194, frame_samples=4096
point 23: sample_number=10141696, stream_offset=23854449, frame_samples=4096
point 24: sample_number=10579968, stream_offset=24295082, frame_samples=4096
point 25: PLACEHOLDER
point 26: PLACEHOLDER
METADATA block #2
  type: 4 (VORBIS_COMMENT)
  is last: false
  length: 40
  vendor string: reference libFLAC 1.2.1 20070917
  comments: 0
METADATA block #3
  type: 5 (CUESHEET)
  is last: false
  length: 576
  media catalog number:
  lead-in: 88200
  is CD: true
  number of tracks: 4
track[0]
  offset: 0
  number: 1
  ISRC:
  type: AUDIO
  pre-emphasis: false
  number of index points: 1
index[0]
  offset: 0
  number: 1
track[1]
  offset: 441000
  number: 2
  ISRC:
  type: AUDIO
  pre-emphasis: false
  number of index points: 1
index[0]
  offset: 0
  number: 1
track[2]
  offset: 882000
  number: 3
  ISRC:
  type: AUDIO
  pre-emphasis: false
  number of index points: 1
index[0]
  offset: 0
  number: 1
track[3]
  offset: 10619280
  number: 170 (LEAD-OUT)
METADATA block #4
  type: 1 (PADDING)
  is last: true
  length: 7576

x:\
could you please show me where are the track titles are stored after embedding the cuesheet? coz i see no occurence. foobar will only show the name of the 'parent' file for each track. you can only solve this by introducing custom tags, which is, again, 'exotic' -> see the next paragraph

and i'd like to avoid exotic tagging stuff to resolve it
What's "exotic" about an embedded cuesheet?
what exotic about that is that very few of the apps support cuesheets, and even fewer support embedded ones.

foobar won't display album art via cuesheet

Reply #8
I don't know for a lot of applications but squeezecenter, for example, supports only the standard flac cuesheet tag and external cuesheets. Not the way I think foobar2000 does it, adding a vorbis comment named CUESHEET containing the complete cuesheet data (as in the same info as if it were an external cuesheet).
I think I'm going to ask the squeezecenter devs if they are willing to support the 'vorbis comment' way.

foobar won't display album art via cuesheet

Reply #9
could you please show me where are the track titles are stored after embedding the cuesheet? coz i see no occurence. foobar will only show the name of the 'parent' file for each track.
metaflac.exe --import-cuesheet-from=cdimage.cue --set-tag-from-file=CUESHEET=cdimage.cue cdimage.flac

or using foobar2000:

Right-click menu->Utils->Edit cuesheet

what exotic about that is that very few of the apps support cuesheets, and even fewer support embedded ones.
So why are you using cue sheets at all? 

Seriously, just because you add embedded cue sheets doesn't mean that you need to get rid of your external ones to use with incompatible programs.



What may seem like "it shouldn't be a too big effort to solve this" to you may or may not be. In fact, considering it hasn't been implemented since 0.9.5, it would make more sense for you to assume that it isn't a simple task.
elevatorladylevitateme

foobar won't display album art via cuesheet

Reply #10
Right-click menu->Utils->Edit cuesheet


oh wow, type in all tracks for all mixes, that's really much better then implementing what i'm asking for (it would take about 20 lines of code at maximum i guess)

So why are you using cue sheets at all? 

Seriously, just because you add embedded cue sheets doesn't mean that you need to get rid of your external ones to use with incompatible programs.


nope, that's not at all suitable, coz normally the mixes are in the list as single files, and IF i want to split one of them and listen to a specific track, THEN i open that album via cuesheet

What may seem like "it shouldn't be a too big effort to solve this" to you may or may not be. In fact, considering it hasn't been implemented since 0.9.5, it would make more sense for you to assume that it isn't a simple task.


it's just a check somewhere in the code. if the file played is *.cue, it would have to check REFERENCED_FILE, check for it's album art, and display it if it exists. it CAN'T be difficult.

anyway, i just asked for something that would be handy and must be not-too-hard to achieve, and you're already tryin to convince me that it's the best for me to retag all my mixes to have an embedded cuesheet and then type in all the track titles in all the retagged files. wow, cool.

foobar won't display album art via cuesheet

Reply #11
oh wow, type in all tracks for all mixes, that's really much better then implementing what i'm asking for (it would take about 20 lines of code i guess)
There is a button named [Load...], I wonder what that does...


nope, that's not at all suitable, coz normally the mixes are in the list as single files, and IF i want to split one of them and listen to a specific track, THEN i open that album via cuesheet
Then change your usage patterns accordingly. You could try using the album list rather than browsing your image files in "the list" (a playlist?).


it's just a check somewhere in the code. if the file played is *.cue, it would have to check the REFERENCED_FILE, check for it's album art, and display if exists. it CAN'T be difficult.
It's wonderful to know that you have such a firm grasp of foobar2000's codebase. 
elevatorladylevitateme

foobar won't display album art via cuesheet

Reply #12
There is a button named [Load...], I wonder what that does...


yeah, and it will write the cuesheet in vorbis comment, so i'll have a file with one embedded cuesheet in the CUESHEET block and one as a vorbis comment which is usable in foobar2000 only. other programs will still display the filename for each track. damn cool again.

i know, i'd call it a design error to exclude track titles in the CUESHEET block, but i can do nothing with that and it's not my bad. but then inventing a custom way to solve it (such as putting the whole cuesheet file into vorbis comment) is just not the way to solve it, ask a web developer about internet explorer and web standards


Then change your usage patterns accordingly. You could try using the album list rather than windows explorer, for example.


thats again really solves my problem. i can't listen to a mix in explorer. i don't watch my music, but listen to it usually. your mileage may vary...

It's wonderful to know that you have such a firm grasp of foobar2000's codebase. 


it would work this way in any codebase. i was explaining logics in general, not any actual code.

i was asking for something that's not a big thing, and may also be considered as a bug report coz it's the logical way to handle this, since album tracks belong to the album and therefore the album art applies to the tracks of the album, too.

but instead, you tried to convince me to do a lot of unnecessary steps to work it around and ruin other things. that's just silly.

foobar won't display album art via cuesheet

Reply #13
As I understand from this discussion:

flac files created by foobar are not correctly tagged?

So I will run into issues, if I try to play my single files with embedded cue sheets with other players like Squeezebox etc.?
I already have issues with my sansa clip v2 (can't jump through the tracks) . But there I thought the embededded cue is not supported...

would be nice to get any information about that and how should I handle this.

regards

foobar won't display album art via cuesheet

Reply #14
Hello,

I've got the same intention. I created some cuesheets via CueMaster. It created some remarks with additional info. I was surprised that foobar is able to interpret this remarks. So I was question me if there is a way to add a link to an image file to display the album art.

Code: [Select]
PERFORMER "Trophy Twins"
TITLE "Judgement Euphoria CD3"
REM ** Generated by CueMaster v1.6 **
REM Time  : 78:27:00
REM Length: 4707 seconds
REM Year  : 2005
REM Genre : Misc
REM DiscID: c712610f
FILE "../Judgement Euphoria CD3.mp3" MP3

...



foobar won't display album art via cuesheet

Reply #15
I created some cuesheets via CueMaster. It created some remarks with additional info. I was surprised that foobar is able to interpret this remarks.
The only additional fields added via REM lines that foobar2000 will interpret are those added by EAC: year, genre, discID, and probably another one whose identity currently escapes me. Any others are ignored.
I’ve said for years that it should support all if it supports any, but no developer has ever commented.

Quote
So I was question me if there is a way to add a link to an image file to display the album art.
Not in the cue-sheet.

foobar won't display album art via cuesheet

Reply #16
Getting back to the original thread topic, foobar2000 (v1.3.9) still does not display album art when a file is played via a cuesheet.

My example (and I have many such files) is that the audio file contains embedded album art/images (added with foobar) and these images are also in the same folder. When the file is played in foobar the album art is displayed. When the file is played via a cuesheet no album art is displayed. So foobar is not finding / looking for either embedded album art and the images contained within the same folder.

The only way to get foobar to display album art when a cuesheet is played, is by having an image file named folder or front. I don't like having image files named like this though as you end up with 100s+ of them on the computer which is very unhelpful if you ever need to find a specific image etc etc.

It would be great if foobar could behave as it does when it plays the single file and thus displays the artwork.

Thanks