mirror of
https://github.com/afkarxyz/SpotiFLAC.git
synced 2026-04-25 23:25:57 +03:00
[GH-ISSUE #122] v6 FLAC Corruption: Header issues / Truncated streams #102
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SpotiFLAC#102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kaspy003 on GitHub (Nov 27, 2025).
Original GitHub issue: https://github.com/afkarxyz/SpotiFLAC/issues/122
First off, thanks for the v6 update – the app runs smoothly on macOS now. However, I’m encountering a critical issue regarding the integrity of the downloaded FLAC files.
Issue Description: A significant number of FLAC files downloaded with v6 appear to be corrupted or malformed. I suspect an issue with how the file headers are written or how the stream is finalized.
Symptoms:
Playback Issues: Players (tested on both macOS and Windows) fail to parse the file correctly. They either display an incorrect total duration or the track cuts off prematurely.
Transcoding Failure: Attempting to convert these FLACs to MP3 (using ffmpeg or other converters) fails immediately, throwing "corrupted file" or "invalid stream" errors.
Cross-Platform: The issue persists across different operating systems and players, ruling out a local decoder issue.
Steps to Reproduce:
Download a track/playlist in FLAC format using SpotiFLAC v6.3
Attempt to convert the output file to another format or check the stream integrity.
It looks like the container isn't being closed properly or the metadata chunks are interfering with the audio stream.
Let me know if you need any specific logs or sample files.
@afkarxyz commented on GitHub (Dec 8, 2025):
Fixed!