Skip to content

The downloaded lossless file does not meet the specifications. #2854

@thumb2086

Description

@thumb2086

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

The downloaded file is incorrect; the lossless format is incompatible. I discovered this while playing it with echo.

Expected Behavior

Compliant with all types of standard FLAC files

Steps to reproduce

Download lossless music FLAC files

Logs

Version: v3.0.722_603d72b(722) nightly
Extension ID: unified
Track: {"id":"1000008431","title":"无可奈何","cover":{"type":"dev.brahmkshatriya.echo.common.models.ImageHolder.ResourceUriImageHolder","uri":"content://media/external/audio/media/1000008431/albumart","crop":false},"artists":[{"id":"808372","name":"承桓","extras":{"extension_id":"echo-offline"},"isFollowable":false,"isShareable":false}],"album":{"id":"2982618058298516782","title":"无可奈何","artists":[{"id":"808372","name":"承桓","extras":{"extension_id":"echo-offline"},"isFollowable":false,"isShareable":false}],"extras":{"extension_id":"echo-offline"},"isShareable":false},"duration":209933,"releaseDate":{"epochTimeMs":1735744307354},"extras":{"genre":"未知","addDate":"1763304704","trackNumber":"null","extension_id":"echo-offline","cached":"false"},"streamables":[{"id":"/storage/emulated/0/Download/Spotube/无可奈何 - 承桓.flac","quality":0,"type":"Server","title":"/storage/emulated/0/Download/Spotube/无可奈何 - 承桓.flac","extras":{"extension_id":"echo-offline"}}],"isHideable":false,"isShareable":false}
Stream: {"id":"/storage/emulated/0/Download/Spotube/无可奈何 - 承桓.flac","quality":0,"type":"Server","title":"/storage/emulated/0/Download/Spotube/无可奈何 - 承桓.flac","extras":{"extension_id":"echo-offline"}}

---Stack Trace---
dev.brahmkshatriya.echo.playback.exceptions.PlayerException
at coil3.RealImageLoader$execute$2.invokeSuspend$dev$brahmkshatriya$echo$playback$listener$PlayerEventListener$onPlayerError$1(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:41)
at coil3.RealImageLoader$execute$2.invokeSuspend(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:6)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:9)
at kotlinx.coroutines.DispatchedTask.run(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:109)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:4)
at kotlinx.coroutines.scheduling.TaskImpl.run(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:3)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:1)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:58)
Caused by: androidx.media3.common.ParserException: First frame does not start with sync code. {contentIsMalformed=true, dataType=1}
at androidx.media3.extractor.flac.FlacExtractor.read(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:595)
at androidx.media3.exoplayer.source.ProgressiveMediaPeriod$ExtractingLoadable.load(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:227)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.run(r8-map-id-716bfd9cf2b90256518cea494ecc4c5a3c52363cb502f9b81bcef91994c0ff92:35)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)

Operating System

Android 13

Spotube version

V.5.1.0

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions