- August 29, 2009
- 1,730
- 1,124
- Home Country
-
Netherlands
Hello all,
I have written a client library for the MPWebServices SOAP API in PHP. It provides a set of classes that abstracts the SOAP-interaction and details from your webapplication. It may run on another computer then the one running the TvServer.
For usage, look at the Mediaportal class (api/Mediaportal.class.php). You have to create an instance of it, with the path to MPWebServices as it's argument (without the TvServiceWebServices.asmx part). It has functions for searching the EPG, getting (groups of) channels, starting/stopping timeshifting and managing schedules and recordings. See the documentation for all methods.
Current it isn't complete, only TV is supported. I'll implement movies, moving pictures, tv series, video and music later. Any patches are welcome.
I have written a client library for the MPWebServices SOAP API in PHP. It provides a set of classes that abstracts the SOAP-interaction and details from your webapplication. It may run on another computer then the one running the TvServer.
For usage, look at the Mediaportal class (api/Mediaportal.class.php). You have to create an instance of it, with the path to MPWebServices as it's argument (without the TvServiceWebServices.asmx part). It has functions for searching the EPG, getting (groups of) channels, starting/stopping timeshifting and managing schedules and recordings. See the documentation for all methods.
Current it isn't complete, only TV is supported. I'll implement movies, moving pictures, tv series, video and music later. Any patches are welcome.