mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-12-03 20:01:50 +01:00
An ordered-chapters episode links its opening and ending from other files by SegmentUID. mpv looks for those in the episode's directory, which a stream does not have, so the chapters were skipped. Before an episode loads, read which segments it links to, read the SegmentUID of the unnumbered files in the same folder, and hand mpv the matching streams as an inline ordered-chapters-files playlist. A candidate's SegmentUID is remembered by revision for the life of the process. On mobile, mpv re-opens the main URL while resolving references and closes it again; native streams are now reference-counted per open so that close no longer releases the stream that is playing. Openings and endings on their own are no longer listed as episodes of a numbered series.
19 lines
508 B
TOML
19 lines
508 B
TOML
[package]
|
|
name = "pstr-stream"
|
|
description = "Seekable, cached byte streams over Proton Drive revisions."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
|
|
[dependencies]
|
|
pstr-core.workspace = true
|
|
proton-sdk.workspace = true
|
|
proton-drive-rs.workspace = true
|
|
proton-media-rs = { workspace = true, features = ["drive"] }
|
|
async-trait.workspace = true
|
|
futures.workspace = true
|
|
tracing.workspace = true
|