[mythtv-users] Live TV tries to tune channel unavailable on that tuner...

Daryl McDonald darylangela at gmail.com
Thu Nov 13 23:21:43 UTC 2014


On Thu, Nov 13, 2014 at 5:52 PM, Steven Adeff <adeffs.mythtv at gmail.com>
wrote:

> On Thu, Nov 13, 2014 at 8:58 AM, Peter Bennett (cats22)
> <cats22 at comcast.net> wrote:
> > On 11/12/2014 04:37 PM, Steven Adeff wrote:
> >> $ mythbackend --version
> >> Please attach all output as a file in bug reports.
> >> MythTV Version : v0.27.4-6-ge0b0027
> >> MythTV Branch : fixes/0.27
> >> Network Protocol : 77
> >> Library API : 0.27.20141016-1
> >> QT Version : 4.8.1
> >> Options compiled in:
> >>  linux profile use_hidesyms using_alsa using_oss using_pulse
> >> using_pulseoutput using_backend using_bindings_perl
> >> using_bindings_python using_bindings_php using_crystalhd using_dvb
> >> using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr
> >> using_ivtv using_joystick_menu using_libcec using_libcrypto
> >> using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg
> >> using_opengl using_opengl_video using_qtwebkit using_qtscript
> >> using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr
> >> using_xv using_profiletype using_bindings_perl using_bindings_python
> >> using_bindings_php using_mythtranscode using_opengl using_vaapi
> >> using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
> >>
> >> The system has two HDPVR with a full channel listing available, and an
> >> QAM HDHR with a limited channel listing available.
> >> When both HDPVR are in use, and the user attempts to watch LiveTV, the
> >> system flashes "Please Wait" then goes back to the menu with the
> >> following in the backend log,
> >>
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: I
> >> TVRecEvent tv_rec.cpp:1050 (HandleStateChange) TVRec[7]: Changing from
> >> None to WatchingLiveTV
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: E
> >> TVRecEvent channelutil.cpp:1940 (GetChannelData) GetChannelData()
> >> failed because it could not#012#011#011#011find channel number '52' in
> >> DB for source '2'.
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: E
> >> TVRecEvent recorders/channelbase.cpp:221 (IsTunable) ChannelBase[7]:
> >> IsTunable(MPEG2TS,52) Failed to find channel in DB on input '7'
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: E
> >> TVRecEvent channelutil.cpp:1940 (GetChannelData) GetChannelData()
> >> failed because it could not#012#011#011#011find channel number '52' in
> >> DB for source '2'.
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: E
> >> TVRecEvent recorders/channelbase.cpp:221 (IsTunable) ChannelBase[7]:
> >> IsTunable(MPEG2TS,52) Failed to find channel in DB on input '7'
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: E
> >> TVRecEvent recorders/channelbase.cpp:171 (Init) ChannelBase[7]:
> >> Setting start channel '52' failed, #012#011#011#011and we failed to
> >> find any suitible channels on any input.
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: I
> >> TVRecEvent tv_rec.cpp:3603 (TuningCheckForHWChange) TVRec[7]: HW
> >> Tuner: 7->7
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: E
> >> TVRecEvent channelutil.cpp:1940 (GetChannelData) GetChannelData()
> >> failed because it could not#012#011#011#011find channel number '52' in
> >> DB for source '2'.
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: E
> >> TVRecEvent recorders/dtvchannel.cpp:241 (SetChannelByString)
> >> DTVChan[7](192.168.1.117-0): SetChannelByString(52): Unable to find
> >> channel in database.
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: E
> >> TVRecEvent tv_rec.cpp:3793 (TuningFrequency) TVRec[7]: Failed to set
> >> channel to 52. Reverting to kState_None
> >> Nov 12 13:28:05 MythCenter mythbackend: mythbackend[2641]: I
> >> TVRecEvent tv_rec.cpp:1050 (HandleStateChange) TVRec[7]: Changing from
> >> WatchingLiveTV to None
> >> Nov 12 13:32:13 MythCenter mythbackend: mythbackend[2641]: N Expire
> >> autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required
> >> Free Space: 4.0 GB w/freq: 7 min
> >>
> >> When this first happened I changed the startchan number for the tuner
> >> from 52 to a channel that is in the database for the source connected
> >> to this tuner, but now it looks to have returned for some reason.
> >> Is there something I've missed in my setup that is causing this to
> happen?
> >>
> >> thanks!
> >>
> > Mythtv keeps the last channel tuned by each frontend for live tv and
> > when you switch to live tv it tries to tune that channel. Unfortunately
> > if that channel is not working you are stuck, every time you try again
> > it hangs there and you cannot change channel.
> > I have solved this before by running this SQL:
> >
> > update settings set data = '3707'
> > where value = 'DefaultChanid' ;
> >
> > Setting a good known channel (note that is the chanid not the channel
> > number). This will set all frontends to that default channel. To set a
> > single frontend you will need to add a hostname to the where clause.
> >
> > Peter
>
> great. so basically, I have to run that before going in to live tv every
> time...
>
>
> --
> Steve
> http://www.mythtv.org/wiki/User:Steveadeff
> Before you ask, read the FAQ!
> http://www.mythtv.org/wiki/Frequently_Asked_Questions
> then search the Wiki, and this list,
> http://www.gossamer-threads.com/lists/mythtv/
> Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
>

IIRC as long as you exit live TV on a functioning channel you would restart
the next session on that (functional) channel, if not maybe change the
starting channel on your input connections?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20141113/8e88bec1/attachment.html>


More information about the mythtv-users mailing list