[mythtv-users] vdr and mythv

Angela angela.schmid at wolke7.net
Tue Jun 17 17:19:52 UTC 2014



> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
> bounces at mythtv.org] On Behalf Of Mike Perkins
> Sent: 17 June 2014 16:35
> To: Discussion about MythTV
> Subject: Re: [mythtv-users] vdr and mythv
> 
> On 17/06/14 07:03, Per Jessen wrote:
> > Some channels do broadcast in multiple languages - that's pretty
> > common in Switzerland for instance.  However, removing channels I
> > don't want is a hassle - I have some 4000 channels I think, most of
> > which I don't want.

I use vdr myself. Scan with w_scan, scans PMT and saves the language. Filter
the channels.conf based on language.

3sat;upc:490000:C0M256:C:6900:336=2:337=deu at 3,338=mis at 3,339=mul at 3;347=deu at 10
6:366;357=deu:0:61:1:78:0

egrep "=deu|=eng" channels.conf > consolidated.channels.conf. Add missing
ones.

For mythtv:
Update db: update channel set visible = 0;
Use awk to get position 10 for the serviced ("61").
cat consolidated.channels.conf | awk -F : '{ print "update channel set
visible = 1 where serviced = " $10 ";" }'
run generated sql script

Angela



More information about the mythtv-users mailing list