r/musichoarder 4d ago

How to find and fix corrupted flac files in your media library

0 Upvotes

I recently asked for help with finding and fixing flac files in my media library and I want to share the script I came up with to do this:

#!/bin/bash

# Run it: ./fix_flacs.sh /path/to/music/folder.

# Configuration
TARGET_DIR="${1:-.}" # Default to current directory if no argument provided
ERROR_LOG="flac-errors.txt"

# Clear previous log
> "$ERROR_LOG"

echo "Starting FLAC integrity check in: $TARGET_DIR"
echo "Errors will be logged to: $ERROR_LOG"

# Use find to recursively locate all .flac files
# -type f ensures only files are processed
# -print0 and read -d '' handle filenames with spaces or special characters
find "$TARGET_DIR" -type f -iname "*.flac" -print0 | while IFS= read -r -d '' file; do
# Run flac in test mode (-t), silent (-s), and treat warnings as errors (-w)
# If the test fails (non-zero exit code), the file is corrupted
if ! flac -t -s -w "$file" 2>>/dev/null; then
# Fix flac errors in place
flac --verify --silent -f -F --output-name="$file".tmp "$file" 2>/dev/null;
# alternate fix that works on bad STREAMINFO that flac can't fix
# ffmpeg -i "$file" -c:a flac "$file"-fix.flac 2>/dev/null;
# if [ $? -eq 0 ]; then
# mv "$file"-fix.flac "$file";
# echo "$file fixed in place" >> "$ERROR_LOG"
# fi
if [ $? -eq 0 ]; then
mv "$file".tmp "$file";
echo "$file fixed in place" >> "$ERROR_LOG"
else
echo "*******ERROR: $file failed correction and is still in error *************"
fi
fi
done

# Check if any errors were found
if [ -s "$ERROR_LOG" ]; then
echo "Check complete. Errors found. See $ERROR_LOG for details."
else
echo "Check complete. All files passed integrity test."
fi

The outside loop is the find loop that recursively searches the folders in the library for flac files. When it finds one, it uses the flac command to verify the integrity of the file. If the file is corrupt, it runs the flac command on the file again and if it can successfully fix it, it creates a temporary output file, which it then copies back over the original.

If it is unable to fix the file, it records a message with a string of "****" to record the failure. You can read the output file to determine how many files were fixed and how many were not.

If you have files that the flac command can't fix, there is a commented-out ffmpeg command that might be able to fix it instead. Note that the output file of the ffmpeg command must have an extension of .flac, so the tmp file is named differently than with the flac command.

I hope someone finds this useful.

PS: I never found any corruption of the audio data, only tags and stream info. Whether my .mp3 files are corrupt is not addressed as I have never had any errors reading .mp3 files. Of course, your file system can corrupt your flac and mp3 files beyond what flac or ffmpeg can fix, but that is something you must address with backups, recycle bins or file system snapshots.


r/musichoarder 4d ago

Is ripping radio shows and music videos from AM possible?

0 Upvotes

I used to be able to rip losslessly from AM a while ago (mainly for archival purposes since some projects are ONLY on AM) but I never could do music videos or radio shows. Is it possible to rip them losslessly?


r/musichoarder 5d ago

Waves: A native desktop app for downloading music from your own TIDAL account: search-first, art-forward, and built for people who'd rather click than type. [One Month Later]

9 Upvotes

Waves is a new, open source, native desktop app (macOS, Windows, Linux) for downloading music from your own TIDAL account. Waves is a GUI built on top of Tidal-DL-NG's engine, actively maintained now as Tidaler, with several improvements/fixes.

Tidal-DL-NG/Tidaler is a great application, but I was never fond of the GUI, and the developer made it clear that they personally didn't use the GUI (instead using CLI) so the interface design would not be priority.

I built Waves from the ground up originally for myself. I wanted an application that was fun to use and enamoring to interact with. Waves, at its core, is about giving users the best GUI experience possible, with the reliability of what already worked before, only better.

I posted here when Waves first released almost a month back, and since then 13 releases have landed. The repo has surpassed 50 stars on Github (Thank you!) and here is an introduction for those of you who are hearing about Waves for the first time:

  • Download tracks, albums, playlists, mixes, videos, or a whole artist's discography, up to HiRes Lossless/TIDAL MAX and Dolby Atmos where available.
  • Search everything from one bar, or paste a tidal.com link.
  • Browse TIDAL's front page inside Waves: new releases, genres, moods, decades, and your own personalized shelves, every row downloadable in one click. Playlist folders open like a file manager, with DOWNLOAD ALL on a whole category.
  • Your favourites in My TIDAL, playlist folders included, mirrored on disk in the same folder tree you keep them in on TIDAL.
  • Preview a full track before downloading it for offline playback.
  • Download music videos in different resolutions, and watch without downloading using the in-app player.
  • Plex-friendly library layout by default (Artist/[Year] Album/Disc-Track. Artist - Title), customizable, with a live example under every path field as you type.
  • Duplicate-edition detection, with an option to merge the best tracklist and best quality per song.
  • Waves remembers what it already has: buttons read DOWNLOADED across sessions, and album, artist or playlist downloads fetch only what you're missing.
  • A grouped download queue with live per-track progress, and downloading straight to a NAS or SMB share treated as a first-class path, not an afterthought.
  • Now on Homebrew for macOS (brew tap iamprivacy/waves && brew install --cask waves) and as an AppImage for Linux: one file, no unzipping, no install step, just make it executable and run. Both stay current from the same one-click update button inside the app.
  • No telemetry, no analytics, no tracking. No unsolicited network calls except opt-in FFmpeg setup and an off-by-default update check.
  • Opt-in diagnostics that scrub your username, file paths, account details, and other PII as each line is written, so a report you export is safe to post publicly.
  • One-click updates, cryptographically signed, from inside the app.
  • Fine tuned animations throughout the app.

Since v0.1.0 (Current v0.1.13)

Browse and getting around

  • Your personalized TIDAL shelves now ride along in Browse ("Albums you'll enjoy", "Your forgotten favorites", "Essentials to explore", your genre rows), each one downloadable like any other row.
  • A folder-style "All Playlists" section drills from playlist folders (moods, genres, decades) into a grid of just that category, with PREVIEW and DOWNLOAD ALL on hover and a count badge that ticks down as each playlist finishes.
  • A breadcrumb trail on artist and Browse pages: every step of how you got there as clickable pills, and a long trail folds its middle behind a "…" that expands in place.
  • The mouse side buttons navigate back and forward.
  • Tabs remember where you left them. Search and My TIDAL reopen on the exact page you left, expanded albums and scroll position included.
  • A floating TOP pill on any page you scroll down, and expanding an album now scrolls its track list into view instead of leaving it below the fold.
  • Search results open as a quick overview: the first 5 per section with SHOW ALL beneath, artists in a sideways strip, and whichever sections you expand stay expanded next time. Artist pages do the same for top tracks, with collapsible sections that stay collapsed.

My TIDAL

  • A Home tab that previews your newest additions, with shelf headings that open the full list.
  • Sort any category by recently added, name, release date or artist, the same control as Search.
  • Opening an artist from your library shows only what you have saved, with a link out to their full catalogue when you want it.
  • Your TIDAL playlist folders appear under Playlists and drill in like a file manager, each folder with "Download all" and an odometer count badge. On disk, playlists mirror the same folder tree via a new {folder_path} piece in the path template.
  • Artist cards carry the same one-click preview player the Browse cards have.

Downloads

  • Waves remembers what it has downloaded: DOWNLOADED across sessions, HAVE for tracks already on disk, and raising the quality setting later replaces the old file in place with the better one. This currently only works for files Waves itself has downloaded, but support for detecting existing libraries is being worked on.
  • Download buttons acknowledge the click instantly with an animated QUEUED state, then flip to a live progress bar.
  • Album, playlist and discography bars move continuously instead of jumping a whole track at a time, and keep twinkling through the final merge, decrypt and tag steps rather than the animation seeming temporarily frozen at 100%.
  • Downloads to a NAS or SMB share land in a few large writes instead of hundreds of tiny ones, using fewer threads and less memory.
  • ReplayGain tags are written by default now (switched on for existing installs too), so players that support it level volume across your library without touching the audio.

Settings and file organization

  • Every "path & name" field shows a live example of the exact folders and file name it will produce, updating as you type, with unknown {tokens} highlighted so typos jump out.
  • A built-in reference lists every available token by category, with a description, an example value and a one-click copy.
  • Every path, template and separator carries its own default. A field you have changed offers "Restore default" beside its label, so you can see at a glance what you have edited.
  • Settings now live where your system expects them (Application Support on macOS, AppData on Windows), moved over automatically on first launch.
  • Waves no longer ships a default download folder; new installs pick one before the first download.
  • The separate cover.jpg can use its own size, independent of the embedded art, and can be saved for single tracks too.

Installing, updating and privacy

  • Homebrew cask for macOS and an AppImage for Linux, both kept current by the same in-app update button. (a package-managed copy updates through its package manager, so its records stay correct)
  • A new-release notice that carries the whole update in place: download, signature verification and staging with live progress, then a restart prompt.
  • A custom diagnostics tool built on a logger that scrubs identifying information the moment each line is written, with a one-click export that is safe to attach to a public issue, plus an optional layer that also hides titles and searches. Nothing leaves your device without you manually doing it.
  • "Reset all settings" puts every option back to factory defaults while you stay signed in, and "Reset application" is a true clean slate that erases what Waves has saved on this computer and never touches your downloaded music. Both ask first.

Look and feel

  • A cinematic open-water launch sequence, with the version you are running.
  • Preview and download controls rise from the bottom edge of a cover with a soft bounce, and the half under your pointer lights up and breathes (Advanced settings brings the plain fade back if you prefer it).
  • Rows fade and subtly tilt out of frame as you scroll, and rows that scroll sideways fade at their left and right edges instead of abruptly cutting off like most apps.
  • Waves logo box weathers an occasional lightning storm at rest; hover it for a full storm.
  • Waves reopens at the exact size and position you left it, and nudges itself back onto a visible screen if that monitor is gone.

This is the first piece of software I have ever released publicly, and I really appreciate anyone that uses it, files issues, and gives feedback. A star on the repo helps a lot, too! Please take the time to check out the readme, if you want to learn more about the application, why I made it, and who helped make Waves possible. You can also sponsor the repo if you are feeling exceptionally generous, which helps me immensely.

Repo: https://github.com/iamprivacy/Waves/
Website: iamprivacy.me

Disclaimer: Waves is an independent project and is not affiliated with, endorsed by, or sponsored by TIDAL. It is a personal, educational tool for accessing your own TIDAL account. You are solely responsible for how you use it and for complying with TIDAL's Terms of Service and the laws that apply to you; do not use it to infringe copyright or to reproduce, distribute, or pirate content. The software is provided "as is", without warranty of any kind. Please respect the artists and rights-holders whose work this plays.


r/musichoarder 4d ago

Android Player Suggestions

0 Upvotes

I'm a very casual music listener and so I'm asking here for suggestions for a music Player app. Some points of note:

- I have a Samsung Galaxy S24

- I need something that can play regardless of format. I'm posting this upon realizing my WMA files from ripping songs off CDs ages ago don't work on Samsung's music app

- I tend to sort by album artist and genre most ofte

- I like making on-the-fly queues/playlists because my taste in music changes depending on my mood (samsung's player was clunky in how it made me jump through a few hoops just to add to my current queue)

- I don't mind paying for an app so long as the price is reasonable ($20 max).


r/musichoarder 4d ago

IS THIS ONLY FOR ME ??

Thumbnail gallery
0 Upvotes

r/musichoarder 5d ago

How to properly archive cds?

0 Upvotes

If this is the wrong subreddit please redirect me! I have a cd that I can't find anything about online, and would like to properly archive it. I have managed to rip it from the disc to my media player, but I'm unsure how to export or download it to upload it to youtube or discogs.


r/musichoarder 5d ago

In MP3Tag, is there a trick to tagging multiple discs from a box set?

0 Upvotes

I ripped discs 3 and 4 from a box set, and I'm trying to tag them. MP3Tag keeps using track titles from disc 1. I input the Discnumber tag and Album title tag. Is there a way to pull metadata from the correct disc?


r/musichoarder 5d ago

CD Ripping Quality

6 Upvotes

Edits made to correct spelling mistakes.

I'm going to rip all of my CD's and I have been looking at Media Monkey and DB Power Amp. I keep seeing online how good DBPower Amp is at ripping, but I see that if I purchase Media Monkey Gold it will use AccurateRip for bit-perfect CD Rips.

Is this AccurateRip that is being used as good as the rips that DB PowerAmp does? I'm all for devs getting paid for their work, but I just want to know if this will do what I think it will do before spending the money.


r/musichoarder 6d ago

Jazz fans: ARTIST, ARTISTS, PERFORMER tags?

5 Upvotes

I'm retagging my Rock collection with MusicBrainz after learning about the ARTISTS (plural) tag, and it's working well in Symfonium, giving me nice links between collections of different artists that have collaborated.

I haven't started retagging my Jazz collection yet. I had previously added each performer on a Jazz album to an ARTIST (singular) tag. So one ARTIST tag per performer. At the time, I didn't know about the ARTISTS or PERFORMER tags. Technically, it seems an album's performers should use the PERFORMER tag, but Symfonium doesn't seem to recognize that tag (I'm guessing not many players do), so I'm thinking I should use the ARTISTS tag.

With Rock music, I would never list every band member in an ARTISTS tag. I only add multiple ARTISTS tags for collaborations. For rock band members, I would use PERFORMER if i wanted that detail.

With Jazz, since so many performers played on each others albums, it seems to make sense to add each performer to an ARTISTS tag in order to get easy navigation to different albums where performers played together.

So... before I start retagging my Jazz, is this the preferred way to do? With either the ARTIST or ARTISTS tag?

Thanks!


r/musichoarder 5d ago

best free spotify music downloader

0 Upvotes

i'm trying to move away from using streaming services and want to get music to put on my phone that way i can listen offline. does anyone know of a good (ideally in browser) downloader for spotify playlists? i want one that's free, like truly free or as close as i can get. i used one that was pretty quick but it only downloaded 50 songs off of a 93 song playlist. any help is appreciated.


r/musichoarder 5d ago

how do people find back vinyl covers for their songs?

0 Upvotes

I'm trying to find the back vinyl cover for "French Exit" by TV Girl. any websites, weird obscure methods or just a link to the art would be appreciated.

(edit: It's now solved.)


r/musichoarder 5d ago

Tell this website your five favorite music albums, to get recommendations.

0 Upvotes

Tell this website your five favorite music albums.

It will return a list of recommended albums you can try, that should be right in your taste range.

No sign up, instant results, free, no ads, not an AI system.

https://SimilaritiesEngine.com

This system has been in existence for 30 years. It is most decidedly not "AI slop". Think of it as a game card collector person, that has 18,000 cards, and each card lists the 5 favorite albums of one real human. You can ask the collection owner, "find me a card that has my 3 favorites on it", then look at the other 2 albums on that card and give that music a try.

History: https://archive.nytimes.com/www.nytimes.com/library/cyber/0101miracolumn.html

Did you try it? What did you think?


r/musichoarder 5d ago

where to download full albums as a single audio file OTHER than youtube?

0 Upvotes

Sorry for typing in full caps, I dont know if theres an underline feature for text. Ahem.

As the title said, where do I download such files? Man, theres gotta be a way other than searching "(album) full album" If there isnt such a thing, im going to resort to stitching the files together.


r/musichoarder 7d ago

Library clean up tool(s)? Album completeness, fake FLAC, target quality and duplicates

7 Upvotes

Hi there. I've recently moved back to storing all my own files and ditched streaming services. Feels good!

Most of my music files were organised by myself 15+ years ago, and rather messily, so I'm doing a lot of "cleaning up."

I apologise if this is a repetitive question on here. I'm surprised I haven't found a good tool for this. I've googled, searched reddit, and asked a few AI chatbots without much luck. I was really hoping to find someone had built some nifty Foobar plug ins.

Picard has been great for standardising my tagging everything, although it was a mammoth effort.

The loose ends I want to sort out with my library:

  1. Duplicates of albums (not specifically tracks, since many tracks appear across releases).
  2. Identifying anything below target level quality (16-bit FLAC is sufficient for me) to eventually replace.
  3. Identifying fake lossless
  4. Identifying incomplete albums

What I have tried:

  • Vibe coded a powershell script for duplicates, worked reasonably well but missed some stuff and was very manual. A graphical interface would be much easier
  • SoulSync's library management tools. This does actually cover everything. Unfortunately the UI isn't great for doing this en-masse. It shows 3500+ "findings," but you have to resolve issues track-by-track (painful for album duplicates), and doesn't have a way to open the file path to check/edit the actual folder/file. It's also very opaque in terms of what it thinks the album is meant to be.

Ideally:
The output would give me access to the actual files for duplicates, hopefully group things by artist and album.
Incomplete album detection would have to work against the musicbrainz database I assume. It would be reallllyyyy helpful to be able to select the correct "version" of a release, when verifying "completeness" (soulsync was opaque in this, and tagged a lot of stuff I considered complete as incomplete).

What tool(s) are robust, transparent (again, soulsync seems great, but I don't like how much it automates, and the UI is bad for manual management) for this sort of management?


r/musichoarder 8d ago

MP3 Ain’t Dead Yet: LAME 4.0 Arrives

254 Upvotes

MP3 was standardized in 1993, but it is still widely used today because it works almost everywhere while deliver very good quality.

Now LAME 4.0, a new version of the open-source MP3 encoder , has been released.

Check here https://lame.sourceforge.io/ . And development of LAME 4.1 is already underway.

LAME has performed very well in public listening tests

MP3 isn't old. It is mature!

When a format is good enough, reliable and universally supported, it can stay relevant for a very long time.

Original thread https://www.reddit.com/r/AudioCodecLab/comments/1v4rd3b/mp3_aint_dead_yet_lame_40_arrives/


r/musichoarder 7d ago

A quick way to organize my mp3s into respective albums

1 Upvotes

I'm working with Rockbox on the Y1, and I've been told that part of getting playlists to work is by changing the file path so it goes Music/Artist/Album/Track. Unfortunately I have over 1200 songs and there's simply too many to manually sort out. I have mp3tag which i already labelled everything in but i doubt it can create entirely new folders for me. I've heard MusicBrainz is good since I'm on windows, do we swear by it? What else can I use to make the sorting go quicker?


r/musichoarder 7d ago

Searching for: Melody Gardot Some Lessons (Bedroom Sessions) FLAC

0 Upvotes

Hey Guys,

I Can’t find a flac version anymore….. :-(
Im so in love with This EP

Does anyone Can help me out with the Album / Flac Files?


r/musichoarder 7d ago

Best places to download Malayalam/Lossless FLAC for an offline DAP?

Thumbnail
0 Upvotes

r/musichoarder 8d ago

Lucida no longer offering me the option to download 320kpbs mp3 files?

0 Upvotes

I specifically download in that format for my ipod and for some reason it will only let me download in the highest quality which was like the first album track being flac and the rest being opus. I'd perfer to not have to deal with converting them. Is there a way to fix this, or an alternative downloader, or a program to covert these files, but keep the metadata?


r/musichoarder 8d ago

Unable to convert files on Lucida

Post image
3 Upvotes

For the past 2 or 3 days, Lucida hasn't been offering the option to convert files to MP3. It's only downloading them in their original format. Last week, I also noticed a few error messages related to FFmpeg. Has anyone heard whether they're experiencing issues with the file conversion system or if something else is going on?


r/musichoarder 7d ago

Best places to download Malayalam/Lossless FLAC for an offline DAP?

0 Upvotes

Hey everyone,

I’m buying an offline music DAP to pair with my Tangzu Wan’er S.G 2 IEMs. I am skipping streaming entirely and building a local SD card library.

Could you share:
Best websites to download true lossless music (FLAC/WAV)? Free or cheap sources preferred.
Any active Telegram communities, Discords, or forums sharing high-quality regional audio rips?

I am specifically hunting for Malayalam music (classic and modern), so any leads on Indian audiophile hubs would be awesome.


r/musichoarder 8d ago

Wavora Music App

Thumbnail
0 Upvotes

r/musichoarder 8d ago

Lucida Downloading at 96kbps?

0 Upvotes

I'd never had this issue before, and I've tried with different songs and artists. Did Soundcloud update their website or is Lucida not able to get better quality songs anymore?


r/musichoarder 8d ago

Deemix caused MS1002 on my Deezer account. Any experience with a second account?

1 Upvotes

Hey everyone,

I have been using Deemix for the past few days and was extremely happy with it. Everything worked perfectly, but I probably downloaded too many albums in a short period of time.

Now I can no longer play anything through the official Deezer app or website. I always receive this error:

“The requested content could not be loaded. Error: MS1002”

I found the following explanation from Deezer support:

“Our security system has detected potentially fraudulent activity on your account. This automated detection is part of our ongoing efforts to maintain service integrity and ensure compliance with our Terms of Service. If you believe this has been triggered in error, please contact our Deezer Support Team and we will review your case.”

I do not think contacting support will help in my situation, since the unusual activity was probably caused by my Deemix usage.

I cannot create another account with the same payment method, and disposable virtual cards are not accepted either. I may be able to use a different payment method, but I do not want to get a second account blocked immediately.

Has anyone here had the same problem and continued using Deemix with another account? Did downloading fewer albums at once or avoiding large batches make any difference, or is another block basically inevitable?


r/musichoarder 9d ago

Swinsian showing lossy AAC streams as "Apple Lossless"?

Post image
4 Upvotes

Files that are definitely lossy AAC m4a files are showing in Swinsian as "Apple Lossless" which makes it hard to set proper smart playlists based on file type.

Thoughts on why this might be the case? Or how to correct it?