mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-15 09:41:59 +01:00
A song in a listing showed a generic icon, and the player a music note. Both now show the song's cover: the picture in its tags, read with lofty, or else a cover, folder, front or album image in its folder. Only the tags are downloaded. A song up to 4 MiB comes whole. A larger one brings the ID3v2 tag or the FLAC metadata blocks at its start, an M4A's moov box, the first 4 MiB of an Ogg file, and the last 4 MiB for formats that keep their tags at the end. The parts are laid out in a sparse staging file at their own offsets, as video samples are. A folder cover comes from that image's cached thumbnail, the thumbnail its uploader attached, or the image itself. It is stored under the song. Uploads of songs carry their embedded cover as the Drive thumbnail.
32 lines
734 B
TOML
32 lines
734 B
TOML
[package]
|
|
name = "pdfs-fuse"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
description = "FUSE on-demand filesystem for Proton Drive"
|
|
|
|
[dependencies]
|
|
pdfs-core.workspace = true
|
|
zip.workspace = true
|
|
sha1.workspace = true
|
|
proton-drive-rs.workspace = true
|
|
futures.workspace = true
|
|
async-trait.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
fuser.workspace = true
|
|
libc.workspace = true
|
|
serde_json.workspace = true
|
|
base64.workspace = true
|
|
image.workspace = true
|
|
lofty.workspace = true
|
|
notify = "8"
|
|
parking_lot.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tracing-subscriber.workspace = true
|