Updated FLAC Cue Sheet Support

A few years back, I created a package that allowed playing FLAC files with cue sheets directly in Plex (details). One limitation of the original package was that it would not work with the premium music scanner.

I recently got fed up with this limitation and updated this package in a way that bypasses any need for a custom Plex Scanner and directly parses the cue sheets within the FUSE filesystem. Basically, it creates a virtual filesystem that expands FLAC+CUE into what look like separate tracks but works with the original file (temporarily extracting tracks in memory when requested). This is somewhat less efficient than the original method but provides significantly more flexibility (and still sufficient performance for my needs). The original method with a custom scanner still works (with an improved backend, although you’ll need to rescan to get the updated filename scheme) but you can now also use the Plex Music scanner on the filesystem directly.

You can find more details and the actual code in my GitHub repository. I hope this is helpful for others.

6 Likes