MythLogBot@irc.libera.chat :: #mythtv

Daily chat history

Current users (25):

ChanServ, DevMythNotifyBot, frobnic, gigem, hampton, knowledgejunkie, mad_enz, mkbloke, MythLogBot, ooshlablu, Panic, poptix, sphery, stuarta[m], MythBuild, amessina, peper03_, gregl, skrip_kid, xris-, fr0bnic, Malmis, wookey_, glenb77, enix
Monday, May 2nd, 2022, 00:34 UTC
[00:34:53] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[00:34:54] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[00:49:58] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[01:17:29] DevMythNotifyBot: COMMIT: linuxdude42 pushed 7 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/f87e . . . 54f1b90dddc7
[01:34:44] jpabq: gigem: correct about the open / close / open process that the streamhandler goes through. I have thought about trying to change the process to just open, but the last time I looked at it, it was going to require almost a complete re-write of that sequence of events to "fix" it, and I was afraid about breaking things in "recorders" I cannot replicate.
[01:37:30] jpabq: When using it via an external recorder, one idea I had was to have a ffmpeg or cvlc "service" which opened the the IPTV stream and kept it open. THEN , the external recorder process would access that service via a named pipe, or something like that. The problem with that idea is manage channel changes, plus the extra complication of having the extra "service" running.
[01:40:39] jpabq: "Fixing" the recording process to just open once would be a lot easier if we got rid if any kind of "recorder" which does not use a StreamHandler. Unfortunately, I believe there are sill users using first generation HD-PVRs and such.
[01:42:24] jpabq: hampton: I personally hate variable names which are less than three characters because it is very hard to search for them in a text editor without a lot of false positives. For example, I always use idx instead of i. That being said, trying to "fix" the mythtv code to have >=3 character variable names is not practical.
[01:47:13] peper03_ (peper03_!~peper03@mythtv/developer/peper03) has joined #mythtv
[01:48:19] peper03 (peper03!~peper03@mythtv/developer/peper03) has quit (Ping timeout: 240 seconds)
[02:02:18] gigem: jpabq: When searching for short/common strings, \b is your friend, eg. \bi\b.
[02:03:38] gigem: jpabq: I don't know for sure that the singal monitor is a problem. I just that ffmpeg did seem to hiccup on quick reopens when run directly. Most of the time ffmpeg exited with code 1 unexpcectly when run under the external rrecorder.
[02:05:20] gigem: cvlc seemed to at least not exit unexpectedly I seem to recall that it made the signal monitor happy as the signal check or one of the ExternIO command/responses answered 100 to some sort of health check. Still, it never worked when it came to actually capturing a real stream.
[02:08:42] gigem: It was 15:SignalStrengthPercent? that caused a 15:OK:100 reply. And the succeeding 16:HasLock? got a 16:OK:Yes reply.
[02:10:25] gigem: It was after 20:StartStreaming / 20:OK:Streaming Started and 21:XON / 21:OK that things went bad. The recorder sent an asyncrhonous 0:STATUS:Application message: see '''.
[02:58:51] glenb77 (glenb77!~glenb77@38-13-16-127.starry-inc.net) has quit (Quit: glenb77)
[04:25:00] mkbloke (mkbloke!~mkbloke@vps.cammo.me.uk) has quit (*.net *.split)
[04:25:00] e1 (e1!~enix@user/enix) has quit (*.net *.split)
[04:25:15] mkbloke (mkbloke!~mkbloke@vps.cammo.me.uk) has joined #mythtv
[04:25:42] enix (enix!~enix@user/enix) has joined #mythtv
[04:28:29] stuarta[m] (stuarta[m]!~stuartama@2001:470:69fc:105::fff2) has quit (*.net *.split)
[04:28:29] ijc (ijc!~ijc@benson.default.arb33.bv.iomart.io) has quit (*.net *.split)
[04:28:37] ijc (ijc!~ijc@benson.default.arb33.bv.iomart.io) has joined #mythtv
[04:30:33] stuarta[m] (stuarta[m]!~stuartama@2001:470:69fc:105::fff2) has joined #mythtv
[04:59:34] gigem: jpabq: Here are what I think are the main errors from trying to use cvlc:
[04:59:51] gigem: [00005636f75d2bc0] dummy interface: using the dummy interface module...
[05:00:01] gigem: [00007f7590000f20] main stream output error: stream chain failed for `standard{mux="",access="",dst=""#std{mux=ts,acces s=file,dst=-}""}'
[05:00:07] gigem: [00007f759c000c80] main input error: cannot start stream output instance, aborting
[05:02:36] gigem: IOW, I think cvlc isn't producing any output when run under the external recorder. I have no idea why that is or what's going on. I thought it might be because this is my dev install and I'm running mythback directly in konsole. This last test was run from at though so it doesn't appear to be some interactive vs. background job thing.
[05:02:43] gigem: That's all for tonight.
[06:10:53] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv
[07:10:08] ijc (ijc!~ijc@benson.default.arb33.bv.iomart.io) has left #mythtv ()
[07:56:04] SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has joined #mythtv
[10:28:40] glenb77 (glenb77!~glenb77@38-13-16-127.starry-inc.net) has joined #mythtv
[12:04:23] DevMythNotifyBot: COMMIT: paul-h pushed 1 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/54f1 . . . fcedcf9bebf1
[12:50:33] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[12:50:33] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[13:03:21] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[13:25:19] DevMythNotifyBot: COMMIT: paul-h pushed 1 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/fced . . . 34d8ccf6726c
[13:33:23] DevMythNotifyBot: COMMIT: paul-h pushed 1 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/34d8 . . . e4e40ab3e74a
[15:04:43] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[15:04:44] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[15:36:04] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[15:48:05] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[15:48:06] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[16:14:04] glenb77 (glenb77!~glenb77@38-13-16-127.starry-inc.net) has quit (Quit: glenb77)
[17:02:23] peterbennett: gigem: jpabq: My scripts are at https://github.com/bennettpeter/MythTV-LeanCapture
[17:03:20] peterbennett: I have not had problems with the signal monitor, but it does waste time. It takes my scripts some 15 seconds to tune and the signal monitor adds another 5 seconds or so.
[17:09:18] peterbennett: Looking at my logs, At the beginning of a recording the encode script with ffmpeg is started and runs for 6 seconds, is killed and starts again and runs for the length of the show. Apart from the time waste, it works fine.
[17:18:49] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[18:09:29] gigem: peterbennett: Thanks. I'll take a look when I get back from running an errand.
[19:17:57] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[19:17:57] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[20:09:09] ulmus-scott (ulmus-scott!~ulmus-sco@user/ulmus-scott) has joined #mythtv
[20:13:22] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[20:18:15] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!)
[20:38:53] ulmus-scott (ulmus-scott!~ulmus-sco@user/ulmus-scott) has quit (Quit: Client closed)
[21:11:46] SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has quit (Quit: Konversation terminated!)
[21:18:29] gigem: jpabq, peterbennett: I got it working with cvlc. I might try with ffmpeg later. Is one known to be better than the other? Anyway, the problem waswith quotes. The sample configurations in the mythtv wiki have escaped, double quotes around potentially troublesome options like URL and #std bit for cvlc. Removing those escaped quotes altogether got things working with cvlc. Are the wiki samples
[21:18:30] gigem: wrong or does mythexternrecorder have a problem with its quote handling?
[21:20:10] jpabq: gigem: it is sensitive to quotes. Sounds like the wiki could stand to be updated.
[21:22:19] glenb77 (glenb77!~glenb77@38-13-16-127.starry-inc.net) has joined #mythtv
[21:24:41] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[21:24:41] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[21:30:57] gigem: jpabq: ffmpeg works without the quotes too. I'll fix those parts of the wiki now.
[21:32:36] jpabq: gigem: I remember working on trying to improve the parsing of the "command". Sounds like I did, but also changed the behavior and forgot to update the wiki.
[21:32:42] jpabq: Thanks for fixing the wiki!
[21:37:45] gigem: Don't thank me yet. I can't get into the wiki. The password reset email seems to have disappeared into the ether.
[21:37:58] peterbennett: jpabq: gigem I avoided those problems by using bash scripts for all my commands.
[21:38:34] jpabq: peterbennett: yes, that is wise.
[21:39:13] peterbennett: bash scrpts allowed me to include extra logic for monitoring that the recording is going correctly, that it did not stop on some stupid error message and so on.
[21:39:20] DevMythNotifyBot: pull_request opened by ulmus-scott, "rewrite sorting for clarity": https://github.com/MythTV/mythtv/pull/553
[21:39:32] gigem: peterbennett: I tried scripts too but I'm in the habit of using syntax like ${1+"$@"} that specifically preserves quoting.
[21:40:08] peterbennett: If that is in your script it should be ok
[21:40:19] DevMythNotifyBot: pull_request synchronize by ulmus-scott, "Break circular/cross dependency between libmythservicecontracts and libmyth": https://github.com/MythTV/mythtv/pull/438
[21:40:54] gigem: I would have epected it to work too but nothing did until now.
[21:41:36] gigem: Can anyone here reset my wiki password? stuarta!!!
[21:42:05] peterbennett: I also had a lot of problems at the beginning getting it right. But now it works perfectly
[21:43:30] gigem: Nevermind. I just found it. It was where I used to keep my passwords before switching to a password manager.
[21:48:36] hampton: Just saw this. Glad you found the password.
[21:48:37] gigem: jpabq: Any idea if the quores are needed in the desc= line too?
[21:49:56] peterbennett: I have it like this desc=External Recorder leancap1
[21:49:59] peterbennett: no quotes
[21:50:53] gigem: hampton: Yeah, this will make mlb.tv much more useful. I used to use it some but having to watch live is so 20th-century! :) Being able to record the games and watch at my convenience is so much better.
[21:51:20] gigem: The samples all have desc= \"%URL%\" \"%CHANNUM%\" \"%CHANNAME%\" \"%CALLSIGN%\"
[21:51:58] gigem: It's probably not a big deal for these as no program is being exceuted.
[21:52:19] peterbennett: Its just for logging
[21:56:14] peterbennett: I have abused the conf file by adding my own section to it with parameters from my scripts.
[21:56:37] gigem: Wiki updated.
[21:57:55] peterbennett: You left quotes around the command. I do not have those in mine. I suppose it is optional.
[21:58:12] peterbennett: command=/opt/mythtv/leancap/leancap_tune.sh leancap1 %CHANNUM%
[22:13:21] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[22:14:45] gigem: I still have those in my files and wasn't sure about removing them so I left them.
[22:44:34] amessina (amessina!~amessina@user/amessina) has joined #mythtv
[22:56:17] DevMythNotifyBot: pull_request opened by ulmus-scott, "break circular/cross dependency between libmythservicecontracts and libmyth v2": https://github.com/MythTV/mythtv/pull/554
[23:03:53] DevMythNotifyBot: pull_request edited by ulmus-scott, "Break circular/cross dependency between libmythservicecontracts and libmyth": https://github.com/MythTV/mythtv/pull/438

IRC Logs collected by BeirdoBot.
Please use the above link to report any bugs.