Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Rescan channels

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


raptorjr08 at gmail

Apr 12, 2012, 11:50 PM

Post #1 of 9 (629 views)
Permalink
Rescan channels

My cable provider has moved around probably every channel so i can't tune
anything, so i need to rescan all my channels. But i don't know if I'm
doing anything wrong? Probably since i can't get it to work.

First i made a channels.conf file that worked with czap, got a lock on my
channels, and was also able to watch channels with mplayer. So i imported
that channels.conf file into Myth, but still couldn't tune any channel in
Myth.

Then i tried to do a Full scan from Myth, found all channels and added some
that i don't use, but still can't tune anything in Myth.

Now i removed all my DVB cards and all channels, and added the cards again.
First i tried to import the channels.conf, nothing was added although it
looked like it. Then i did a Full scan again and all the channels were
added, but now in a mess and without XMLTV id, i did put in quite some time
last time i scanned for channels to get everything in order. But anyway,
now i could tune all channels.

So it seems to me that Myth won't update my existing channels, only create
new ones. And also, using a channels.conf file didn't seem to do anything.

Shouldn't it be possible to update existing channels, or do i need to start
all over every time there is a change on a channel?

I will try again tonight, it was a little late yesterday, maybe i missed
something.

/Stefan


mythtv-users at lists

Apr 13, 2012, 2:08 AM

Post #2 of 9 (599 views)
Permalink
Re: Rescan channels [In reply to]

Stefan D wrote:
> First i made a channels.conf file that worked with czap, got a lock on
> my channels, and was also able to watch channels with mplayer. So i
> imported that channels.conf file into Myth, but still couldn't tune any
> channel in Myth.

I can't remember when I fiddled around with a channels.conf the last
time. Shouldn't be necessary.

> Shouldn't it be possible to update existing channels, or do i need to
> start all over every time there is a change on a channel?

You could use the "database editing script" from
http://www.mythtv.org/wiki/Database_editing_script after doing a full
scan. Once you edited it to your needs it saves you a lot of time. The
lines in my script look something like this.

update channel set
visible=1,channum=1,xmltvid="london.bbc1.bbc.co.uk",icon="/home/mythtv/.mythtv/channels/bbc_one_london.jpg",useonairguide="0",commmethod="-2"
where callsign="BBC ONE" ;

HTH
Thomas
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


raptorjr08 at gmail

Apr 13, 2012, 10:11 AM

Post #3 of 9 (595 views)
Permalink
Re: Rescan channels [In reply to]

On Fri, Apr 13, 2012 at 11:08 AM, Thomas Boehm <
mythtv-users [at] lists> wrote:

> Stefan D wrote:
> > First i made a channels.conf file that worked with czap, got a lock on
> > my channels, and was also able to watch channels with mplayer. So i
> > imported that channels.conf file into Myth, but still couldn't tune any
> > channel in Myth.
>
> I can't remember when I fiddled around with a channels.conf the last
> time. Shouldn't be necessary.
>
> > Shouldn't it be possible to update existing channels, or do i need to
> > start all over every time there is a change on a channel?
>
> You could use the "database editing script" from
> http://www.mythtv.org/wiki/Database_editing_script after doing a full
> scan. Once you edited it to your needs it saves you a lot of time. The
> lines in my script look something like this.
>
> update channel set
> visible=1,channum=1,xmltvid="london.bbc1.bbc.co.uk
> ",icon="/home/mythtv/.mythtv/channels/bbc_one_london.jpg",useonairguide="0",commmethod="-2"
> where callsign="BBC ONE" ;
>
> HTH
> Thomas
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

Thank you. But shouldn't Myth be able to update existing channels that have
changed? Do i really have to start all over every time? I hope it wont be
to often, but anyway. Updating channels seems like a valid feature for a TV
recording application like Myth.

I do hope that i do something wrong and someone knows the way to do it
right. Because the obvious way, as i see it, dont work.

/Stefan


james.lawson at gmail

Apr 13, 2012, 10:21 AM

Post #4 of 9 (586 views)
Permalink
Re: Rescan channels [In reply to]

Why the hell are your emails in my trash?



On Fri, Apr 13, 2012 at 4:08 AM, Thomas Boehm <mythtv-users [at] lists
> wrote:

> Stefan D wrote:
> > First i made a channels.conf file that worked with czap, got a lock on
> > my channels, and was also able to watch channels with mplayer. So i
> > imported that channels.conf file into Myth, but still couldn't tune any
> > channel in Myth.
>
> I can't remember when I fiddled around with a channels.conf the last
> time. Shouldn't be necessary.
>
> > Shouldn't it be possible to update existing channels, or do i need to
> > start all over every time there is a change on a channel?
>
> You could use the "database editing script" from
> http://www.mythtv.org/wiki/Database_editing_script after doing a full
> scan. Once you edited it to your needs it saves you a lot of time. The
> lines in my script look something like this.
>
> update channel set
> visible=1,channum=1,xmltvid="london.bbc1.bbc.co.uk
> ",icon="/home/mythtv/.mythtv/channels/bbc_one_london.jpg",useonairguide="0",commmethod="-2"
> where callsign="BBC ONE" ;
>
> HTH
> Thomas
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>



--
james

Please consider the environment before printing this email.


gjhurlbu at gmail

Apr 13, 2012, 10:44 AM

Post #5 of 9 (590 views)
Permalink
Re: Rescan channels [In reply to]

On Fri, Apr 13, 2012 at 10:21 AM, James Lawson <james.lawson [at] gmail> wrote:
> Why the hell are your emails in my trash?

Why do you keep putting them there?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


linux at thehobsons

Apr 13, 2012, 10:54 AM

Post #6 of 9 (587 views)
Permalink
Re: Rescan channels [In reply to]

Stefan D wrote:

>Thank you. But shouldn't Myth be able to update existing channels
>that have changed? Do i really have to start all over every time? I
>hope it wont be to often, but anyway. Updating channels seems like a
>valid feature for a TV recording application like Myth.

That's a tricky one. You can scan for channels without deleting
everything first, but to be honest once you setup a script to get
things as you like then it's easier to clear them and start again.

It sounds easy doesn't it - just scan and update channels. But when
you start to look at it, there are all sorts of tricky ones - not
least of which is if a channel has changed it's identity (by whatever
measure you use), in which case you end up with two versions.
At least with Myth you can script it, with every freeview device I've
used, you have to re-order channels by hand (if you can do it at
all), and you can forget about renaming anything.


James Lawson wrote:

>Why the hell are your emails in my trash?

Look at your spam filter settings - I'd guess you have some spam
filtering or rules that are auto-deleting them.
--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


raptorjr08 at gmail

Apr 13, 2012, 11:46 AM

Post #7 of 9 (586 views)
Permalink
Re: Rescan channels [In reply to]

> It sounds easy doesn't it - just scan and update channels. But when you
> start to look at it, there are all sorts of tricky ones - not least of
> which is if a channel has changed it's identity (by whatever measure you
> use), in which case you end up with two versions.
> At least with Myth you can script it, with every freeview device I've
> used, you have to re-order channels by hand (if you can do it at all), and
> you can forget about renaming anything.
>
>
But the channel id probably stays the same most of the times, only
mux/transponder, QAM and such things that change. But yes, you could get
multiple versions.

I guess i have to make one big script to update the channels and start from
scratch.

What is the best way to remove all the channels? Yesterday i deleted all
the entries in the channel table, but after that i couldn't scan for
channels. So i also removed and added the DVB cards in mythtv-setup to get
it to work again. But it was late, so i could have made some mistake. But i
guess clearing the channel table should be enough?

/Stefan


jayf0ster at sbcglobal

Apr 13, 2012, 12:48 PM

Post #8 of 9 (585 views)
Permalink
Re: Rescan channels [In reply to]

On 4/13/2012 11:12 AM, Stefan D<raptorjr08 [at] gmail> wrote:
> On Fri, Apr 13, 2012 at 11:08 AM, Thomas Boehm<
> mythtv-users [at] lists> wrote:
>
>> > Stefan D wrote:
>> >
>> > I can't remember when I fiddled around with a channels.conf the last
>> > time. Shouldn't be necessary.
>> >
>> >
>> > You could use the "database editing script" from
>> > http://www.mythtv.org/wiki/Database_editing_script after doing a full
>> > scan. Once you edited it to your needs it saves you a lot of time. The
>> > lines in my script look something like this.
>> >
>> > update channel set
>> > visible=1,channum=1,xmltvid="london.bbc1.bbc.co.uk
>> > ",icon="/home/mythtv/.mythtv/channels/bbc_one_london.jpg",useonairguide="0",commmethod="-2"
>> > where callsign="BBC ONE" ;
>> >
>> > HTH
>> > Thomas
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users [at] mythtv
>> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >
> Thank you. But shouldn't Myth be able to update existing channels that have
> changed? Do i really have to start all over every time? I hope it wont be
> to often, but anyway. Updating channels seems like a valid feature for a TV
> recording application like Myth.
>
> I do hope that i do something wrong and someone knows the way to do it
> right. Because the obvious way, as i see it, dont work.
>
> /Stefan
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:<http://www.mythtv.org/pipermail/mythtv-users/attachments/20120413/896d7b9d/attachment-0001.html>

I don't know about 0.25 (I'm using 0.21-fixes), but I use mythtvbackend
setup to rescan individual channels that have had changes. Use the scan
existing transport stream option and select the transport stream
(physical channel number) to rescan. I usually use the minimal updates,
otherwise, I have to reconfigure the channel icons too.

Jay

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mythtv-users at lists

Apr 13, 2012, 1:43 PM

Post #9 of 9 (583 views)
Permalink
Re: Rescan channels [In reply to]

Jay Foster wrote:
> I usually use the minimal updates,
> otherwise, I have to reconfigure the channel icons too.

That's where the database editing script comes handy. Just add
icon="..." to each line and you never have to do this again.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.