<div dir="ltr"><div dir="ltr">On Sun, Jun 7, 2020 at 12:19 AM OpenMedia Support <<a href="mailto:support@openmedia.co.nz">support@openmedia.co.nz</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>> On Sat, May 2, 2020 at 11:46 PM OpenMedia Support<br>
>> <<a href="mailto:support@openmedia.co.nz" target="_blank">support@openmedia.co.nz</a>><br>
>> wrote:<br>
>><br>
>>> I'm still having issues with some local IPTV feeds with the FreeBox<br>
>>> tuner<br>
>>> so I want to try youtube-dl or vlc with mythexternrecorder.<br>
>>><br>
>>> Any tips on how to debug the external recorder as my channel scan is<br>
> failing for both VLC and youtube-dl configurations<br>
>>><br>
>>> vlc-nz.conf<br>
>>><br>
>>> [RECORDER]<br>
>>> # The recorder command to execute. %URL% is optional, and<br>
>>> # will be replaced with the channel's "URL" as defined in the<br>
>>> # [TUNER/channels] (channel conf) configuration file<br>
>>> #<br>
>>> # %LOGGING% will be replaced with mythtv logging params. For example: #<br>
> --verbose general,channel,record --logpath /var/log/mythtv --loglevel<br>
> info --quiet<br>
>>><br>
>><br>
>> Do you really have this "info --quiet" by itself on a line, or is that<br>
>> just<br>
>> a cut and paste error? If it is really there in your conf file, that<br>
>> might<br>
>> cause it to not load properly.<br>
><br>
> That was just a wrap issue with the email posting.<br>
><br>
>> When you are scanning, the "Scan Type" is "Import from<br>
>> ExtneralRecorder"?<br>
><br>
> Yes I'm using that type of Import<br>
><br>
>> If you run mythtv-setup like:<br>
>><br>
>> mythtv-setup -v chanscan:debug,channel:debug --logpath .<br>
><br>
> Ok I'll try that out<br>
><br>
>> You will end up with a log file in the current directory, with good<br>
> information in it.<br>
>><br>
>> What version of MythTV are you running? The "fixes/31" version has some<br>
> nice ExternalRecorder improvements in it, such as LiveTV channel changes<br>
> now work.<br>
><br>
> Yes I'm on a reasonably recent fixes/31 branch c/o Ubuntu's PPA<br>
<br>
<br>
I've now managed to debug the external recorder on the command line<br>
<br>
/usr/bin/mythexternrecorder -v all:debug --conf <br>
/usr/local/share/myPVR/iptv/vlc-nz.conf<br>
<br>
<br>
I can then send commands to check on the configuration<br>
<br>
<br>
2020-06-07 18:11:54.713814 C mythexternrecorder version: fixes/31<br>
[v31.0+fixes.202006061417.672d45b~ubuntu18.04.1] <a href="http://www.mythtv.org" rel="noreferrer" target="_blank">www.mythtv.org</a><br>
2020-06-07 18:11:54.713841 C Qt version: compile: 5.9.5, runtime: 5.9.5<br>
2020-06-07 18:11:54.713877 I Ubuntu 18.04.4 LTS (x86_64)<br>
2020-06-07 18:11:54.713882 N Enabled verbose msgs: all<br>
2020-06-07 18:11:54.713894 N Setting Log Level to LOG_INFO<br>
2020-06-07 18:11:54.724175 I : Buffer: Ready for data.<br>
2020-06-07 18:11:54.724245 I Added logging to the console<br>
2020-06-07 18:11:54.724269 I : Command parser ready.<br>
2020-06-07 18:11:54.724366 I Channels in<br>
'/usr/local/share/myPVR/iptv/vlc-nz-channels.conf', Tuner: '', Scanner: ''<br>
<br>
0:0:ERR:Version 2 API expects serial_no:msg format. Saw '' instead<br>
<br>
0:0:ERR:Version 2 API expects serial_no:msg format. Saw '' instead<br>
1:APIVersion:2<br>
1:OK:2<br>
2020-06-07 18:12:06.520759 I : Processing '1:APIVersion:2' --> '1:OK:2'<br>
2:Version?<br>
2:OK:0.6<br>
2020-06-07 18:12:10.669700 I : Processing '2:Version?' --> '2:OK:0.6'<br>
3:Description?'<br>
3:WARN:Not set<br>
2020-06-07 18:12:18.549908 I : Processing '3:Description?'' --><br>
'3:WARN:Not set'<br>
4:HasTuner?<br>
4:OK:No<br>
2020-06-07 18:12:22.960320 I : Processing 'HasTuner' --> '4:OK:No'<br>
5:LoadChannels<br>
5:OK:2<br>
2020-06-07 18:12:35.523311 I : Processing 'LoadChannels' --> '5:OK:2'<br>
6::FirstChannel<br>
6:OK:1003,Three,Three,tv.11,<br>
2020-06-07 18:12:48.981436 I cvlc "" "" "" "" : NextChannel<br>
Name:'Three',Callsign:'Three',xmltvid:tv.11,Icon:<br>
2020-06-07 18:12:48.981465 I : Processing 'FirstChannel' --><br>
'6:OK:1003,Three,Three,tv.11,'<br>
7:TuneChannel:1003<br>
7:ERR:No 'tuner' configured.<br>
2020-06-07 18:14:01.949287 E cvlc "" "" "" "" : No 'tuner' configured.<br>
2020-06-07 18:14:01.949312 I : Processing 'TuneChannel' --> '7:ERR:No<br>
'tuner' configured.'<br>
<br>
<br>
So I don't have a valid Tuner and I can't tune or channel scan under<br>
mythtv-setup.<br>
<br>
I'm using a config for VLC based off the examples in the Wiki which don't<br>
specify a command under TUNER<br>
<br>
<a href="https://www.mythtv.org/wiki/Example_Configuration_files" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Example_Configuration_files</a><br>
<br>
Can someone provide a known working vlc.conf I can used as a template.<br>
I've tried modifying the entry to<br>
<br>
command=echo %URL%<br>
<br>
Which means I get a valid Tuner reponse but I still can't tune in correctly.<br>
<br>
Steven<br></blockquote><div><br></div><div>Hi Steven,</div><div><br></div><div>It has been a while since I used mythexternrecorder with that kind of configuration. I just tried it and am getting similar results to you. I will look into it and hopefully get it fixed soon.</div><div><br></div><div>John<br></div></div></div>