473,770 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

I need to retrieve Windows Media Player playlists programmaticall y 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\Admini strator\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\Admini strator\Applica tion Data\Microsoft\ Media
Player

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

<?wpl version="1.0"?>
<smil>
<head>
<meta name="Generator " content="Micros oft 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 2847
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@trnddc 04...
I need to retrieve Windows Media Player playlists programmaticall y 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\Admini strator\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\Admini strator\Applica tion Data\Microsoft\ Media
Player

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

<?wpl version="1.0"?>
<smil>
<head>
<meta name="Generator " content="Micros oft 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
7897
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 create a simple console application which will be able to find out what the values of a currently playing tack. I've downloaded the Windows Media player SDK which come with some IDL and
6
1768
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 link to another radio station? thanks a lot for your help appreciated Mustafa Rabie
3
5193
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 work fine so it's this particular file. Do I have to do anything when the file uses a non-included codec? How can I tell what Codec it's using? TIA - Jeff.
1
5551
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 you give a bad/invalid URL for windows media player to play a pop-up window shows us that it cannot be played. So I would want to catch that event.
19
19275
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 things a bit easier. What I need to do is create a playlist and play it using JavaScript. I keep on getting close but not close enough to play the dang files. Has anyone done this before and can shed some light on what worked for them?
0
1427
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
40927
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 at the weekend but now I cannot play any tracks that I have. Whenever I attempt to play a track, windows displays a message: Windows Media Player cannot play the protected file because a security upgrade is required. Do you want to download the...
1
3533
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. btn_open_mediaFile works fine, tn_open_playlist acts likes nothing happened except I see the name of the playlist. What am I missing? Also, if an mo3 is playing, loading a playlist stops it from playing. here is my code
0
2668
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 the phones are on hold, but now I am trying to write a script that will allow Windows Media Player to run as a service so I can make it auto-start with out needing a user logged in on the computer. Also it would allow the music-on-hold to work if we...
0
9617
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9453
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10036
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8929
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.