getmusicbee.com

Support => Bug Reports => Topic started by: Music Noumon on April 11, 2019, 12:06:41 AM

Title: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 12:06:41 AM
When I scan iTunes folders for new files to enter into MusicBee,
some of those music files get truncated near the end.

There seems to be a bug that eliminates the end part of the songs.
What happens is that the song plays normally for awhile but then
suddenly there is a screeching electronic noise and the song goes
dead.    The progress bar and seconds counter continue to work
normally but the music is gone.

There is a bug that causes auto-truncation.
And it also affects play in iTunes and when I sync!
So I'm progressively losing my music!

I already lost 10 songs to this bug.
I don't know how many I will lose?
Perhaps there is a way to recover the lost data?
I hope so.
I don't want to redownload all the music I lost.

Can you please give me some feedback on this as soon as possible?
Title: Re: Losing my Music (to Auto-Truncation)
Post by: psychoadept on April 11, 2019, 12:17:21 AM
Well, MusicBee doesn't do anything with the audio in the files unless you use the file converter, so whatever the issue is, I doubt it's caused by MusicBee.  What file type are they? AAC?
Title: Re: Losing my Music (to Auto-Truncation)
Post by: sveakul on April 11, 2019, 12:29:10 AM
First of all, I don't have iTunes.  But some general comments following up on what psychoadept said:

1.  Be sure to keep a full original backup of all your music files somewhere other than your work folders, preferably on a separate removable drive.  Then you never have to worry about losing them if some operation goes wrong.

2.  Do the iTunes files have Digital Rights Management baked in, or are they 24-bit Apple Lossless by any chance?  Can you upload one of the affected files somewhere so we could take a look at it (https://getmusicbee.com/forum/index.php?topic=28365.msg157327#msg157327 (https://getmusicbee.com/forum/index.php?topic=28365.msg157327#msg157327))?

3.  How have you set up MusicBee to transfer the files?  A screenshot would help (https://getmusicbee.com/forum/index.php?topic=28168.0 (https://getmusicbee.com/forum/index.php?topic=28168.0)).  Are you doing any re-encoding (if so from what format to what)?

4.  What type (Windows Store, Portable, Installer) of MusicBee are you using, and what version?
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 12:49:57 AM
I'm using the Windows installer version 3.2.6760 for Windows.
Yep, the files are AAC.
I bought them all from the iTunes Store.

I'm not doing any special file conversion.
I just use the scan the files option in MusicBee.

I'm using iTunes 10.6.3
Maybe this older version of iTunes is causing the problem?

Maybe the files are not corrupted?
There might just be something wrong with the playback and timer?
There seems to be some electronic interference judging from the noise it makes.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: sveakul on April 11, 2019, 02:13:08 AM
Are you hearing the noise in both the iTunes player AND MusicBee?

Check if the AAC files contain DRM;  a couple of methods:  https://www.technipages.com/windows-how-to-check-if-a-video-or-music-file-is-drm-protected (https://www.technipages.com/windows-how-to-check-if-a-video-or-music-file-is-drm-protected) , https://www.technipages.com/itunes-how-to-tell-which-songs-are-drm-protected (https://www.technipages.com/itunes-how-to-tell-which-songs-are-drm-protected) .

Again, if you can upload one of the files that has the noises to a file-share site, so that we can download and test it, that would help too.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 02:44:13 AM
iTunes says it's a "Purchased AAC audio file"
I'm using an older version of iTunes that doesn't specify the DRM.

However, when I use Windows to check the file properties and details,
it says it's an MPEG-4 file and that it's not protected.
AAC is part of the MPEG-4 standard.


I'm hearing noises with the MusicBee player.
But iTunes doesn't make noise.
It just stops.    At the same time segment when MusicBee made noise.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 03:01:59 AM
I uploaded one of the corrupted AAC music files to  http://s000.tinyupload.com/?file_id=66772267805723556195
I hope this will give you the information you need.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: phred on April 11, 2019, 03:03:45 AM
I'm hearing noises with the MusicBee player.
But iTunes doesn't make noise.
It just stops.    At the same time segment when MusicBee made noise.
You've got issues with both players. One makes noise and the other stops at same point where the other makes noise. Your files are corrupt.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: sveakul on April 11, 2019, 03:58:55 AM
I uploaded one of the corrupted AAC music files to  http://s000.tinyupload.com/?file_id=66772267805723556195
I hope this will give you the information you need.

Thank you for uploading the file!

I threw 3 different players using wasapi-exclusive at it, and every one shows a sudden stop around 30 seconds before the "end."  MusicBee produced no strange noises, just a clean break like the others.  Spek.exe shows a spectrogram with the waveform cutting off at the same time.  This is a corrupted file, as phred observed, displaying the same results in any player.

How the file(s) initially became corrupted is anybody's guess, but my own is from an incomplete download when the file was initially acquired.

So it's not MusicBee's fault, but I'm sorry you ended up with them.  If I were you I would see if you can re-download them from iTunes, there must be some kind of option for that if you paid for but received incomplete files.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 04:22:32 AM
It's true sometimes the iTunes store doesn't download songs completely.
But I'm certain this wasn't the case with these songs.
I don't remember the files having been downloaded as incomplete.

I remember enjoying these songs in their entirety.
Even on MusicBee!
What happened was that successive scans corrupted the files.
I make changes a lot so I do a lot of scans.

I have another song that does make some noise at  http://s000.tinyupload.com/?file_id=71070574731659788781
I have some proof there is some noise.

Take another crack at it!
Solve what could be happening.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 04:36:50 AM
By the way, I'm only using iTunes and MusicBee.
No other music players.
I used iTunes for years and never had problems like this.
It's only once I started using MusicBee that this happened.

The more scans I do successively, the more songs get corrupted.
Especially the ones I didn't play for awhile.
The older and longer songs seem most affected.

This is a very serious bug when content is destroyed.
We must solve this.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: redwing on April 11, 2019, 01:09:19 PM
Are you saying scanning with MB corrupts a file?
So a song sounds normal and if you scan the song with MB then it suddenly gets corrupted?
Is this what you're saying and can you reproduce it?
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 02:01:43 PM
I'm only telling you what I'm experiencing.
The MB scan seems to corrupt the music files.
That's how it seems to me.
Whether MB is the cause I'm not sure.

Can I reproduce it?
What proof do you need?
I'll tell you all the conditions involved with my setup.

I'm using Windows 7 and iTunes 10.6.3
Maybe this older software is causing the trouble?
It might just be interference between two programs.

Title: Re: Losing my Music (to Auto-Truncation)
Post by: redwing on April 11, 2019, 02:08:19 PM
Are you using auto-organization setting with MB?
So if you scan a file with MB, does it get moved to another folder?
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 02:20:25 PM
It stays in the iTunes folder.
But the MB folder has all sorts of metadata files.
I don't see any music files in the MB folder.


Title: Re: Losing my Music (to Auto-Truncation)
Post by: redwing on April 11, 2019, 02:27:25 PM
Then scanning with MB won't touch your files at all.
Check the modification date of a file with Windows Explorer (right click> Properties) and try scanning the file with MB.
And then check if it changes the modification date of the file.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: redwing on April 11, 2019, 02:30:37 PM
You might want to check the modification date of all your corrupt files. That might give you a clue about what caused the corruption.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 03:17:53 PM
Some strange things are happening when I check the properties of the individual music folders.
Both songs I uploaded "sexy" and "patriarch" have 4 previous versions from
restore points but I never made any restore points or backups.

3/23/19, 3/8/19, 2/23/19 and 2/3/19 are the dates.

This seems consistent with the scans I did because I do a lot of them.

Checking for modifications of individual songs won't help because I modify the artwork
and other properties of songs a lot.
Perhaps the modifications are causing the problem because that requires access of the data?

Title: Re: Losing my Music (to Auto-Truncation)
Post by: redwing on April 11, 2019, 03:32:18 PM
Auto-creation of restore point is up to your Windows settings. So can you access the four versions and are they all fine?

People edit tags and save files all the time, but it won't cause such a corruption. I can assure you no one has ever reported such an issue with MB.

I think you should investigate the issue yourself. Choose a non-corrupt file. Then do with it what you're normally doing and find out what specific action causes the corruption.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 03:45:36 PM
I can access all four versions but they all have the corruption.
This corruption happened a while ago apparently.

Don't abandon me and abdicate responsibility for what MB is doing.
I'm telling you the scans are corrupting the files.
I modified the songs for years with iTunes without any problems.
I'm not using any other software for music other than iTunes and MB.

How am I supposed to investigate this myself?
Title: Re: Losing my Music (to Auto-Truncation)
Post by: redwing on April 11, 2019, 03:58:23 PM
Actually if you google "iTunes truncating songs", you will find lots of posts.

Something like this: https://www.kirkville.com/whats-going-on-with-truncated-itunes-downloads/

Also there are reports some versions of iTunes corrupts songs.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 11, 2019, 04:17:19 PM
It might be a bug in iTunes that gets "activated" by the MB scan?
I never noticed this problem with iTunes alone.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Steven on April 11, 2019, 05:21:21 PM
It might be a bug in iTunes that gets "activated" by the MB scan?
I never noticed this problem with iTunes alone.
Scanning a file in MusicBee does not alter a file in any way as redwing has already stated.
In likelyhood your files were already corrupted, and editing tags on corrupted files can make it worse, especially for mp3 files - where the behaviour between different players can differ with how the corruption is handled. Infact something like this recently on the bass forum
http://www.un4seen.com/forum/?PHPSESSID=9bba8o269uuqfq1obb00nnk5d7&topic=18486.msg129666#msg129666

I am not interested in responding further to this as I think you have been sufficiently answered already.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: redwing on April 12, 2019, 12:28:53 AM
Based on the corruption pattern of your uploads, it probably happened when you're downloading them from iTunes Match that my previous link discusses.
You might want to find out what other files are corrupt in your collection and contact Apple for re-downloading them.

MB's wavebar (right click on the player bar> panel layout> wavebar) can help you when you're looking for songs with a long tail at the end like your "Patriach" track:

(https://i.imgur.com/EB35ypv.png)
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 12, 2019, 01:05:30 PM
Thank you so much redwing for sticking with me.
The wavebar will help me identify songs
This will help.

I'm glad to hear it's not MusicBee.
I was worried the problem would be progressive if it was.
So you're confident I won't lose any more music?
I hope not.

I'll keep you informed a few weeks from now if other songs suddenly get corrupted.
Because that would not be explainable by the iTunes downloads.
I hope this doesn't continue.    I love MusicBee.
I'm very happy with this software otherwise.

Thank you for all your efforts to help me resolve this.
Title: Re: Losing my Music (to Auto-Truncation)
Post by: Music Noumon on April 12, 2019, 02:18:47 PM
I checked a lot of songs with the MB wavebar.
Less than 1% are affected.
I was worried all my music would "disappear".
But it doesn't seem that bad.

Once again, thank you for your efforts.

Title: Re: Losing my Music (to Auto-Truncation)
Post by: redwing on April 13, 2019, 01:50:28 AM
So you're confident I won't lose any more music?
I hope not.

I'll keep you informed a few weeks from now if other songs suddenly get corrupted.
Because that would not be explainable by the iTunes downloads.

Again, it seems you have been discovering your already corrupted music files while using MB.
So make sure they were not already corrupted when you report such an issue.