PDA

View Full Version : HTS TVheadend front-end client built-into to XBMC


andoma
2008-02-28, 18:48
Hi

I thought people might be interested in my software called HTS/tvheadend (http://www.lonelycoder.com/hts/tvheadend) that has
capabilities to export a TV bouquet over XBMSP. This effectively turns your XBMC
into a set-top-box for TV.

If any of the XBMC developers are interested in a more tight integration which would
allow transfer of EPG, etc, feel free to contact me.

elupus
2008-02-28, 19:07
Nice,

we should support rtsp too. thou it's based on the limited implementation of libavformat. give it a go.

If you can provide a xmltv file as epg, that'd be the most general interface to use. I think that is the way i'll go with the mythtv support atleast. I haven't started on that yet thou.

xbmp protocol is sadly quite unmaintained, but if you now have written a server for it, feel free to send patches for xbmc to use it. Stuff like metadata about a stream which could update as it goes along. (thinking current playing program and such).

andoma
2008-02-28, 20:11
It can certainly provide XML-files from its embedded HTTP-server.

Some of this is already ongoing for another integration.

First you would have to access a channel-listing URL.

http://host:9980/channels.xml
This response contains a list of all channel-groups and what channels they
contains. Each channel has a bunch of URLs:
- URL to an icon
- URL to the RTSP-server,
- URL for EPG-information (another XML file))

I then guess that XBMC would be required to poll this on regular intervals.

I do not however have any time to develop stuff for XBMC myself.

Gamester17
2008-02-29, 12:05
HTS TVheadend would make another nice backend to this frontend suggestion:
http://xbmc.org/forum/showthread.php?t=28918

...now if we only had a GUI developer onboard :sad:

andoma
2008-02-29, 13:02
As I said earlier, if anyone starts to develop a real TV frontend in XBMC i'll be happy to support it.

Tvheadend should be able to satisfy all of the listed requirements:

- Watch Live TV
tvheadend: works fine (either via RTSP or a proprietary protocol)
-
Record Live-TV (on the PC)
tvheadend: Works

- Watch that recorded TV
tvheadend: Works if frontend have access to storage of recorded content

- Schedule recordings
tvheadend: needs to be done via an API (SOAP/XML?)

- Pause Live-TV (time-shift)
tvheadend: Works (tvheadend automatically spool paused content on disk)

- Listen to AM/FM radio
tvheadend: not implemented atm. but should be rather simple to do.

- Electronic Program Guide (EPG)
tvheadend can import (and merge) EPG from XMLTV and DVB Service Info.

- View Program Listings
tvheadend: needs to be exported via an API (SOAP/XML?)

vdrfan
2008-02-29, 13:27
Nice work andoma. Did you ever tried VDR before writing your own tv backend application?

I think XBMC needs some generic functions / classes that every PVR supports like Next-/PrevChannel, Pause, EPG .. (elupus did this initially for the newly integrated mythtv stuff?) So each solution could communicate with its backend and the gathered data will be processes by xbmc. Like Gamester17 already said, i think we should focus on a All-For-One GUI part for the most generic PVR commands.

Regards
VDRfan

elupus
2008-02-29, 18:15
Yea agree, a unified method of accessing tv backends must be created. I will ponder it abit more on how to structure it.

btw, xmltv has a syntax for channel lists too. Might be a point in using that and extending it if needed, potentially with embedded urls to the actual channels.

pt-1
2008-02-29, 18:50
There is already a script can run on XBMC that supports the Dbox running Neutrino or Enigma.

In the case of Neutrino the "raw" TS Stream get's send to the reciever including PID's etc. Enigma handles streams slightely different to Neutrino and also some preperations have to be made to the CVS in Germany in case the stream is lost due network bandwidth.

I have attached some screenshots of the app and maybe the original developer want's to make his code public.

http://www.pt-1.net/xbox/Xbox_Screenshots_0001.jpg

http://www.pt-1.net/xbox/Xbox_Screenshots_0002.jpg

http://www.pt-1.net/xbox/Xbox_Screenshots_0003.jpg

You can download the Application from here:

http://www.pt-1.net/xbox/dbox2TV.part1.rar
http://www.pt-1.net/xbox/dbox2TV.part2.rar


Also FullToTop included a script on Xbox Scripts that can communicate with Neutrino.

At present a lot of DVB Hardware at least in Mainland Europe has Neutrino or Enigma ported over to the newer Hardware Platform away from the good old Dbox2 with it 66Mhz Proc