Mailing List Archive

xmltv dumps from nxtvepg and channelids
Hi folks,

because nxtvepg is more usefull to me I gave it a try. A Problem turned out
and I didn't find any solution in the archives:

nxtvep saves the channelids in the form of "CNIxxxx" (CNI0DC1, CNI0DE0 and
something like that). But to use channel information in MythTV I need
channelids like E2, SE1(europe-west) and so on.
To use the CNIxxxx-format I expandet the format of th field channum in the
table channel and of the field startchan in cardinput from 5 chars to 20.
Then I added a new frequency table called europe-west_cni into the
frequencies.c . After some testing and recompiling I got it work, but my
Problem is: I don't have a table with mappings from CNIxxxx to the real
freqencies, so my new frequency table is very incomplite until now...

Can someone help me out with a table that shows me a mapping between
CNI-Frequencies and E1,E2,SE1(etc.)-Frequencies or the real ones?

Or is there a easier solution to get the nxtvepg running with the europe-west
settings?

greetings, markus
Re: xmltv dumps from nxtvepg and channelids [ In reply to ]
markus scholz wrote:

>nxtvep saves the channelids in the form of "CNIxxxx" (CNI0DC1, CNI0DE0 and
>something like that). But to use channel information in MythTV I need
>channelids like E2, SE1(europe-west) and so on.
>

>Or is there a easier solution to get the nxtvepg running with the europe-west
>settings?
>
I don't see why you need to match the channelids from nxtvepg with the
channum at all. The table channel has a column xmltvid, against which
the xmltv source is matched. Just enter the channelids (in the form
nxtvepg uses them) corresponding to the channels you recieve and it
shoudl work, not?

Ben
Re: xmltv dumps from nxtvepg and channelids [ In reply to ]
Hi Ben,

thanx, sometimes i don't see the easiest way :-)
But some Problems persists:
1) how do you call the mythfilldatabase? With the --file option?
2) when i call it with the file option, mythfilldatabase checks all channelids
in the xml file against the xmltvids in the database. If a channel isn't in
the database it adds the channel. But i don't want that, because the
additions contain channums with CNIxxxx ...

I think I have 2 options:
- filter all channels I don't have out of the xml file befor calling
mythfilldatabase
or
- call mythfilldatabase with the --update option (which I think do not add
channels). But the --update option is not combinable with the --file
option...

Thanx in advance

Markus

Ben Bucksch wrote:
> markus scholz wrote:
> >nxtvep saves the channelids in the form of "CNIxxxx" (CNI0DC1, CNI0DE0 and
> >something like that). But to use channel information in MythTV I need
> >channelids like E2, SE1(europe-west) and so on.
> >
> >
> >Or is there a easier solution to get the nxtvepg running with the
> > europe-west settings?
>
> I don't see why you need to match the channelids from nxtvepg with the
> channum at all. The table channel has a column xmltvid, against which
> the xmltv source is matched. Just enter the channelids (in the form
> nxtvepg uses them) corresponding to the channels you recieve and it
> shoudl work, not?
>
> Ben
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: xmltv dumps from nxtvepg and channelids [ In reply to ]
Hi,

> Hi Ben,
>
> thanx, sometimes i don't see the easiest way :-)
> But some Problems persists:
> 1) how do you call the mythfilldatabase? With the --file option?

yup: mythfilldatabase --file 1 -1 file.xml
The first "1" is an id for the capture device (check the cardid field in
the capturecard table). The second "1" is a parameter to define the # of
days from today in the file (-1 means use ALL data in file).

> 2) when i call it with the file option, mythfilldatabase checks all
> channelids in the xml file against the xmltvids in the database. If a
> channel isn't in the database it adds the channel. But i don't want
> that, because the additions contain channums with CNIxxxx ...

I have never used nxtvep, but there should be a way to configure which
channels to collect.

>
> I think I have 2 options:
> - filter all channels I don't have out of the xml file befor calling
> mythfilldatabase
> or
> - call mythfilldatabase with the --update option (which I think do not
> add channels). But the --update option is not combinable with the
> --file option...
>
> Thanx in advance
>
> Markus
>
> Ben Bucksch wrote:
>> markus scholz wrote:
>> >nxtvep saves the channelids in the form of "CNIxxxx" (CNI0DC1,
>> CNI0DE0 and something like that). But to use channel information in
>> MythTV I need channelids like E2, SE1(europe-west) and so on.
>> >
>> >
>> >Or is there a easier solution to get the nxtvepg running with the
>> > europe-west settings?
>>
>> I don't see why you need to match the channelids from nxtvepg with the
>> channum at all. The table channel has a column xmltvid, against which
>> the xmltv source is matched. Just enter the channelids (in the form
>> nxtvepg uses them) corresponding to the channels you recieve and it
>> shoudl work, not?
>>
>> Ben
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users@snowman.net
>> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users