# CUE sheet support?

**URL:** <https://discourse.mopidy.com/t/cue-sheet-support/4499>\
**Category:** Help and support\
**Created:** [December 1, 2020, 4:29pm UTC](https://discourse.mopidy.com/t/cue-sheet-support/4499 "2020-12-01T16:29:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SimplicityGuy](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/simplicityguy/32/1810_2.png) [@SimplicityGuy](https://discourse.mopidy.com/u/SimplicityGuy)\
**Post date:** [December 1, 2020, 4:29pm UTC](https://discourse.mopidy.com/t/cue-sheet-support/4499/1 "2020-12-01T16:29:51Z")

</div>

Hi there,

I’ve ripped many of my CDs into a single continuous MP3 and stored CUE sheets along with the MP3. I’d love it if when I select an album to play that the player recognizes the CUE sheet and displays the song title from there.

Does mopidy support this use case? If not, is it possible to write a plugin for this to happen?

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [December 1, 2020, 4:59pm UTC](https://discourse.mopidy.com/t/cue-sheet-support/4499/2 "2020-12-01T16:59:58Z")

</div>

In short, probably not. The only support we have for this will come from what GStreamer already give us and I’m not sure what that is. I had a quick look and it seems GStreamer supports cue info embedded in wav files but I have never tried this and I don’t know if it would Just Work or not. And since your files are mp3 I appreciate this doesn’t help you anyway.

Typically, metadata for a track is provided to Mopidy’s Audio layer by GStreamer when GStreamer reads the data. Mopidy will then simply pass that on to the frontends. We do have a mechanism to inject our own metadata but that’s only used for a special case (Spotify playback) which doesn’t go through the regular GStreamer audio pipeline. We don’t expose access to that mechanism to other extensions and even if we did I don’t think it would work well for this; it’s used as a one-time thing that happens on track change, I don’t know a good way you’d trigger it to update as you progressed through the file.

There is some info [here](https://gstreamer.freedesktop.org/documentation/additional/design/toc.html?gi-language=c) about ideas to add a [generic version of this](https://gstreamer.freedesktop.org/documentation/gstreamer/gsttoc.html?gi-language=c) to GStreamer but who knows when that was written. I don’t know if GstToc is available to use via Python bindings.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [December 4, 2020, 3:29pm UTC](https://discourse.mopidy.com/t/cue-sheet-support/4499/3 "2020-12-04T15:29:03Z")

</div>

I’ll also add that we’d need this sort of mechanism if we ever wanted to support MPD’s `addtagid` command.
