"Add to Windows Media Player list" from vb.net
-
Hi, I have made a database where I can sort all my mp3's. When I search for an artist, I can open a song in Windows Media Player just by double-clicking it. My problem is that if I want to play more than 1 song at a time, Windows Media Player removes my "Now playing" list and starts playing the song I only want to ADD to the list. I have searched for a solution for this and I found some info at this page, http://msdn.microsoft.com/en-us/library/aa386383(VS.85).aspx[^], but it did not solve my problem. I still can't add a song to the "Now playing" list. :sigh: What I want is a command that behaves like when I r.click on a mp3-file in Explorer and choose "Add to Windows Media Player list". I would be very grateful if anyone can help me with this. I have tried to find a solution for 4-5 hours now and I'm close to giving up... - Ragnar
-
Hi, I have made a database where I can sort all my mp3's. When I search for an artist, I can open a song in Windows Media Player just by double-clicking it. My problem is that if I want to play more than 1 song at a time, Windows Media Player removes my "Now playing" list and starts playing the song I only want to ADD to the list. I have searched for a solution for this and I found some info at this page, http://msdn.microsoft.com/en-us/library/aa386383(VS.85).aspx[^], but it did not solve my problem. I still can't add a song to the "Now playing" list. :sigh: What I want is a command that behaves like when I r.click on a mp3-file in Explorer and choose "Add to Windows Media Player list". I would be very grateful if anyone can help me with this. I have tried to find a solution for 4-5 hours now and I'm close to giving up... - Ragnar
Looking though the file options for WMA files, I found that when you click on a WMA file, Windows uses the following command: "C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:5 /Play "%L" %L is the path to the file/files (I assume). You will have to experiment. Usually %1 indicates the path. Hope that helps, Ray
-
Looking though the file options for WMA files, I found that when you click on a WMA file, Windows uses the following command: "C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:5 /Play "%L" %L is the path to the file/files (I assume). You will have to experiment. Usually %1 indicates the path. Hope that helps, Ray
Thanks for answer, but it did not help me with my problem. But I got some nice results when I searched with /prefetch that showed me that Winamp could do what I needed, so now I can just do it with 'Winamp /add "songname"' - R