[mythtv-users] 0.27 mythmusic - possible file corruption?

Paul Harrison mythtv at sky.com
Wed Sep 4 20:47:56 UTC 2013


On 04/09/13 19:14, Jason Kitching wrote:
> Before I create a possible bug ticket has anyone ever witnessed, or 
> have any idea into the following?
>
> This afternoon I dropped all the mythmusic tables in mythconverg, in 
> an attempt to get mythmusic to recognize new ID3 tags
>
> I then restarted Mythfrontend and imported music files via 
> Extras/Tools/Import.
>
> Toward the end of the import, it came back with Failed pop up and no 
> files were added.
>
> I tried this several times and had the same result, so I did a restore 
> from my latest backup.
>
> Since then, I have noticed that nearly half of my music collection has 
> disappeared from the hard drive. The file names still exist but the 
> file size is showing as 0.kb
>
> This has affected both FLAC and mp3 files. I have looked at the file 
> properties, and they have a modified date of around the original 
> Import time.
>
> Now I realise that dropping the tables in the first place wouldn't 
> solve my ID3 issue, but surely that can't be reason as to why half my 
> music files are now corrupt?
>
> Jason

Did you perhaps try to import your music back into the same directory?

Note there is difference between scanning for new music and importing music.

http://www.mythtv.org/wiki/MythMusic#Importing_music_to_the_music_directory
http://www.mythtv.org/wiki/MythMusic#Scanning_the_music_directory

If you wanted MythMusic to pick up your new tags then Scan For New Music 
is what you wanted.

I'll add a check to prevent users trying to import their music on top of 
itself that can only cause trouble.

Paul H.


More information about the mythtv-users mailing list