home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Webinterface plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Frodo" data-source="post: 7689" data-attributes="member: 10277"><p>I just discovered that this webcontrol uses some web-services to</p><p>control MP</p><p>You can see these webservices by browsing to </p><p><a href="http://localhost/MPExtControlWS/MPWS.asmx" target="_blank">http://localhost/MPExtControlWS/MPWS.asmx</a></p><p></p><p>Now what would be nice if we had a few extra webservice methods like:</p><p></p><p>[code]</p><p>//function to retrieve the number of tv capture cards</p><p>int GetNumberOfTVCards()</p><p></p><p>//function to retrieve the friendly name of a capture card</p><p>string GetFriendlyNameForTVCard(int card)</p><p></p><p>//function to get the names of all tv channels</p><p>string[] GetTVChannels()</p><p></p><p>//function to get the tvguide for a tv channel</p><p>TVProgram GetTVGuideForChannel(string tvChannel)</p><p></p><p></p><p>//function to see if a card is watching tv</p><p>bool IsCardWatchingTV(int card)</p><p></p><p>//function to see if a card is recording tv</p><p>bool IsCardRecording(int card)</p><p></p><p>//function to get the tv channel name a specific card is tuned on</p><p>bool GetTvChannelForCard(int card)</p><p></p><p>//function to record a tv program</p><p>void RecordProgram(string tvchannel, int startHour, int startMinute, int endHour, int endMinute)</p><p></p><p>//function to record now</p><p>void RecordNow(string tvchannel)</p><p></p><p>//function see whats being recorded</p><p>TVProgram GetCurrentRecording(int card)</p><p></p><p>[/code]</p><p></p><p>This way external apps like your PDA or XBMC or...</p><p>could control MP </p><p></p><p>If you share the sources of the webcontrol plugin</p><p>I can try to add those and maybe more webmethods myself</p><p></p><p></p><p>frodo</p></blockquote><p></p>
[QUOTE="Frodo, post: 7689, member: 10277"] I just discovered that this webcontrol uses some web-services to control MP You can see these webservices by browsing to [url]http://localhost/MPExtControlWS/MPWS.asmx[/url] Now what would be nice if we had a few extra webservice methods like: [code] //function to retrieve the number of tv capture cards int GetNumberOfTVCards() //function to retrieve the friendly name of a capture card string GetFriendlyNameForTVCard(int card) //function to get the names of all tv channels string[] GetTVChannels() //function to get the tvguide for a tv channel TVProgram GetTVGuideForChannel(string tvChannel) //function to see if a card is watching tv bool IsCardWatchingTV(int card) //function to see if a card is recording tv bool IsCardRecording(int card) //function to get the tv channel name a specific card is tuned on bool GetTvChannelForCard(int card) //function to record a tv program void RecordProgram(string tvchannel, int startHour, int startMinute, int endHour, int endMinute) //function to record now void RecordNow(string tvchannel) //function see whats being recorded TVProgram GetCurrentRecording(int card) [/code] This way external apps like your PDA or XBMC or... could control MP If you share the sources of the webcontrol plugin I can try to add those and maybe more webmethods myself frodo [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Webinterface plugin
Contact us
RSS
Top
Bottom