Pocket PC Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!





Go Back   Thoughts Media Forums > POCKET PC THOUGHTS > Pocket PC Multimedia

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2004, 09:09 PM
Intellectual
Join Date: Mar 2004
Posts: 202
Send a message via AIM to hoffm11 Send a message via MSN to hoffm11
Default Windows Media Player Sorting issue

Is Microsoft going to fix the sorting issue in Windows Media player? Songs in a playlist show up in reverse order. Is there a way around this (registry hack, etc.)?
 
Reply With Quote
  #2 (permalink)  
Old 04-12-2004, 10:33 PM
Contributing Editor
Janak Parekh's Avatar
Join Date: Aug 2006
Posts: 14,942

WMP's playlist weaknesses was one of many topics brought up at the Summit. I can say that the current version (WMP9) will keep the current behavior, but I can't speculate about the future. Darn, I hate NDAs.

For WMP9, I suggest a third-party tool to generate a sorted playlist. CEPlaylist is probably the most popular.

--janak
 
Reply With Quote
  #3 (permalink)  
Old 04-13-2004, 12:50 PM
Intellectual
Join Date: Mar 2004
Posts: 202
Send a message via AIM to hoffm11 Send a message via MSN to hoffm11
Default CEPlaylist

Janak,

I installed CE Playlist and I really like it. I will most likely buy it. My issue is that I bought PocketMusic and liked it in the beginning and then it started to do wierd things, so I tried out PocketPlayer and that worked and started to act up. :devilboy: I decided to install PHM Pocket PC Plus(http://www.phm.lu/Products/PocketPC/Plus/) and used Windows Media and it works great. Now with CEPlaylist, I will be very happy.
 
Reply With Quote
  #4 (permalink)  
Old 10-09-2004, 11:07 PM
Pupil
Join Date: Aug 2004
Posts: 11
Default Fixing Windows Media Playlist order

The playlist ordering problem is particularly annoying for tracks ripped from a CD whose name starts with the track number and which end up in reverse order on the Pocket PC. Here is a solution which will work if you happen to have Mathematica. It is based on noticing that playlists are simple XML files and uses Mathematica's built in functions for handling that. It sorts on the track filenames but other sorting methods could be implemented similarly. The same could surely be done with other tools.

You have to create the playlist on the PDA, copy it to your PC, apply the following function to create a new version and then copy it back to the PDA.

SortPlaylist::usage = "SortPlaylist[asxfile1,asxfile2] sorts the Windows \
Media playlist in file asxfile1 and saves it as asxfile2."

SortPlaylist[pl1_String, pl2_String] := Module[{},
Export[pl2, Import[pl1,
"XML"] /. {a__, entries :
XMLElement["ENTRY", {}, {XMLElement["ref", {_}, {}]}] ..} :> {
a, Sequence @@ Sort[{entries}]},
"XML", ConversionOptions -> {"AttributeQuoting" -> "\""}]
]


Hope this helps somebody. It was fun as a programming exercise.
 
Reply With Quote
  #5 (permalink)  
Old 10-09-2004, 11:53 PM
Pupil
Join Date: Aug 2004
Posts: 11
Default Fixing Windows Media Playlist order, conditions

I realised that my code in the above post is not completely general. It will only work if you created the playlists on the Pocket PC with default options (Folder: None, Location: Main Memory) so the playlists must be located in the main My Documents folder. Sorry, I may try to do better when I get some time.
 
Reply With Quote
Reply


Thread Tools
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 06:53 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7