Incomplete music files needing replacement after interrupted transfer (ref#68UPG6)

What’s happening?

· Something else

How can we help?

· None of the above

Other options

· Other

Describe the issue

Something interrupted a music transfer and some of my music files are incomplete and I am trying to replace them with the complete files. Can you help me figure out a faster way to do this process?

Describe your network setup

Ubiquiti Network Devices and Modem, Araknis Networks 100-series 8-port Unmanaged Gigabit Switch with Rear Ports

To clarify the screen shot. In my music folder the file for the song “Sunshine of Your Love” is not complete. It will only play for 8 minutes and then the playback stops and Roon will play the next song in queue. You can see the line with the highs and lows flatlines for the last minute on the Roon Remote view.

We had a system crash and had to reload our whole library into our Nucleus a few years ago. I have a hard drive with multiple versions of the same songs becuase during this process there was a problem during the transfers and they got hung up and I had to stop them (or they stopped themselves overnight) and I ended up with two or three versions of many of my music files.

The file information on the left is for two versions of this song and the version that is in the Roon Database is the one on the left. The one on the right is “Sunshine of Your Love 1” and that file is complete and will play the whole song.

Both files say they are the same size. Is there any fast way for me to sort through my library to find the complete versions of these songs. I have hundreds of songs that in my library that are the incomplete versions. I am attaching another screenshot of my 24 Nights album folder as an example.

I am also curious as to what is happening that the Roon display knows the song should be 9:10 and it also knows that there is only 8:00 worth of music in the file. Is there something in that data that I could use to sort out my problem files?

Thanks.

@Dave_Murphy ,
Try loading your library in Apple Music. Once you do so select “Songs” in the vertical left hand menu.

In the right hand selection, select the header of any column to add additional columns such as…

Size
Date Added
Date Modified
Skips
Last Skipped

This will help you with some investigative work I hope.

Can you identify corrupted files through either:

  • Settings - Library - Skipped files
  • Albums - Focus - Corrupt

Both should allow you to export the selection to excel or similar.

I do believe that your choice of M4A- file format is related to this mess though. I suppose they are ALAC files?

The safest bet is

1.Copy the good versions to a safe place
2. DELETE “corrupt” versions at source on the hard drive
3. Roon will catch up and internally note the file as deleted
4. Goto Settings>Library>Clean up Library, delete the files in the top section
5. Restore the good copies to the original HDD
6. Roon will import
Finish

This will ensure any part metadata , etc is not carried over from the corrupt versions

1 Like

Hi @Dave_Murphy,

Using Roon for restorative curatorial file management can be tricky, since it will be scanning waveforms and attempting to match them with known metadata objects from multiple places.

You can attempt to rescan the local drive or re-import this Watched Folder and see what appears in Settings → Library → Skipped Files or in Albums → Focus → Corrupt as @Mikael_Ollars suggested.

What are your import settings in Settings → Library? Please share a screenshot.

Long-term, the most thorough method is the one @Mike_O_Neill has outlined above, although it will require you to identify the “correct” track for each duplication.

Have you tried a third-party tool like Apple Music or DBPoweramp with more precise functionality for batch editing of local files than Roon? These programs won’t associate the local file with a metadata source immediately as Roon has in your case, so you should possibly be able to identify the corrupt file by the erroneous play length compared with the original.

Thanks for the suggestion:)

It won’t help here, but might help others. Another advantage of FLAC files over ALAC or WAV is that FLAC files have an embedded CRC from when created. At anytime in the future one can easily run a batch job on a complete library using many available FLAC tools and determine easily which files are corrupt (because calculated CRC won’t match the embedded CRC).

I often run dbpoweramp [TEST CONVERSION] and/or foobar2000 > utilities > verify integrity on my entire collection of about 130,000 FLAC files when I copy them to a new harddrive, just to confirm their integrity after copying.

1 Like

Thanks, I tried that but the results only returned 4 corrupt files so although it is good to get rid of them it did not point me to the many files with missing data. I have been making a list so I know which ones to look for and they were not the 4 this method found. I don’t think I will be able to get around just manually going through everything :face_with_peeking_eye:

1 Like

Thanks @connor . I did find 4 songs that were corrupt which I deleted and also a few hundred duplicates but they are not the ones that I know have the issue of being cutoff. I will try the DBPoweramp trial and see if that looks promising otherwise I am just going to manually slog through it.

Here are the screenshots of my import settings, if you have any suggested changes I am open to anything that will improve things. Thanks





Hi @Dave_Murphy,

We wanted to check in to see how this library restoration was progressing. An additional suggestion after reviewing the Import Settings you shared is to switch the Track Import Date selection to “File creation time” and see if Roon detects any obvious changes in creation data between the corrupt duplicates and the original track file. From the details we’ve ascertained so far, this method might not be exhaustive or even applicable, but it’s worth trying.

Please let us know in either case and we’ll assist as we can. Thank you!

Thanks, I am still in the process of reassembling the library. I had several different backups of different music libraries and I am combining them into one. I have found copies of the music files that are complete so the good news is that I have found them but I am also trying to take this opportunity to organize them as well which has been a pretty time consuming process.

I did delete the folders of a few artists as a test run and replaced them with the “intact” files and that has worked successfully so hopefully I am on the right path.

Thanks

Great, we’re glad things are progressing well for you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.