tags:

views:

239

answers:

1
+2  Q: 

Zune Player api

Is there the equivalent of the Windows Media Player SDK for the Zune Player software? I would like to be able to control the volume, play/pause state, and skip to next / previous track.

A: 

There is a Zune API but i dont know if it can do that... and its not documented so i never got it to work..

http://soapitstop.com/blogs/fleamarket/archive/2008/03/03/read-the-zune-collection-in-net-from-zune-s-own-api.aspx

But the post is outdated the zuneLib.Initialize() takes a parameter and i have no idear what to put there.. if you figure it out share please!

Petoj
Excellent! I used redgate's reflector, the updated signature of that function is public unsafe int modopt(IsLong) Initialize(string path, out bool dbRebuilt). The path appears to be the path to the zune's media database. I'm looking for a C++ API though that may be too much to ask for !
Jeff Paquette
where is the zune media database? if you know that?
Petoj