|
-
Aug 23rd, 2006, 06:20 AM
#1
Thread Starter
New Member
Is there any way of getting the Playlist of Media Player
Hi GURUS,
I want to make a program in which the program will automaticaly check the Playlist and check wheather a particular song in the palylist has been palyed or not.
And it will shut down the computer after finishing the playlist or after a particular interval of time. The later part has been solved but i couldn't make the first part.
so pls help me.
-
Aug 28th, 2006, 03:33 AM
#2
-
Sep 1st, 2006, 12:54 AM
#3
Thread Starter
New Member
Re: Is there any way of getting the Playlist of Media Player
I want to check for an external program like windows media player.
-
Sep 1st, 2006, 08:42 AM
#4
Re: Is there any way of getting the Playlist of Media Player
I have tried this many times, for Winamp it is quite simple, there is a file named Winamp.m3u, which contains the information of the current playlist. Just open it in the Binary mode and read the content.
And as far as Windows Media Player is concerned, I think the best bet would be, get the handle of the Playlist window (check properly because it is the great-great-great child of WMP) and read the content of the list.
I will be happy if someone could prove me wrong.
-
Sep 1st, 2006, 07:42 PM
#5
Re: Is there any way of getting the Playlist of Media Player
The playlist window is of class ATL:SysListView32
So, will it respond to standard SysListView32 messages?
Try it and see.
Here is how you have to get the items of an external listview control
http://www.vbforums.com/showthread.php?t=390889
-
Sep 1st, 2006, 10:56 PM
#6
Thread Starter
New Member
Re: Is there any way of getting the Playlist of Media Player
 Originally Posted by Harsh Gupta
I have tried this many times, for Winamp it is quite simple, there is a file named Winamp.m3u, which contains the information of the current playlist. Just open it in the Binary mode and read the content.
But how do i know if particular song has been palyed or not.
-
Sep 3rd, 2006, 11:56 AM
#7
Thread Starter
New Member
Re: Is there any way of getting the Playlist of Media Player
Hey harish,
i tried by gettin the handle of WMP. But i cud get nothing. Any other idea!!!
can't we automate WMP or any other player. and get all those.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|