On 25/10/05, John Pullan <[EMAIL PROTECTED]> wrote: > On 14/06/05, John Pullan <[EMAIL PROTECTED]> wrote: > > On 13/06/05, Mattias Holmlund <[EMAIL PROTECTED]> wrote: > > > My 2 cents on the issue... > > > > > > On 6/13/05, John Pullan <[EMAIL PROTECTED]> wrote: > > > > > > > > xmtvids. Do we need multiple id's dependent on which grabber you are > > > > using. E.g tv_grab_uk_rt and tv_grab_uk_bleb both use different ids. > > > > > > > > > > The idea with the xmltv ids is that they should uniquely identify a > > > channel. Their behaviour is specified in rfc 2838: > > > > > > http://www.faqs.org/rfcs/rfc2838.html > > > > > > (see definition of "broadcast"). > > > > > > If everybody followed this rfc there should be very few problems. > > > There is of course several ways to name each channel and still follow > > > the RFC, but we should encourage the different grabbers to cooperate > > > and in my opinion, whoever is the first to provide data for a specific > > > channel gets to choose the xmltvid for it and everyone else should use > > > the same. > > > > > > By providing a list with mappings from DVB-T Channel name / ID to > > > xmltvid we can actually encourage cooperation. > > > > > > So I think we should only map each channel to one xmltvid and make > > > tv_grab_* adapt and cooperate. > > > > > > /Mattias (author of tv_grab_se_swedb) > > > > > > > Does zap2it work in the same way with the standard ids ? (no clue > > about this service as I live in the uk) > > > > BTW I lied, and I hope to have something simple written by the end of > > the week :) > > Ahem so it it took me a bit longer than I thought. Anyway this is a > very basic app which matches the callsign from a list of ids found in > a file and applies an xmltvid to the DB. > > usage : > xmltvid <videosource> <idfile> > e.g xmltvid 1 ids.txt > > The format of the ids.txt is : > callsign,xmltvid,service id,network id > > if service id is not found then it tries to match against network id. > If network id can't be matched then callsign is used. > > e.g > BBC ONE,london.bbc1.bbc.co.uk,0,9018 > BBC ONE,london.bbc1.bbc.co.uk,4164,9018 > BBC ONE,north-west.bbc1.bbc.co.uk,4168,9018 > would cause BBC One north west to be chosen if the network id was 9018 > and the service id is 4168. Otherwise it would default to london. > > Feedback is appreciated
Ahem, and here's the code -- John
xmltvidfinder.tar.bz2
Description: BZip2 compressed data
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
