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
New Webinterface
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="thechad" data-source="post: 166647" data-attributes="member: 11382"><p>I am probably 50% of the way through writing an ASP.Net webservice for TVE3 so that I can communicate from my Xbox python client. I tried with WCF but got lost very quickly and had issues hosting it in the TV Service process. </p><p></p><p>Currently Implemented</p><p>[CODE]public WebChannelGroup[] GetChannelGroups()</p><p>public WebChannel[] GetChannels()</p><p>public WebChannel[] GetGroupChannels(int IdGroup)</p><p>public WebRecording[] GetRecordings()</p><p>public WebCard[] GetCards()</p><p>public WebServer[] GetServers()</p><p>public WebProgram[] GetPrograms(int IdChannel, DateTime StartTime, DateTime EndTime)</p><p>public WebSchedule[] GetSchedules()</p><p>public WebSchedule GetSchedule(int IdSchedule)</p><p>public WebSchedule RecordProgram(int IdProgram, int RecType)</p><p>public bool CancelSchedule(int IdProgram, bool CancelEntire)</p><p>public bool DeleteSchedule(int IdSchedule)</p><p>public WebSchedule UpdateSchedule(WebSchedule webSchedule)[/CODE]</p><p></p><p>Basically all it does it try to emulate the public interfaces that are available from the .Net Remoting and flatten out the classes so they can be serialized and returned. Performances seems to be ok but there is a lot of serializing and deserializing.</p><p></p><p>I see this as better than dealing directly with the db tables because I do not have to re implement the biz logic that takes place and are not at the mercy of changes to the db structure as much.</p><p></p><p><a href="https://forum.team-mediaportal.com/mp_xbmc_intergration_scripts_v0_6d_update-t2263p17.html" target="_blank">https://forum.team-mediaportal.com/mp_xbmc_intergration_scripts_v0_6d_update-t2263p17.html</a></p></blockquote><p></p>
[QUOTE="thechad, post: 166647, member: 11382"] I am probably 50% of the way through writing an ASP.Net webservice for TVE3 so that I can communicate from my Xbox python client. I tried with WCF but got lost very quickly and had issues hosting it in the TV Service process. Currently Implemented [CODE]public WebChannelGroup[] GetChannelGroups() public WebChannel[] GetChannels() public WebChannel[] GetGroupChannels(int IdGroup) public WebRecording[] GetRecordings() public WebCard[] GetCards() public WebServer[] GetServers() public WebProgram[] GetPrograms(int IdChannel, DateTime StartTime, DateTime EndTime) public WebSchedule[] GetSchedules() public WebSchedule GetSchedule(int IdSchedule) public WebSchedule RecordProgram(int IdProgram, int RecType) public bool CancelSchedule(int IdProgram, bool CancelEntire) public bool DeleteSchedule(int IdSchedule) public WebSchedule UpdateSchedule(WebSchedule webSchedule)[/CODE] Basically all it does it try to emulate the public interfaces that are available from the .Net Remoting and flatten out the classes so they can be serialized and returned. Performances seems to be ok but there is a lot of serializing and deserializing. I see this as better than dealing directly with the db tables because I do not have to re implement the biz logic that takes place and are not at the mercy of changes to the db structure as much. [URL="https://forum.team-mediaportal.com/mp_xbmc_intergration_scripts_v0_6d_update-t2263p17.html"]https://forum.team-mediaportal.com/mp_xbmc_intergration_scripts_v0_6d_update-t2263p17.html[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
New Webinterface
Contact us
RSS
Top
Bottom