Rob Shortt wrote: > Dirk Meyer wrote: >> Rob Shortt wrote: >> >>>+ def start_recording(self, channel, output): >>>+ """ >>>+ Start a recording, create the filter chain and add the filters we >>>care >>>+ about. >>>+ """ >>>+ log.info('we wish to record channel %s' % channel) >>>+ chain = kaa.record.Chain() >>>+ chain.append(output) >>>+ return kaa.record.IVTVDevice.start_recording(self, channel, chain) >> Where do you convert internal channel id to frequency? > > I moved the frequency tables into kaa.record, but I think you're > referring to the channel's tunind id (access_id).
yes > Well, I don't need to convert anything since that is what's passed > to this function. :) OK, I give up. How does all this work. We have the following (fake) setup: The channel ARD has the xmltv id ard.de and the dvb you need to tune to "Das Erste RB". And for analoge cards it is on freq. 20. How does that work? We use one unique id to identify a channel in Freevo. That is the xmltv id (here: ard.de). So I need to convert ard.de to "Das Erste RB" vor dvb and to 20 for analog. > I took a look at what you're doing here and think that might not be > neccessary either. In my local copy (I just remembered) I have a > couple modifications to external.py to deal with a dvbism that's there > too, and perhaps allow me to do what I do. Maybe you can make sure you don't have to much modifications not in cvs. We should _always_ use ard.de on the mbus. So no modification in external.py needed. > Also, I see that you refer to kaa.epg.channels in recorder, but > wouldn't it be better to look at card.channels and do anything special > at config/detect time (like is already done)? We have crd.channels. This is so confusing, we need some huge cleanup here. > When I get IVTV working better I will spend some time looking at all > the channel/id translation stuff for a generic answer. The main > problem we're working around here is that for you (and of course many > other people) the TV guide information you're getting in XMLTV format > doesn't have an (tuning/access) id to match that of TV_CHANNELS and > kaa.epg. Right. I have no access id at all. All I have is a name and a unique id. There is no way to look up the id to get a frequency or a dvb name. I guess we should start some sort of database for that. > Anyhow, I do have some things to try, so I wouldn't worry much about > it for the next little bit. OK Dischi -- "I get to go to lots of overseas places, like Canada." - Britney Spears
pgpL3PqEkgDhq.pgp
Description: PGP signature