Mailing List Archive

TV works in Kodi PVR addon but not in MythFrontend
Hello,

I have a peculiar situation going on here. I have an iptv stream setup
in mythbackend (v0.28). It works in the Kodi Mythtv PVR addon but doesnt
in Mythfrontend.

The channel list is /home/xx/iptv.m3u

#EXTM3U
#EXTINF:0,114 - Test1
#EXTMYTHTV:xmltvid=Test1
udp://239.255.42.42:5004
#EXTINF:0,117 - Test2
#EXTMYTHTV:xmltvid=Test2
udp://239.255.42.42:5004

When running Kodi PVR addon I get:

May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: N CoreContext
autoexpire.cpp:251 (CalcParams) AutoExpire: CalcParams(): Max required
Free Space: 3.0 GB w/freq: 14 min
May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: W TVRecEvent
programinfo.cpp:5668 (LoadFromProgram) LoadFromProgram(): SQL contains
LIMIT clause, caller should be updated to use limit parameter instead
May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: N TVRecEvent
recordinginfo.cpp:687 (ApplyRecordRecGroupChange)
ApplyRecordRecGroupChange: LiveTV to LiveTV (2)
May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: I TVRecEvent
tv_rec.cpp:4248 (TuningNewRecorder) TVRec[1]: TuningNewRecorder -
CreateRecorder()
May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: W TVRecEvent
recorders/recorderbase.cpp:201 (SetOption) RecBase[1]():
SetOption(mrl,file:///home/xx/iptv.m3u): Option not recognized
May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
recorders/recorderbase.cpp:229 (SetStrOption)
RecBase[1](file:///home/xx/iptv.m3u): SetStrOption(...recordingtype):
Option not in profile.
May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: I StreamHandler
recorders/iptvstreamhandler.cpp:125 (run) IPTVSH(239.255.42.42::5004): run()
May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: I StreamHandler
recorders/iptvstreamhandler.cpp:272 (run) IPTVSH(239.255.42.42::5004):
Joining 239.255.42.42


When running mythfrontend the stream fails:

May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I ProcessRequest
mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Playback
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I ProcessRequest
mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: desktop(de30a0)
as a client (events: 0)
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E ProcessRequest
mythdb.cpp:183 (DBError) DB Error (ShouldSwitchToAnotherInput):#012Query
was:#012SELECT channel.channum, channel.callsign FROM channel WHERE
channel.chanid = ?#012Bindings were:#012:CHANID="1001"#012No error type
from QSqlError? Strange...
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I TVRecEvent
tv_rec.cpp:1074 (HandleStateChange) TVRec[1]: Changing from None to
WatchingLiveTV
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because it
could not#012#011#011#011find channel number '1001' in DB for source '1'.
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
recorders/channelbase.cpp:179 (IsTunable) ChannelBase[1]:
IsTunable(1001) Failed to find channel in DB on input '1'
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because it
could not#012#011#011#011find channel number '1001' in DB for source '1'.
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
recorders/channelbase.cpp:179 (IsTunable) ChannelBase[1]:
IsTunable(1001) Failed to find channel in DB on input '1'
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
recorders/channelbase.cpp:134 (Init) ChannelBase[1]: Setting start
channel '1001' failed, #012#011#011#011and we failed to find any
suitible channels on any input.
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I TVRecEvent
tv_rec.cpp:3686 (TuningFrequency) TVRec[1]: TuningFrequency
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I StreamHandler
recorders/iptvstreamhandler.cpp:125 (run) IPTVSH(239.255.42.42::5004): run()
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I StreamHandler
recorders/iptvstreamhandler.cpp:272 (run) IPTVSH(239.255.42.42::5004):
Joining 239.255.42.42
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because it
could not#012#011#011#011find channel number '1001' in DB for source '1'.
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
recorders/dtvchannel.cpp:219 (SetChannelByString)
DTVChan[1](239.255.42.42::5004): SetChannelByString(1001): Unable to
find channel in database.
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
tv_rec.cpp:3764 (TuningFrequency) TVRec[1]: Failed to set channel to
1001. Reverting to kState_None
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I TVRecEvent
tv_rec.cpp:1074 (HandleStateChange) TVRec[1]: Changing from
WatchingLiveTV to None
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
tv_rec.cpp:1787 (GetStartChannel) TVRec[0]: Problem finding starting
channel, setting to default of '3'.
May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I
MythSocketThread(65) mainserver.cpp:7656 (connectionClosed) Playback
sock(de30a0) 'desktop' disconnected


Any idea what is going on?

Thanks

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: TV works in Kodi PVR addon but not in MythFrontend [ In reply to ]
On 26 May 2017 12:55:29 pm Rajil Saraswat <rajil.s@gmail.com> wrote:

> Hello,
>
> I have a peculiar situation going on here. I have an iptv stream setup
> in mythbackend (v0.28). It works in the Kodi Mythtv PVR addon but doesnt
> in Mythfrontend.
>
> The channel list is /home/xx/iptv.m3u
>
> #EXTM3U
> #EXTINF:0,114 - Test1
> #EXTMYTHTV:xmltvid=Test1
> udp://239.255.42.42:5004
> #EXTINF:0,117 - Test2
> #EXTMYTHTV:xmltvid=Test2
> udp://239.255.42.42:5004
>
> When running Kodi PVR addon I get:
>
> May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: N CoreContext
> autoexpire.cpp:251 (CalcParams) AutoExpire: CalcParams(): Max required
> Free Space: 3.0 GB w/freq: 14 min
> May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: W TVRecEvent
> programinfo.cpp:5668 (LoadFromProgram) LoadFromProgram(): SQL contains
> LIMIT clause, caller should be updated to use limit parameter instead
> May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: N TVRecEvent
> recordinginfo.cpp:687 (ApplyRecordRecGroupChange)
> ApplyRecordRecGroupChange: LiveTV to LiveTV (2)
> May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: I TVRecEvent
> tv_rec.cpp:4248 (TuningNewRecorder) TVRec[1]: TuningNewRecorder -
> CreateRecorder()
> May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: W TVRecEvent
> recorders/recorderbase.cpp:201 (SetOption) RecBase[1]():
> SetOption(mrl,file:///home/xx/iptv.m3u): Option not recognized
> May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> recorders/recorderbase.cpp:229 (SetStrOption)
> RecBase[1](file:///home/xx/iptv.m3u): SetStrOption(...recordingtype):
> Option not in profile.
> May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: I StreamHandler
> recorders/iptvstreamhandler.cpp:125 (run) IPTVSH(239.255.42.42::5004): run()
> May 25 22:20:48 tvmyth mythbackend: mythbackend[22120]: I StreamHandler
> recorders/iptvstreamhandler.cpp:272 (run) IPTVSH(239.255.42.42::5004):
> Joining 239.255.42.42
>
>
> When running mythfrontend the stream fails:
>
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I ProcessRequest
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Playback
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I ProcessRequest
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: desktop(de30a0)
> as a client (events: 0)
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E ProcessRequest
> mythdb.cpp:183 (DBError) DB Error (ShouldSwitchToAnotherInput):#012Query
> was:#012SELECT channel.channum, channel.callsign FROM channel WHERE
> channel.chanid = ?#012Bindings were:#012:CHANID="1001"#012No error type
> from QSqlError? Strange...
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I TVRecEvent
> tv_rec.cpp:1074 (HandleStateChange) TVRec[1]: Changing from None to
> WatchingLiveTV
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because it
> could not#012#011#011#011find channel number '1001' in DB for source '1'.
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> recorders/channelbase.cpp:179 (IsTunable) ChannelBase[1]:
> IsTunable(1001) Failed to find channel in DB on input '1'
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because it
> could not#012#011#011#011find channel number '1001' in DB for source '1'.
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> recorders/channelbase.cpp:179 (IsTunable) ChannelBase[1]:
> IsTunable(1001) Failed to find channel in DB on input '1'
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> recorders/channelbase.cpp:134 (Init) ChannelBase[1]: Setting start
> channel '1001' failed, #012#011#011#011and we failed to find any
> suitible channels on any input.
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I TVRecEvent
> tv_rec.cpp:3686 (TuningFrequency) TVRec[1]: TuningFrequency
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I StreamHandler
> recorders/iptvstreamhandler.cpp:125 (run) IPTVSH(239.255.42.42::5004): run()
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I StreamHandler
> recorders/iptvstreamhandler.cpp:272 (run) IPTVSH(239.255.42.42::5004):
> Joining 239.255.42.42
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because it
> could not#012#011#011#011find channel number '1001' in DB for source '1'.
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> recorders/dtvchannel.cpp:219 (SetChannelByString)
> DTVChan[1](239.255.42.42::5004): SetChannelByString(1001): Unable to
> find channel in database.
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> tv_rec.cpp:3764 (TuningFrequency) TVRec[1]: Failed to set channel to
> 1001. Reverting to kState_None
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I TVRecEvent
> tv_rec.cpp:1074 (HandleStateChange) TVRec[1]: Changing from
> WatchingLiveTV to None
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: E TVRecEvent
> tv_rec.cpp:1787 (GetStartChannel) TVRec[0]: Problem finding starting
> channel, setting to default of '3'.
> May 25 22:22:09 tvmyth mythbackend: mythbackend[22120]: I
> MythSocketThread(65) mainserver.cpp:7656 (connectionClosed) Playback
> sock(de30a0) 'desktop' disconnected
>
>
> Any idea what is going on?
>
> Thanks
>
> _______________________________________________

Have you tried navigating to Live TV via the Mythfrontend Program Guide -
menu (m) - watch this channel sequence?


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: TV works in Kodi PVR addon but not in MythFrontend [ In reply to ]
On May 27, 2017 7:41 AM, "Mark Perkins" <perkins1724@hotmail.com> wrote:



Have you tried navigating to Live TV via the Mythfrontend Program Guide -
menu (m) - watch this channel sequence?



I nuked the database and now both mythfrontend and kodi are picking up the
channels.