Project

General

Profile

Configuring tvheadend without WebInterface

Added by ales savli almost 13 years ago

Hi,

Is there a way to configure tvheadend without WebInterface? I would like to select from available TV adapters, add dvb network by location and map dvb services to channels.

Do I have to write some scripts to do that for me? How?

I would really appreciate your help.


Replies (8)

RE: Configuring tvheadend without WebInterface - Added by Andreas Smas almost 13 years ago

Tvheadends configuration is not really designed to do this.
You can look at the JSON files stored in $HOME/.hts/tvheadend if you want to.

RE: Configuring tvheadend without WebInterface - Added by Hein Rigolo almost 13 years ago

ales savli wrote:

Hi,

Is there a way to configure tvheadend without WebInterface? I would like to select from available TV adapters, add dvb network by location and map dvb services to channels.

Do I have to write some scripts to do that for me? How?

I would really appreciate your help.

Could you please explain why you would like to do this? What is preventing you from using a web browser to access the web configuration page that is build into tvheadend?

Hein

RE: Configuring tvheadend without WebInterface - Added by ales savli almost 13 years ago

We would like to implement this in XBMC so user could easily change TV adapter, change satelite, muxes...

RE: Configuring tvheadend without WebInterface - Added by Martin Mrvka almost 13 years ago

since the web interface is using extjs, there is something like a rest api.

you can use GET to retrieve lists of json objects and use POST to update them.

I've written a "it work's for me" perl script to configure tvheadend from scratch. it' adds only the muxes for the channels I watch and of course adds the channels and does the proper numbering. I can provide the code as is if needed.

But maybe for a more mature integration in xbmc, htsp protocol has to be extended....

Martin

RE: Configuring tvheadend without WebInterface - Added by Hein Rigolo almost 13 years ago

ales savli wrote:

We would like to implement this in XBMC so user could easily change TV adapter, change satelite, muxes...

Who are "we"?
And why can't you show the tvheadend web gui in a frame within an xbmc configuration page?

Also, how often would you change the tvheadend configuration? Usually when you add a new adapter, or make some other changes thatwould also involve work on the tvheadend server it self. Muxes are usually found automatically on a properly working dvb network .... So how often would you make changes?

But, i can understand the need, so if you,would liketo have an option remotly configure tvheadend then I would suggest you come up with a proposal so that we can evaluate it.

Hein

RE: Configuring tvheadend without WebInterface - Added by B. J. almost 13 years ago

Muxes are usually found automatically on a properly working dvb network

TVHeadend found a lot of garbage between 10-12 Mhz and interpreted this as QPSK-Muxes so the automatic detection is not a real solution (in fact of the cable network of my town/provider). I had to add new muxes manually. Maybe the delivering of VOIP/DSL, analog TV and other services over the same cable is the reason for that.

RE: Configuring tvheadend without WebInterface - Added by Hein Rigolo almost 13 years ago

Tvheadend is not finding it by it self. There are three ways that tvheadend is using the information about muxes.

1: mux information contained in the initial scaning files of the dvb-apps project (compiled into the tvheadend binary)
2: via automatic mux discovery.Every mux that gets added by automatic mux discovery is added based on the information contained in the NIT table.
3: manually added by the user.

So if "garbage" is added than it cam from one of these 3 sources. If it was added based on automatci mux discovery,, the the NIT tables contain garbage, and you do not have a "properly working" dvb network.

Hein

RE: Configuring tvheadend without WebInterface - Added by B. J. almost 13 years ago

So if "garbage" is added than it cam from one of these 3 sources. If it was added based on automatci mux discovery,, the the NIT tables contain garbage, and you do not have a "properly working" dvb network.

And that's is what I would say. By the way, it makes sense scanning muxes round about 11...12 Mhz.

    (1-8/8)