Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cuesheets/embedded cuesheets for FLAC files #27

Open
jchnkl opened this issue Nov 21, 2013 · 8 comments
Open

Cuesheets/embedded cuesheets for FLAC files #27

jchnkl opened this issue Nov 21, 2013 · 8 comments

Comments

@jchnkl
Copy link

jchnkl commented Nov 21, 2013

Hi,

I have some albums as whole FLAC files with embedded cuesheets. GMPC or ncmcpp for example, display single tracks just fine. Vimpc, however, shows only the filename for each number track of an album. E.g.:

Album - Title.flac
Album - Title.flac
...

Can we get proper cuesheet/flac support please?
Many thanks in advance!

[Edit] If you need an example, I'd happily create a small file (<1.0MB) for you to try out.

@boysetsfrog
Copy link
Owner

Yeah, an example file would be nice if you can provide one, since I don't have albums set up in this way myself.

@jchnkl
Copy link
Author

jchnkl commented Nov 22, 2013

Here ya go: http://s000.tinyupload.com/?file_id=90162137279161182312
You can use metaflac to inspect the file.
metaflac --list will show you all tags. There are ogg vorbis tags for the tracks, lock for track[0], track[1], etc. The titles are actually in comment[0] with tag id CUESHEET (metaflac --show-tag=CUESHEET).
After adding the file to mpd's db it should up as audio.flac and simply audio (at least it does so for ncmpcpp and gmpc). Adding audio to a playlist adds just the whole file itself. audio.flac, however, is a playlist which adds the single tracks to the playlist.
If I can provide you with additional help, just let me know.
Thanks!

@boysetsfrog
Copy link
Owner

The file provided shows up both in vimpc and ncmpcpp in the same way but when adding the playlist version it complains that it is empty and thus I end up with no tracks in the playlist that I can ook at the tags on. Does the file you provided work for you in this manner?

@jchnkl
Copy link
Author

jchnkl commented Nov 22, 2013

Hi,

here's how it looks for me:
vimpc
ncmpcpp
gmpc

What version of mpd are running?

Mine:

mpd --version
mpd (MPD: Music Player Daemon) 0.18~git 

Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008-2012 Max Kellermann <max@duempel.org>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Decoders plugins:
 [mad] mp3 mp2
 [mpg123] mp3
 [vorbis] ogg oga
 [oggflac] ogg oga
 [flac] flac
 [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
 [dsdiff] dff
 [dsf] dsf
 [faad] aac
 [mp4ff] m4a m4b mp4
 [wavpack] wv
 [modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
 [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
 [pcm]

Output plugins:
 shout null fifo alsa ao oss pulse jack httpd recorder

Encoder plugins:
 null vorbis lame wave flac

Input plugins:
 file curl soup ffmpeg cdio_paranoia

Playlist plugins:
 extm3u m3u xspf pls asx rss soundcloud cue cue

Protocols:
 file:// http:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// cdda://

Does it say cue under Playlist plugins for you too?

@boysetsfrog
Copy link
Owner

My version information is:

Music Player Daemon 0.18.4

Copyright (C) 2003-2007 Warren Dukes warren.dukes@gmail.com
Copyright (C) 2008-2013 Max Kellermann max@duempel.org
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Decoders plugins:
[mad] mp3 mp2
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[opus] opus ogg oga
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[dsdiff] dff
[dsf] dsf
[faad] aac
[wavpack] wv
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
[pcm]

Output plugins:
shout null fifo pipe alsa ao oss pulse jack httpd recorder

Encoder plugins:
null vorbis opus lame wave flac

Archive plugins:
[bz2] bz2

Input plugins:
file archive curl ffmpeg mms

Playlist plugins:
extm3u m3u xspf pls asx rss soundcloud cue cue

Protocols:
file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps://

@boysetsfrog
Copy link
Owner

Nevermind, I have managed to source an album of my own in a similar flac/cue format and that does exhibit the behaviour that you describe and showed me, so whilst I don't know why the audio.flac doesn't work I should be able to try and fix this issue soon, hopefully.

@boysetsfrog
Copy link
Owner

Hello,

So I have done some work for this, but it isn't quite right yet due to a few limitations with mpd. But if you either load your flac file from the lists window by pressing enter on it or by typing :load <audio.flac> it should work and display the tags correctly. It doesn't yet work in the case that you look at the playlists content with 'e' (which i will fix soon) or in the case where the songs from the playlist are appended to the queue rather than loaded, which i am not sure i can currently do. But feel free to try out what is there and see how it goes.

@boysetsfrog
Copy link
Owner

That is
:load filename
the formatting caught me out there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants