HTS TVheadend front-end client built-into to XBMC
#1
Lightbulb 
Hi everyone,

I thought people might be interested in my software that I am developing called HTS Tvheadend that has capabilities to export a TV bouquet over XBMSP. This effectively turns your XBMC into a set-top-box for TV.

http://lonelycoder.com/hts/tvheadend_overview.html

Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources. It also comes with a powerful and easy to use web interface both used for configuration and day-to-day operations, such as searching the EPG and scheduling recordings.

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

Best regards / Andreas
HTS (Home Theater System) TVheadend Developer
http://lonelycoder.com/hts/
Reply
#2
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).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
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.
Reply
#4
HTS TVheadend would make another nice backend to this frontend suggestion:
http://forum.xbmc.org/showthread.php?tid=28918

...now if we only had a GUI developer onboard Sad
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
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?)
Reply
#6
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
Reply
#7
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.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#8
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.

Image

Image

Image

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
Reply
#9
Just wondering if a front end interface is being worked on for the xbmc + tvheadend setup?
The live Version works a treat just no front end epg or record etc without using a web interface,which means using a laptop to setup record etc.
Reply
#10
http://trac.xbmc.org/ticket/8414
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
Reply

Logout Mark Read Team Forum Stats Members Help
HTS TVheadend front-end client built-into to XBMC0