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

Cuesheet support #762

Open
serrq opened this issue Apr 22, 2024 · 7 comments
Open

Cuesheet support #762

serrq opened this issue Apr 22, 2024 · 7 comments
Assignees
Labels
complex This is a complex addition that will take some time doesnt-follow-template Does not follow the issue/pr template enhancement New feature or request playback Related to music playback

Comments

@serrq
Copy link

serrq commented Apr 22, 2024

Recently I downloaded full concert (approximately 2 h 30 min) in one only tracks.

I noticed that moving the playing cursor isn't precise and very difficult to skip between songs in a same tracks.

So I ask enabling bookmarks (creation and their use) during the track's playing.

@OxygenCobalt OxygenCobalt changed the title Bookmarks during playing a long track Cuesheet support Apr 22, 2024
@OxygenCobalt
Copy link
Owner

This sounds like cuesheets is basically what you want. They are files that outline a way of splitting up a huge audio file into several song entries.

I've rejected this earlier since it was basically impossible in Auxio's architecture, but ever since I added gapless playback support and assuming #322, this actually could become feasible.

@OxygenCobalt OxygenCobalt self-assigned this Apr 22, 2024
@OxygenCobalt OxygenCobalt added playback Related to music playback enhancement New feature or request doesnt-follow-template Does not follow the issue/pr template labels Apr 22, 2024
@serrq
Copy link
Author

serrq commented Apr 22, 2024

My audio file is .opus. Is also possible with it?

@OxygenCobalt
Copy link
Owner

OxygenCobalt commented Apr 22, 2024

Yes, cuesheets are a file that points towards one huge audio file (of any type) followed a bunch of timestamp ranges that act as the "Songs".

Auxio would read the cuesheet, find the corresponding audio file, then create "Songs" based on those entries that would in practice open up the huge audio file and just seek to the specific region specified in the cuesheet file. You could then play that huge audio file as if it was just an album.

@serrq
Copy link
Author

serrq commented Apr 22, 2024

How I say to the app where the songs are? Timestamps I mean.

Sorry I am not native English and not a developer.

@OxygenCobalt
Copy link
Owner

OxygenCobalt commented Apr 22, 2024

You specify it in the cuesheet file. Auxio does not support them yet though, so you will have to wait.

Here's a wikipedia article with more info on what they are: https://en.wikipedia.org/wiki/Cue_sheet_(computing)

An example file from the article:

REM GENRE [Electronica](https://en.wikipedia.org/wiki/Electronica)
REM DATE 1998
PERFORMER "Faithless"
TITLE "Live in Berlin"
FILE "Faithless - Live in Berlin.mp3" MP3
  TRACK 01 AUDIO
    TITLE "Reverence"
    PERFORMER "Faithless"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "She's My Baby"
    PERFORMER "Faithless"
    INDEX 01 06:42:

This would specify a track called "Reverence" that starts at 0:00 and ends at 6:42, and then another track called "She's My Baby" that starts at 6:42 and continues until the end of the audio file. This is how you would tell the app where the songs are.

@serrq
Copy link
Author

serrq commented Apr 22, 2024

Mmm too much complicated. My idea was just tap a button to make a bookmark and edit it.

@OxygenCobalt
Copy link
Owner

OxygenCobalt commented Apr 22, 2024

A button like that would:

  1. Not be useful to most users. Most people who listen to long concerts either split their files manually in an audio editor or use cuesheets. I believe there are programs that generate cuesheet files easily as well.
  2. Would clutter the UI to an extreme extent. The playback UI has basically no semantic space to add any more elements. This is also a huge reason why I don't add things like lyrics, there's just nowhere to put it.

In general, I would rather work on a more general feature that accomplishes this use-case among many others rather than a very narrow feature that only accomplishes what you specifically want at the cost of a bunch clunkier and confusing experience.

Why are these features missing? outlines my logic behind this in more detail.

@OxygenCobalt OxygenCobalt added the complex This is a complex addition that will take some time label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complex This is a complex addition that will take some time doesnt-follow-template Does not follow the issue/pr template enhancement New feature or request playback Related to music playback
Projects
None yet
Development

No branches or pull requests

2 participants