[mythtv-users] Iptv

Stephen Worthington stephen_agent at jsw.gen.nz
Sat Feb 24 02:41:07 UTC 2018


On Fri, 23 Feb 2018 13:13:08 -0500, you wrote:


>> But before trying to track down a possible redirection (which is
>> possible but a bit difficult with https), it would pay to check that
>> the database entries for the channel are correct.  So what do these
>> three SQL queries produce?
>>
>> select * from capturecard where cardtype='FREEBOX'\G
>> select * from channel where name='CBC'\G
>> select * from iptv_channel where chanid=(select chanid from channel
>> where name='CBC')\G

>
> Database changed
>mysql> select * from capturecard where cardtype='FREEBOX'\G
>*************************** 1. row ***************************
>               cardid: 11
>             parentid: 0
>          videodevice: http://127.0.0.1/playlist.m3u
>          audiodevice: NULL
>            vbidevice: NULL
>             cardtype: FREEBOX
>         defaultinput: Television
>       audioratelimit: NULL
>             hostname: mythtv
>         dvb_swfilter: 0
>         dvb_sat_type: 0
>dvb_wait_for_seqstart: 1
>          skipbtaudio: 0
>        dvb_on_demand: 0
>      dvb_diseqc_type: NULL
>       firewire_speed: 0
>       firewire_model: NULL
>  firewire_connection: 0
>       signal_timeout: 1000
>      channel_timeout: 65000
>     dvb_tuning_delay: 0
>             contrast: 0
>           brightness: 0
>               colour: 0
>                  hue: 0
>             diseqcid: NULL
>          dvb_eitscan: 1
>            inputname: MPEG2TS
>             sourceid: 7
>      externalcommand: NULL
>       changer_device: NULL
>        changer_model: NULL
>             tunechan: NULL
>            startchan: 9
>          displayname: HLS
>          dishnet_eit: 0
>          recpriority: 0
>            quicktune: 0
>           schedorder: 1
>          livetvorder: 1
>*************************** 2. row ***************************
>               cardid: 12
>             parentid: 11
>          videodevice: http://127.0.0.1/playlist.m3u
>          audiodevice: NULL
>            vbidevice: NULL
>             cardtype: FREEBOX
>         defaultinput: Television
>       audioratelimit: NULL
>             hostname: mythtv
>         dvb_swfilter: 0
>         dvb_sat_type: 0
>dvb_wait_for_seqstart: 1
>          skipbtaudio: 0
>        dvb_on_demand: 0
>      dvb_diseqc_type: 0
>       firewire_speed: 0
>       firewire_model: NULL
>  firewire_connection: 0
>       signal_timeout: 1000
>      channel_timeout: 65000
>     dvb_tuning_delay: 0
>             contrast: 0
>           brightness: 0
>               colour: 0
>                  hue: 0
>             diseqcid: 0
>          dvb_eitscan: 1
>            inputname: MPEG2TS
>             sourceid: 7
>      externalcommand: NULL
>       changer_device: NULL
>        changer_model: NULL
>             tunechan: NULL
>            startchan: 9
>          displayname: HLS
>          dishnet_eit: 0
>          recpriority: 0
>            quicktune: 0
>           schedorder: 1
>          livetvorder: 1
>2 rows in set (0.00 sec)
>
>mysql> select * from channel where name='CBC'\G
>*************************** 1. row ***************************
>           chanid: 7009
>          channum: 9
>           freqid: NULL
>         sourceid: 7
>         callsign: CBET
>             name: CBC
>             icon:
>         finetune: NULL
>     videofilters:
>          xmltvid: 10088
>      recpriority: 0
>         contrast: 32768
>       brightness: 32768
>           colour: 32768
>              hue: 32768
>         tvformat: Default
>          visible: 1
>    outputfilters:
>    useonairguide: 0
>          mplexid: NULL
>        serviceid: 0
>         tmoffset: 0
>  atsc_major_chan: 0
>  atsc_minor_chan: 0
>      last_record: 0000-00-00 00:00:00
>default_authority:
>       commmethod: -1
>           iptvid: NULL
>1 row in set (0.00 sec)
>
>mysql> select * from iptv_channel where chanid=(select chanid from channel
>    -> where name='CBC')\G
>*************************** 1. row ***************************
> iptvid: 4
> chanid: 7009
>    url: https://watch.cbc.ca/live/channel/windsor
>   type: data
>bitrate: 0
>1 row in set (0.00 sec)
>
>mysql>

Those are all the same as mine (except for the necessary differences).
So it looks like the problem is going to be a URL redirection.

Before we try anything more difficult, take a look in mythbackend.log
and see if it tells you anything.  If not, try increasing the logging
and logging level.  The commands "mythbackend --help" and "mythbackend
-v help" can be run while mythbackend is running to get help on the
command line options to do that.  Using:

  mythbackend --setloglevel debug

would set the logging level of the running mythbackend program to
"debug", and:

  mythbackend --setverbose http,network

might add the logging that would show a redirection problem.


More information about the mythtv-users mailing list