Old 2nd April 2001, 21:04   #1
postitlord
Junior Member
 
postitlord's Avatar
 
Join Date: Apr 2001
Location: Toronto, Ontario, Canada
Posts: 20
In the playlist, that shows all the files' names:
Why does WinAmp show the .mid extension on MIDI files, or say for example the .spc extension on SPC files, but nadda for an MP3?
Do MP3's get special treatment because you save all this wonderfull extra info inside their tags?
postitlord is offline   Reply With Quote
Old 2nd April 2001, 22:59   #2
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,913
Yes!
However, if you edit your pls / m3u playlist in Notepad, you can change the display info to whatever you wish.
Save the playlist using "List -> Save" function (bottom rt button), then open saved list in Notepad & it will all become clear . . . aesthetically speaking !
DJ Egg is online now   Reply With Quote
Old 3rd April 2001, 02:21   #3
postitlord
Junior Member
 
postitlord's Avatar
 
Join Date: Apr 2001
Location: Toronto, Ontario, Canada
Posts: 20
An .M3U file with MP3s:
#EXTINF:123,Sigma
MMX4\Sigma.mp3

An .M3U file with SPCs:
#EXTINF:45,Zero.spc
MMX1\Zero.spc

The difference? The MP3 extension info has the suffix cut off. The ext. inf. for an SPC was not. Why?

Why does winamp make MP3s look better in the playlist than other file types?

I have tried to manually remove the extension from the M3U file, and it's gone when I merely LOAD the playlist, but the next time I play that SPC or MID or ANY-NON-MP3-FILE, it PUTS IT BACK! Why WHy WHY!?
postitlord is offline   Reply With Quote
Old 3rd April 2001, 21:12   #4
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,913
Weird! It works for me . . . definitely for MID files (I've not got any SPC's).
Tho' I agree with you about other formats such as MOD & WMA.

The only relevant settings I can think of:
Prefs -> Input -> MIDI Plugin -> Config -> Files tab
Click "Kill cache" button / uncheck "minimize disk access"
Prefs -> Options
Read titles on : Display
Uncheck : Sort files on load

Editing the relevant #EXTINF section of the m3u should work for MID files.
DJ Egg is online now   Reply With Quote
Old 3rd April 2001, 23:54   #5
Sawg
Guest
 
Posts: n/a
It has to do with the Input plug-in and how it is displayed in WinAMP. The MPEG Audio decoder has options for formating file names with and without ID3 tags, this gives the clean look. Other formats input plug-ins do not have this. Like the MIDI plug-in.
  Reply With Quote
Old 3rd April 2001, 23:59   #6
postitlord
Junior Member
 
postitlord's Avatar
 
Join Date: Apr 2001
Location: Toronto, Ontario, Canada
Posts: 20
Okies, I downloaded the newer plugin you suggested in my other Thread (http://www.blorp.com/~peter/midi.htm).
I've figured it out!
When I loaded an older playlist, it still loads each file with it's ( [coughs] incorrectly) added extension .MID.
However, when I actually play that file, the plugin will analyse it and decide the extension is not necessary.

It's the Plugin-MAKER's decision. When they first draft their plugins, they don't care WHAT #EXTINF is saved, they'll just save enough to make the M3U playlist work ("Copy and Paste the filename ..."). But when someone backtracks later to make it look pretty, they'll edit out the (aesthetically) useless extension.

I guess the people who made pluggins for MOD and WMA [cough] are lazy bums!

Now I have a couple dozen playlists for just over 900 midis to fix. I can
A) Open each M3U file and manually delete the last 3 letters
B) Open each M3U file into WinAmp, hit the FastForward button until every midi has been cycled thru, and save that.
C) Write a program that opens every M3U file in a specific directory, and truncates all files name EXTRAs...
postitlord is offline   Reply With Quote
Old 7th April 2001, 23:32   #7
Sawg
Guest
 
Posts: n/a
I was bored so I whiped this up really quick.

http://www.public.asu.edu/~abarber2/m3uClean.c

and the Binary:
http://www.public.asu.edu/~abarber2/M3Uclean.exe

code:

/* Andrew Barber
* abarber2@ix.netcom.com
* April 7, 2001
*
* M3UClean
*
* Removes the .ext from the extended info field of M3U Playlist files. Works
* on stdin/stdout.
*
* Usage:
* M3UClean < old.m3u > new.m3u
*/

  Reply With Quote
Old 8th April 2001, 01:22   #8
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,913
weyhey!
DJ Egg is online now   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump