Than you for your fast reply.
i've installed the 'external control plugin' from the web interface.
but i dont know how to handle with this one.
is there a short description about this this plugin?
You can get the methods the webservice offers from http://localhost:81/MPExtControlWS/ of your MPW installation... For the plugin I have no idea, sorry. Let's wait for Sam to reply here as he's the author of this plugin. Hope he sees this thread.
Are you using .NET to write your plugin? If so you have two options - connect directly to the plugin or connect to the web service.
To connect to the web service, in .NET just add a web reference to the web service. To connect to the plugin, add a reference to ECP2Assembly.dll (should be located in your MP folder).
Ok, to use the plugin to get details about the currently playing item, do this:
Using the get_MPPropertyManager method, pass the following 'tags' as the property in the method to get the relevant information (the tag is the first bit of each line, e.g. #Play.Current.Thumb and the bit after the comma in each line is an example of what information it returns):
#Play.Current.Thumb, thumbs\music\albums\3 Doors Down-Away From The Sun.jpg
#Play.Current.File, 3 Doors Down - Away From The Sun - 01 - When I'm Gone.mp3
#Play.Current.Title, 3 Doors Down - Away From The Sun - 01 - When I'm Gone.mp3
#Play.Current.Genre, Rock
#Play.Current.Title, When I'm Gone
#Play.Current.Artist, 3 Doors Down
#Play.Current.Album, Away From The Sun
#Play.Current.Track, Track1
#Play.Current.Year, Year:2002
#Play.Current.Duration, Duration:4:21
These tags above should work regardless of what you're playing, including Music, videos, TV shows, live TV etc.
Music-specific:
#Play.Next.Thumb, thumbs\music\albums\3 Doors Down-Away From The Sun.jpg
#Play.Next.File, 3 Doors Down - Away From The Sun - 02 - Away From The Sun.mp3
#Play.Next.Genre, Rock
#Play.Next.Title, Away From The Sun
#Play.Next.Artist, 3 Doors Down
#Play.Next.Album, Away From The Sun
#Play.Next.Track, Track2
#Play.Next.Year, Year:2002
#Play.Next.Duration, Duration:3:53
#currentplaytime, 0:00
#currentremaining, 4:21
To connect to the web service using a web browser to test it, simply log on to http://<MP computer name>:81/MPExtControlWS/service.asmx (replace <MP computer name> with your MP computer's computer name).
Once connected, click on the get_MPPropertyManager link, enter in the tag name (including the #) and press submit. You'll get a response back in XML format.
To use it in your .NET plugin, simply add a web reference to the web service, or add a reference to the ECP2Assembly.dll file. It is probably easier to use the web service, however this does mean that MPW needs to be running for it to work.
If you're connecting to the ECP2 plugin directly, as long as MP is running and the plugin is activated, it will work. Once you have referenced the plugin, to use the plugin, simply do this:
You might also want to check MPBlue.. https://forum.team-mediaportal.com/viewtopic.php?t=10414
it is primarily a PocketPC interface, but the Server part sends out all property changes via a UDP Multicast.
your program can subscribe to this and receive all property's.
you have to check the source of the client on how to write this..
I don't think so, because MP has no way of knowing at which timestamp the external player stopped playback.
Best way to achieve this would be to use an auto-resume feature in your external player itself. (MPC-HC can do that, I don't know about VLC)
I don't think so, because MP has no way of knowing at which timestamp the external player stopped playback.
Best way to achieve...
Hello Folks,
Is it possible to enable MP to resume in an External Player, where it left off ?
I guess the question also is, can...
i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video playback in MP2 is buggy when playing 4k material. Therefore: PLEASE add an option for an external video player! I'd LOVE to have VLC back as videoplayer, like in MP1! This works perfectly. You will make a...
i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...
i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...