473,406 Members | 2,336 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Advice/Info/Help with Retrieving Windows Media Player playlists programmaticallyin C#

I need to retrieve Windows Media Player playlists programmatically via
C# from a desktop machine. Does WMP keep track of used/created playlists
via registry entries or a saved file on the hard disk? I know WMP
likes to save its playlists in directories such as:

H:\Documents and Settings\Administrator\My Documents\My Music\My Playlists

but any .wpl files saved outside such a scheme wont be found if only
looking here.

I did find this directory:

H:\Documents and Settings\Administrator\Application Data\Microsoft\Media
Player

but it only had a dummy .wpl file of sorts:

<?wpl version="1.0"?>
<smil>
<head>
<meta name="Generator" content="Microsoft Windows Media Player
-- 9.0.0.2991"/>
</head>
</smil>
Any suggestions or advice would be greatly appreciated. I'll continue to
thumb through the MSDN sites and google hits to see what shows up on
this topic.

Michael Hughes - Silverton, Oregon
Nov 16 '05 #1
1 2824
RCS
I can't help you directly, but I looked into this before and very quickly it
seemed like I needed to download the Windows Media SDK, anything beyond
loading a WMP activex control in your application, was nowhere to be found..
good luck..

http://www.msdn.microsoft.com/librar...layer10sdk.asp

"Silverton Mike" <Mi**@Earth.Now> wrote in message
news:GkWNd.7858$uc.7501@trnddc04...
I need to retrieve Windows Media Player playlists programmatically via C#
from a desktop machine. Does WMP keep track of used/created playlists via
registry entries or a saved file on the hard disk? I know WMP likes to save
its playlists in directories such as:

H:\Documents and Settings\Administrator\My Documents\My Music\My Playlists

but any .wpl files saved outside such a scheme wont be found if only
looking here.

I did find this directory:

H:\Documents and Settings\Administrator\Application Data\Microsoft\Media
Player

but it only had a dummy .wpl file of sorts:

<?wpl version="1.0"?>
<smil>
<head>
<meta name="Generator" content="Microsoft Windows Media Player --
9.0.0.2991"/>
</head>
</smil>
Any suggestions or advice would be greatly appreciated. I'll continue to
thumb through the MSDN sites and google hits to see what shows up on this
topic.

Michael Hughes - Silverton, Oregon

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is...
6
by: Mustafa Rabie | last post by:
Hi All, I have a customer, who wants me to add online radio to his web site. 1) How can i add the media player object to the site 2) How can i dynamically change the url when i user clicks on a...
3
by: UJ | last post by:
I have a .avi file that uses the Divx codec. If I load it with windows media player program it works fine. If I load it using my control in a program, it doesn't display. Over standard media files...
1
by: sri2097 | last post by:
Basically, I want to check if a URL is playable or not (without actually playing it). i.e. given a URL I want to write an automation script to figure it out for me if it's playable or not. If...
19
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make...
0
by: rajendragmistry | last post by:
I want to open media file in vb.net but i cant due to WMP version compatibility and my application get shut down/crashed
21
by: Cashie | last post by:
Hi I used to have an old version of Windows Media Player (pre-version 8), which used to play most tracks (WMA files) fine but I thought that I would upgrade to version 11. I upgraded to this...
1
by: Ringo | last post by:
I'm trying to use windows media player in an app. I can give it an mp3 and it plays it, but if I give it a playlist it will not play and even the play button on the control is not active. ...
0
by: artsohc | last post by:
Hey Everyone, this is my first time posting so go easy on me. I am trying to hook up music-on-hold at the office I work at. I got all the music loaded and I got Windows Media Player working while...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.