- October 31, 2006
- 1,972
- 539
- Home Country
- Germany
Hi,
i just finished work on my "secret project".
What this packet includes:
* WebServices which expose TvServer functions and database entries and expose MP Media Databases
- these WebServices are simple Soap WebServices and are even GET/POST enabled (wsdl included in next post)
* A TvServer plugin which hosts the WebApplication and the webservices - No need for IIS or anything else
* A complete Web Interface for MP and TvService (see screenshots) with ability to stream all media over http and to have transcoding profiles defined to transcode the stream on the fly while streaming to save bandwidth
I am very well aware that the Web Interface looks quite ugly but it was just to show how to work with the web services
I hope some other developers will continue and beautify the Web Interface - for me it was more a proof of concept for the web interfaces
With the web interfaces it should now be quite easy to interface MP and TvServer from nearly every programming/scripting language and nearly every platform OS. It just has to have web service support
PREREQUISITES:
- .NET Framework 3.5
- MediaPortal + TvServer 1.1 BETA + latest SVN snapshot
INSTALLATION:
- Just run the msi
SOME NOTES:
Since the "movie","music" and "picture" functions use the MP databases, you have to have MP and TvServer installed on the same PC.
The buttons for all MP functions such as Movies,Music etc are only visible if the corrosponsding database is found, otherwise they are hidden. If you e.g. don't have movingpictures but tvseries and mp installed on the pc then just the moving pictures button is hidden
Version history
05.01.2010 RC 3 released (screenshots updated)
Bugfixes:
- playback of recordings is not working anymore (Thanks mischa)
- leftover css tag in default.aspx (Thanks mischa)
- Log writer didn't append new lines to logfile (Thanks mischa)
- Only load logos when the files actually exists to preserve bandwidth
- Logos containing special characters such as + and & don't show
Changes/new feature:
- added some new streaming profiles (Thanks mischa)
- added system infos (cpu/men usage, disk usage...) to tvserver status page
Already known bugs and feature requests:
+ TvServerStatus page crashes with RAM > 2 GB - Thanks Vasko - (done. fixed in next rev.)
+ some users get channels with channel id=0 ? (done. fixed in next rev.)
+ if a recording path for a card is empty, tvserverstatus page throws an exception - Thanks vasko - (done. fixed in next rev.)
+ some improvements for the streaming profiles - Thanks vasko - (done. fixed in next rev.)
- Stopping timeshifting in tvserver status page is not working (investigating...)
- Include mencoder in setup (work in progress)
- banners for tv series (investigating...)
- make seeking possible (investigating...)
Many thanks to VALK. I used some code from his StreamTV Plugin and also to Mischa who found and fixed some bugs
i just finished work on my "secret project".
What this packet includes:
* WebServices which expose TvServer functions and database entries and expose MP Media Databases
- these WebServices are simple Soap WebServices and are even GET/POST enabled (wsdl included in next post)
* A TvServer plugin which hosts the WebApplication and the webservices - No need for IIS or anything else
* A complete Web Interface for MP and TvService (see screenshots) with ability to stream all media over http and to have transcoding profiles defined to transcode the stream on the fly while streaming to save bandwidth
I am very well aware that the Web Interface looks quite ugly but it was just to show how to work with the web services
I hope some other developers will continue and beautify the Web Interface - for me it was more a proof of concept for the web interfaces
With the web interfaces it should now be quite easy to interface MP and TvServer from nearly every programming/scripting language and nearly every platform OS. It just has to have web service support
PREREQUISITES:
- .NET Framework 3.5
- MediaPortal + TvServer 1.1 BETA + latest SVN snapshot
INSTALLATION:
- Just run the msi
SOME NOTES:
Since the "movie","music" and "picture" functions use the MP databases, you have to have MP and TvServer installed on the same PC.
The buttons for all MP functions such as Movies,Music etc are only visible if the corrosponsding database is found, otherwise they are hidden. If you e.g. don't have movingpictures but tvseries and mp installed on the pc then just the moving pictures button is hidden
Version history
04.10.2009 Alpha 2 Released
Changes:
- live-tv works
- fixed some exceptions
- thumbnail size for pictues is now configurable
- external player path is now configurable
- added [TvServer RTSP] streaming profile for recordings (just uses TvServer's built-in RTSP streaming server)
04.10.2009 Alpha 3 Released
Changes:
- Fixed Radio showing Tv channels
06.10.2009 Alpha 4 released
Changes:
- should now also work on x64
- added support for VLC Browser plugin
- fixed bug were you couldn't set the port higher than 100
07.10.2009 Alpha 5 released
Changes:
- fixed transcoding
- added mencoder to htdocs/bin
08.10.2009 Beta 1 released
Changes:
- Fixed transcoding again
- Streaming of live-tv now works even with transcoding
- added login page
- added support for TvSeries and MovingPictures
- updated screenshots[/b]
If live-tv transcoding doesn't work for you with both provided profiles please try to change the inputmethod to "NamedPipe"
It's seems that inputMethod=NamedPipe works best with live-tv and inputMethod=Filename works best with any other kind of media but you can just play around with these two settings
09.10.2009 Beta 2 released
Changes:
- Fixed TvSeries
- Is now a TvServer Plugin
- added rss feeds
- url for streaming is now configurable
- mp db paths are configurable
- Fixed "rec" button in channel epg does nothing
09.10.2009 Beta 3 released
Changes:
- Fixed TvSeries again
- Fixed config for transcoding being doubled by saving
- Modified web.config so that the exceptions are shown on remote sites and not only on the server
13.10.2009 Beta 4 released
Changes:
- Improved handling of schedules
- Added search options for Recordings,Movies,Music, TvSeries,MovingPictures
- Added m3u playlist support for Music
- Added logoff button
- Fixed some minor glitches
31.12.2009 Beta 5 released
Changes:
- MSI Installer
- Access to streamer.aspx is now using the admin password (encrypted in the querystring)
- Support for channel logos
- Configurable database/logo/thumb paths
- Helpfile for configuration
- logging for the streamer class (..\htodcs\logs)
- ATTENTION: Just uploaded an update to the previous BETA 5. Please use this
02.01.2010 RC 1 released
Changes:
- many Bugfixes
- added a movie scraper url setting. Every movie name (recordings, tv) becomes a link to e.g. imdb
Already known bugs in RC 1
- m3u url is enclosed in " which prevents VLC from playing it (done. fixed RC-2)
- if a db is not found or empty an exception is raised (done. fixed in RC-2)
- webpage with VLC plugin seems to be broken (done. fixed in RC-2)
- add an anchor in epg view to jump to current date/time (done. fixed in RC-2)
- implement epg search page - search for a show and link shows in miniepg to this search page (done. fixed in RC-2)
- the built target is probably mixed up again -> doesn't work on X64? (investigating...)
04.01.2010 RC 2 released
Bugfixes:
- m3u url was enclosed in " which prevents VLC from playing it
- exception thrown if picture db was empty
- webpage with VLC plugin was broken. Thanks mischa
Changes/new feature:
- added an epg search page
- implemented epg search page and search for a show and link shows in miniepg to this search page
Already known bugs and feature requests:
- playback of recordings is not working anymore (done. Fixed in RC-3)
- leftover css tag in default.aspx (done. Fixed in RC-3)
- Log writer didn't append new lines to logfile (done. Fixed in RC-3)
- add some new streaming profiles (done. Implemented in RC-3)
- add system infos (cpu/men usage, disk usage...) to tvserver status page (done. Implemented in RC-3)
- Only load logos when the files actually exists to preserve bandwidth (work in progress...)
- Logos containing special characters such as + and & don't show (work in progress...)
Changes:
- live-tv works
- fixed some exceptions
- thumbnail size for pictues is now configurable
- external player path is now configurable
- added [TvServer RTSP] streaming profile for recordings (just uses TvServer's built-in RTSP streaming server)
04.10.2009 Alpha 3 Released
Changes:
- Fixed Radio showing Tv channels
06.10.2009 Alpha 4 released
Changes:
- should now also work on x64
- added support for VLC Browser plugin
- fixed bug were you couldn't set the port higher than 100
07.10.2009 Alpha 5 released
Changes:
- fixed transcoding
- added mencoder to htdocs/bin
08.10.2009 Beta 1 released
Changes:
- Fixed transcoding again
- Streaming of live-tv now works even with transcoding
- added login page
- added support for TvSeries and MovingPictures
- updated screenshots[/b]
If live-tv transcoding doesn't work for you with both provided profiles please try to change the inputmethod to "NamedPipe"
It's seems that inputMethod=NamedPipe works best with live-tv and inputMethod=Filename works best with any other kind of media but you can just play around with these two settings
09.10.2009 Beta 2 released
Changes:
- Fixed TvSeries
- Is now a TvServer Plugin
- added rss feeds
- url for streaming is now configurable
- mp db paths are configurable
- Fixed "rec" button in channel epg does nothing
09.10.2009 Beta 3 released
Changes:
- Fixed TvSeries again
- Fixed config for transcoding being doubled by saving
- Modified web.config so that the exceptions are shown on remote sites and not only on the server
13.10.2009 Beta 4 released
Changes:
- Improved handling of schedules
- Added search options for Recordings,Movies,Music, TvSeries,MovingPictures
- Added m3u playlist support for Music
- Added logoff button
- Fixed some minor glitches
31.12.2009 Beta 5 released
Changes:
- MSI Installer
- Access to streamer.aspx is now using the admin password (encrypted in the querystring)
- Support for channel logos
- Configurable database/logo/thumb paths
- Helpfile for configuration
- logging for the streamer class (..\htodcs\logs)
- ATTENTION: Just uploaded an update to the previous BETA 5. Please use this
02.01.2010 RC 1 released
Changes:
- many Bugfixes
- added a movie scraper url setting. Every movie name (recordings, tv) becomes a link to e.g. imdb
Already known bugs in RC 1
- m3u url is enclosed in " which prevents VLC from playing it (done. fixed RC-2)
- if a db is not found or empty an exception is raised (done. fixed in RC-2)
- webpage with VLC plugin seems to be broken (done. fixed in RC-2)
- add an anchor in epg view to jump to current date/time (done. fixed in RC-2)
- implement epg search page - search for a show and link shows in miniepg to this search page (done. fixed in RC-2)
- the built target is probably mixed up again -> doesn't work on X64? (investigating...)
04.01.2010 RC 2 released
Bugfixes:
- m3u url was enclosed in " which prevents VLC from playing it
- exception thrown if picture db was empty
- webpage with VLC plugin was broken. Thanks mischa
Changes/new feature:
- added an epg search page
- implemented epg search page and search for a show and link shows in miniepg to this search page
Already known bugs and feature requests:
- playback of recordings is not working anymore (done. Fixed in RC-3)
- leftover css tag in default.aspx (done. Fixed in RC-3)
- Log writer didn't append new lines to logfile (done. Fixed in RC-3)
- add some new streaming profiles (done. Implemented in RC-3)
- add system infos (cpu/men usage, disk usage...) to tvserver status page (done. Implemented in RC-3)
- Only load logos when the files actually exists to preserve bandwidth (work in progress...)
- Logos containing special characters such as + and & don't show (work in progress...)
05.01.2010 RC 3 released (screenshots updated)
Bugfixes:
- playback of recordings is not working anymore (Thanks mischa)
- leftover css tag in default.aspx (Thanks mischa)
- Log writer didn't append new lines to logfile (Thanks mischa)
- Only load logos when the files actually exists to preserve bandwidth
- Logos containing special characters such as + and & don't show
Changes/new feature:
- added some new streaming profiles (Thanks mischa)
- added system infos (cpu/men usage, disk usage...) to tvserver status page
Already known bugs and feature requests:
+ TvServerStatus page crashes with RAM > 2 GB - Thanks Vasko - (done. fixed in next rev.)
+ some users get channels with channel id=0 ? (done. fixed in next rev.)
+ if a recording path for a card is empty, tvserverstatus page throws an exception - Thanks vasko - (done. fixed in next rev.)
+ some improvements for the streaming profiles - Thanks vasko - (done. fixed in next rev.)
- Stopping timeshifting in tvserver status page is not working (investigating...)
- Include mencoder in setup (work in progress)
- banners for tv series (investigating...)
- make seeking possible (investigating...)
Many thanks to VALK. I used some code from his StreamTV Plugin and also to Mischa who found and fixed some bugs
Attachments
-
schedules.jpg53.3 KB
-
EditSchedule.jpg20.9 KB
-
Pictures.jpg83.3 KB
-
ChannelEPG.jpg70.1 KB
-
PluginConfig_3.jpg45.4 KB
-
PluginConfig_4.jpg38.9 KB
-
Movies.jpg80.9 KB
-
MovingPictures.jpg37.5 KB
-
Music.jpg55.5 KB
-
Recordings.jpg104.5 KB
-
TvSeries.jpg117.4 KB
-
tv.jpg56.1 KB
-
tvserverstatus.jpg39.2 KB
-
EPGSearch.jpg92.6 KB
-
pluginconfig_1.jpg38.6 KB
-
pluginconfig_2.jpg41.3 KB