Where are the channels stored
Added by steve parry about 11 years ago
Hi all,
Im a software engineer and I'm looking for a way bulk sorting my channels.
I'm thinking of accessing the config files and editing them, I found the channel tags folder but im cant seem to find where the actual channels are stored. can anyone help?
Replies (9)
RE: Where are the channels stored - Added by Baum K about 11 years ago
Hi Steve,
For example ,if you're using an Openelec distrib, you will find channels in
//openelec/userdata/addon_data/service.multimedia.tvheadend/dvbtransports
Each service is stored in a file.
When the service is mapped, file is updated with fields :
- channelname
- mapped
Hope this helps
RE: Where are the channels stored - Added by steve parry about 11 years ago
Baum K wrote:
Hi Steve,
For example ,if you're using an Openelec distrib, you will find channels in
//openelec/userdata/addon_data/service.multimedia.tvheadend/dvbtransports
Each service is stored in a file.
When the service is mapped, file is updated with fields :
- channelname
- mappedHope this helps
Thanks for the info. Although I still cant seem to find where the tagging is stored.
e.g.
Channel Tag : "MyTag"
TV Channel : "MyChannel"
I add the tag "MyTag" to the channel "MyChannel" but I cant see where that has been stored
RE: Where are the channels stored - Added by Prof Yaffle about 11 years ago
/home/hts/.hts/tvheadend/channels
This folder contains a series of numbered files, each one corresponding to a channel; each file includes references to the tags, e.g.
hts@Server:~/.hts/tvheadend/channels$ more 406 { "name": "BBC ONE HD", "tags": [ 3, 5, 1, 7 ], "dvr_extra_time_pre": 0, "dvr_extra_time_post": 0, "channel_number": 141 }
and changing to ../channeltags then gives the corresponding tag files:
hts@Server:~/.hts/tvheadend/channeltags$ more 3 { "enabled": 0, "internal": 0, "titledIcon": 0, "name": "", "comment": "", "icon": "", "id": 3 } hts@Server:~/.hts/tvheadend/channeltags$ more 5 { "enabled": 1, "internal": 0, "titledIcon": 0, "name": "BBC HD", "comment": "", "icon": "", "id": 5 } hts@Server:~/.hts/tvheadend/channeltags$ more 1 { "enabled": 1, "internal": 0, "titledIcon": 0, "name": "TV channels", "comment": "", "icon": "", "id": 1 } hts@Server:~/.hts/tvheadend/channeltags$ more 7 { "enabled": 1, "internal": 0, "titledIcon": 0, "name": "HDTV", "comment": "", "icon": "", "id": 7 } hts@Server:~/.hts/tvheadend/channeltags$
RE: Where are the channels stored - Added by Akos Sz about 11 years ago
Hi,
I was also looking for a tool which makes possible mass editing of channels, mappings, favorite list, etc. I am not a software engineer, however I decided to write an application for myself. It is almost finished and I think it is quite powerful in comparision with TVH GUI.
If you are interested I can share it.
RE: Where are the channels stored - Added by Prof Yaffle about 11 years ago
Please do so - why not - I'm sure folks here can help if you're concerned about licence/legalities. But there are a couple of tvheadend "companion applications" (tvhguide, the mobile GUI) and more must always be good. You never know - maybe it could be incorporated as an official application!
RE: Where are the channels stored - Added by steve parry about 11 years ago
Would be great, also it would save me some time creating my own lol
RE: Where are the channels stored - Added by Akos Sz about 11 years ago
Ok. I have to finish some missing things an add a small help then I will upload here during the weekend.
RE: Where are the channels stored - Added by Akos Sz about 11 years ago
Hi,
Here it is:
https://tvheadend.org/boards/4/topics/9528