Opened 2 years ago

Closed 2 years ago

#18195 closed bug (duplicate)

File Type identifiers don't always work

Reported by: SamuraiCrow Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Add-Ons/Tracker Version: R1/beta4
Keywords: Cc:
Blocked By: #10067 Blocking:
Platform: x86-64

Description

I created a file type in the appropriate Tracker add-on for ScreamTracker 3 Modules. Since my collection of files has both .S3M (uppercase) and .s3m (lowercase), I declared both as file extensions. When I select all of the files in my music mods folder and tap the file menu, all of the filetypes refresh except s3m and S3M. They still get identified as generic.

Once I select the ScreamTracker 3 Module file type manually, the files will play in MediaPlayer (presumably using the OpenModPlugTracker plug-in). Other file types with case sensitive formats added work fine though. Files ending with .it are identified as ImpulseTracker Modules and files ending with .mod but not having spaces in the filename are correctly identified as Protracker Modules. (Protracker mods with spaces in the filename are incorrectly identified as patch files and may be a related problem.)

Change History (2)

comment:1 by pulkomandy, 2 years ago

We don't use file extensions to recognize files. If you want files to be identified automatically, you have to add a sniffing rule to identify them based on their contelts.

comment:2 by pulkomandy, 2 years ago

Blocked By: 10067 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.