View Issue Details

IDProjectCategoryView StatusLast Update
0020838MMW 5Tagging / organizing (properties / auto-tools)public2024-07-26 00:25
Reporterlowlander Assigned To 
PriorityimmediateSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.1 
Target Version5.1Fixed in Version5.0.5 
Summary0020838: MediaMonkey allows files to loose extension (files no longer work)
DescriptionMediaMonkey can rename files to just the extension (no .) so the file becomes extentionless. MediaMonkey doesn't update the Path in the Library when this happens. This leaves no method of recovery for the files just renamed.

User in ticket Ticket 7028 reported this for organizing, it seems the Mask used for this is .\<Artist> - <Title>\\

It can be done manually be modifying Path/Filename leaving the file without extension. The result is that the file does get renamed (losing extension), and MediaMonkey doesn't update the Path in the database. Thus you end up with an orphaned extentionless file without ability to recover.

1) MediaMonkey should update the Path in the database when this happens (although 2 is meant to prevent this, I think it's useful to have this in place for recovery).
2) MediaMonkey should warn/prevent the loss of extension on files
a) When the user manually loses extension/changes extension MediaMonkey should warn user about this like File Explorer
b) When user use organizing tools they should evaluate and prevent loss of extension due to a bad Mask
Steps To ReproduceOrganize method
1 Use Mask .\<Artist> - <Title>\\
--> MediaMonkey shows old Path, File explorer has renamed file

Manual method
1 In Properties, remove filename, leaving just extension (name.flac > flac)
--> MediaMonkey shows old Path, File explorer has renamed file
Additional InformationTicket 7028
TagsNo tags attached.
Fixed in build2696

Relationships

related to 0019916 closedLudek Editing properties removes file extension from path/filename (with specific auto-organize settings) 

Activities

Ludek

2024-04-10 16:47

developer   ~0075072

I don't see the issue using the "Manual method" in the 'Steps to reproduce'..

BUT, I can confirm the "Organize method" using the mask
 .\<Artist> - <Title>\\

It really organizes the files without updating in database making mess and database full of deadlinks!
Good catch!

Ludek

2024-04-10 19:55

developer   ~0075080

Last edited: 2024-04-10 19:57

Fixed in 3014 and merged to 5.0.5.2696

The fix is that whenever the destination file has no extension then the source file path's extension is used, this way the extension is always preserved (without warning)

I think it's better than allowing to create files without extension -- as such a files wouldn't be re-scanned at all (wouldn't match supported file extensions by MediaMonkey)

peke

2024-07-26 00:25

developer   ~0076437

Last edited: 2024-07-26 00:25

Verified 3040

left resolved for decision will we create 2696?