Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 1st August 2009, 13:15   #1
synthetiq
Senior Member
 
Join Date: Nov 2004
Location: Portugal
Posts: 153
Sorting tagged mp3's by tracknumber in the playlist window

just a question:
i would to know the difference between choosing:
"Misc"
"Sort"
by title or by filename or by path and filename
for eg.: i have a folder with several TAGGED mp3's and i would like to have all of them in the playlist window ordered by track number, but if the filenames are for eg.: track names inside the folder are:

intro
music
i like you
love love love
...

and ALL FILES ARE TAGGED WITH THE TRACKNUMBER FIELD, 1,2,3 etc.

is this possible?
thankx
synthetiq is offline   Reply With Quote
Old 13th August 2009, 09:19   #2
Sawg
Forum King
 
Join Date: Jun 2000
Location: Phoenix, AZ
Posts: 7,456
Send a message via ICQ to Sawg Send a message via AIM to Sawg Send a message via Yahoo to Sawg
Sort by filename: SongA.mp3, SongB.mp3, etc...
Sort by Path and Filename: C:\Music\A\SongA.mp3, C:\Music\B\SongDelta.mp3

Neither sort by track unless they are specified in the title.

| Brought to you by ^V ^C | The one... the original... no seriously!
Sawg is offline   Reply With Quote
Old 6th March 2010, 19:11   #3
bur2000
Junior Member
 
Join Date: Mar 2010
Posts: 7
So this is still not possible in Winamp?

Sorting by track number is the default in most hardware media players and I'd think it was one of the obvious choices to sort files by.

But no way to do it in the winamp playlist?
bur2000 is offline   Reply With Quote
Old 6th March 2010, 20:54   #4
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,913
If the songs are all properly tagged, then you could add files to the playlist via:
Media Library -> Local Media -> Audio view
where all songs are already sorted by artist -> album -> track#

But yeah, if you're loading files into the playlist via Windows Explorer
then your files would need to be all named something like:
artist\album\# - title.mp3
artist\album\artist - album - # - title.mp3
etc

Then sort by path+filename would work.

I think shaneh's ActiveWinamp plugin can sort by album + track number...?
http://www.myplugins.info/activewinamp.htm


Alternatively, change your Advanced Title Formatting string via:
Winamp -> Prefs -> Titles -> ATF
to something like...

[%artist% - ][%album% - ][$num(%track%,2) - ][$if2(%title%,$filepart(%filename%))]

Or if you need support for compilations
(where e.g. Album Artist is set to Various Artists and Artist is set to TrackArtist),
then try using my ATF string :-)

[$if2(%albumartist%,%artist%) - ][%album% - ]['CD'$split(%disc%,/,0) - ][$num(%track%,2) - ]$IfStrNotEqual(%artist%,$if2(%albumartist%,%artist%),[%artist% - ])[$if2(%title%,$filepart(%filename%))][][$if($fileext(%filename%),' [ ',)][%year% | ][$fileext(%filename%) ][$if(%bitrate%, '|' ,)][%bitrate% 'kbps' ][$if($fileext(%filename%),']',)][ $repeat(* ,%rating%)]

Note: For aesthetics, you might need to add a few extra spaces here and there.
Or just click 'Quote' and copy & paste my ATF string from the quote (ie. without actually replying).


Then use 'sort by title'
DJ Egg is offline   Reply With Quote
Old 7th March 2010, 06:07   #5
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,913
^
DJ Egg is offline   Reply With Quote
Old 7th March 2010, 10:00   #6
bur2000
Junior Member
 
Join Date: Mar 2010
Posts: 7
Thanks, but that looks like too much work...

I just wonder why this simple feature was never added to the playlist? I mean it's the obvious choice to sort files, it should maybe even be the default sorting.



edit: Seems I was too hasty in saying "too much work". I only now really understood the part about title formatting and it works very well.

I only need to adjust it a bit but it's exactly what I needed.

Thanks a lot.


Still, if any of the developers for some weird reason might read this thread. Please add an option to sort by track#. So this work-around isn't needed.

Last edited by bur2000; 7th March 2010 at 10:17.
bur2000 is offline   Reply With Quote
Old 7th March 2010, 10:15   #7
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,913
Maybe because it's too much work?
DJ Egg is offline   Reply With Quote
Old 7th March 2010, 10:23   #8
bur2000
Junior Member
 
Join Date: Mar 2010
Posts: 7
Now is there a way to remove the title number from the playlist window?

I'm using [$num(%track%,2) - ][%artist% - ]... as ATF and now of course it shows two numbers in the playlist. Any way to prevent this?
bur2000 is offline   Reply With Quote
Old 7th March 2010, 12:40   #9
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,913
What do you mean by "two numbers"?

You mean like 01, 02, 03...10, 11, 12, etc?

That's a bit of an odd ATF string to use...
and it's not much use if you're loading more than one album.
Even my first suggestion would be better (the simple ATF string).

If you just want it to show Track# as 1,2,3...10,11,12
then replace [$num(%track%,2) - ] with just [%track% - ]
Though then you might see it sort like 1,11,12,2,3,4,etc, heh.
DJ Egg is offline   Reply With Quote
Old 7th March 2010, 15:17   #10
bur2000
Junior Member
 
Join Date: Mar 2010
Posts: 7
No, what I meant was that the playlist entry itself reads:

01 - artist - title

Now Winamp adds another number which is the position in the playlist:

1. 01 - artist - title
2. 02 - artist - title

and so on.

I know in 99% of the cases this is needed but for this specific case it'd be nice not to have that playlist entry number added. That's what I'd like to have removed if possible.
bur2000 is offline   Reply With Quote
Old 7th March 2010, 20:10   #11
ujay
Forum King
 
ujay's Avatar
 
Join Date: Jul 2001
Location: London
Posts: 6,072
Prefs > Playlist > uncheck 'Show playlist item numbers ... '

UJ
ujay is offline   Reply With Quote
Old 7th March 2010, 20:15   #12
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,913
Ahh, right..!
DJ Egg is offline   Reply With Quote
Old 10th March 2010, 16:54   #13
bur2000
Junior Member
 
Join Date: Mar 2010
Posts: 7
Thanks...
bur2000 is offline   Reply With Quote
Old 30th August 2010, 16:01   #14
Irie
Junior Member
 
Join Date: Oct 2007
Posts: 5
Hi there,

adding the track number to the ATF string and sorting the playlist by filename manually works fine. But, of course, it would be more comfortable if Winamp sorted the playlist automatically by title when loading multiple files. There is a corresponding option in the playlist preferences, which I activated. Unfortunately Winamp doesn't seem to care. When loading a compilation album (i.e. different track artists, but the SAME album artist and album name), WA keeps on sorting the files alphabetically by ARTIST.

Is there a solution for this? You would make me really happy

Best regards

Irie
Irie is offline   Reply With Quote
Old 9th January 2011, 12:33   #15
Irie
Junior Member
 
Join Date: Oct 2007
Posts: 5
Sorting by tracknumber when loading albums from the library

Hello again,

is there any news on this pain in the ass?

Have a nice day.

Irie
Irie is offline   Reply With Quote
Old 9th January 2011, 16:54   #16
Irie
Junior Member
 
Join Date: Oct 2007
Posts: 5
What I forgot:

Only compilations are affected.

These are correctly tagged, i.e. the tag "album artist" contains the value "Various". They are displayed as one album in the library. But whenever you double click them or enqueue them by right-click, they are sorted ALPHABETICALLY instead by track number. And the playlist preference "When loading multiple files, sort file by name" has no influence on this behaviour.
Irie is offline   Reply With Quote
Old 9th January 2011, 18:24   #17
Juanus
Major Dude
 
Juanus's Avatar
 
Join Date: Oct 2004
Location: Santa Monica, CA
Posts: 740
Send a message via AIM to Juanus
Quote:
Originally Posted by Irie View Post
What I forgot:

Only compilations are affected.

These are correctly tagged, i.e. the tag "album artist" contains the value "Various". They are displayed as one album in the library. But whenever you double click them or enqueue them by right-click, they are sorted ALPHABETICALLY instead by track number. And the playlist preference "When loading multiple files, sort file by name" has no influence on this behaviour.

In the bottom pane where the songs are listed, make sure you sort by Album Artist. This will make it enqueue by track number. If you have the simple album view, there is a "hidden" pane at the bottom. Move that up, sort by album artist and then move it back down and the problem is solved
Juanus is offline   Reply With Quote
Old 9th January 2011, 18:38   #18
Irie
Junior Member
 
Join Date: Oct 2007
Posts: 5
Yeehaa

WOW! It actually works And such an easy solution

I had the simple view and not seeing that pane prevented me from just trying it out. What a pity.

Thank you so much!! Now I'll be able to fully enjoy the Winamp experience.

Best regards

Irie
Irie is offline   Reply With Quote
Old 19th December 2012, 21:19   #19
NiMareQ
Junior Member
 
Join Date: Nov 2012
Posts: 17
Just set global shortcut for Media Library (so you can access it as quickly as possible (I use ALTGR+L)) and you can then sort and filter songs there by any column you want.
It looks just like another playlist. The winamp playlist is just quick review of songs in queue and you should use it only for basic actions. For anything else there is WML and once you set few custom Smart Views, you won't ever want anything else. Trust me.

And as for the sort by album artist, where did you find it? (I use classic skin)
NiMareQ is offline   Reply With Quote
Old 20th December 2012, 15:58   #20
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,801
Send a message via AIM to MrSinatra
http://forums.winamp.com/showthread.php?t=353544

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Discussion

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