Jump to content

Request for community code review - WMPPLEXP


Recommended Posts

I have a utility I wrote (that works) that accesses the Windows Media Player via it's OCX to retrieve file locations from the dynamic playlists it maintains to create playlist files. Problem is that is runs suuuuuuuper slow even on small returns (<100) so I think I may be doing more than I should in the loop.

Anyone familiar with WMP OCX calls (or anyone just interested), please look here for the code:

+ http://www.shrum.net/code/wmpplexp/source/v.1/wmpplexp.au3

The slowness seem to be between lines 115 and 123 ; where I make the calls to the OCX for the individual files. Am I calling it right? Can this be optimized?

Website that discusses the app in more detail is here:

+ http://www.shrum.net/cats.php?dir=/code/wmpplexp

TIA

Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...