Repository navigation
Play cue sheets and use Telegram audio details (1.13.0) - #3
Merged
Merged
Conversation
Cue sheets (servers with files.cue): a .cue next to a FLAC/MP3 album is shown as an album in channel folders, local files and shared collections. Its tracks play, go to the queue and resume one by one. Each one is a queue track that plays a slice (clip) of the file: the engine starts at the clip start, moves to the next track at the clip end and reports position and duration relative to the track to the UI, the lock screen and the keyboard shortcuts. Consecutive clips of one file keep playing on the same element. Cache and downloads stay per file; favourites, history and resume points of cue tracks stay on the device, and they are not added to playlists (both store whole files). Telegram audio details (files.audioInfo): channel listings and search ask the server in the background for the title, performer, duration and cover Telegram keeps, show "Performer - Title" and the duration in the rows and use them as the starting metadata of the queued tracks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Needs TelegramFileManager with
files.cueandfiles.audioInfo(mateof/TelegramFileManager#172). Everything checks the capabilities first, so older servers see no change.Cue sheets
An album ripped to a single FLAC or MP3, with a
.cuenext to it..cueopens as an album, and its details sheet has "Open as album".cue:{channel|local}:{cueId}:{n}.Telegram audio details
Telegram keeps the title, performer, duration and cover of each audio file.
Other
While a prepared track takes over, its duration is now pushed to the store. No event fired for it before.
Checks
tsc -b: clean.npm run build: OK.Not checked in a browser or against a real server.
Version 1.13.0.