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 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...
For music you may use -->
https://www.team-mediaportal.de/erweiterungen/musik/global-search
With GlobalSearch you can search for any entry in your music database: Artist, Album, Title, Lyrics...
I'm afraid there is no such plugin :unsure:
For music you may use -->
https://www.team-mediaportal.de/erweiterungen/musik/global-search
With GlobalSearch you can search for...
HI,
I'm new to MediaPortal and have a question about searching for data. I have an extensive collection of music, films, and TV...
I'm trying to get a KodiClient running with MP-Server 1.36. I have access to the server ((Program information is loading), but I can't access c:\ProrammData\Mediaportal\...\timeshift. What permissions do I still need to set?
I'm trying to get a KodiClient running with MP-Server 1.36. I have access to the server ((Program information is loading), but I...
I'm trying to get a KodiClient running with MP-Server 1.36. I have access to the server ((Program information is loading), but I...
I agree about the dash instead of colon on the LIVE thing.
I did a little change to get the current program, just removed the D from the tags. Not that important, so I dont upload any new file.
A little sad about the end time, but nothing to do about it.
I agree about the dash instead of colon on the LIVE thing.
I did a little change to get the current program, just removed the D...
I'm trying to develop a new WebEPG grabber for sweden, but I got a few problem in parsing the html-file to get all programs.
In...