MythLogBot@irc.libera.chat :: #mythtv

Daily chat history

Current users (29):

batrick, brfransen, ChanServ, DevMythNotifyBot, e1, ephemer0l, frobnic, gigem, hampton, ijc, jwhite, knowledgejunkie, Malmis, mkbloke, MythLogBot, ooshlablu, Panic, peper03, poptix, skrip_kid, sphery_, stuarta, stuarta[m], TechMonk, wookey, xris, zbot, MythBuild, mad_enz
Wednesday, June 22nd, 2022, 00:05 UTC
[00:05:09] peterbennett (peterbennett!~peter@2601:183:100:17cc:a178:484f:bb99:da4f) has joined #mythtv
[00:13:12] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has quit (Remote host closed the connection)
[00:13:26] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has joined #mythtv
[00:21:31] amessina (amessina!~amessina@user/amessina) has quit (Remote host closed the connection)
[00:24:22] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has quit (Remote host closed the connection)
[00:24:50] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has joined #mythtv
[01:00:15] gregl (gregl!~gregl@cpe-66-67-125-50.nycap.res.rr.com) has quit (Ping timeout: 256 seconds)
[01:11:30] ijc (ijc!~ijc@benson.default.arb33.bv.iomart.io) has quit (Ping timeout: 240 seconds)
[01:11:51] ijc (ijc!~ijc@benson.default.arb33.bv.iomart.io) has joined #mythtv
[01:11:53] peterbennett (peterbennett!~peter@2601:183:100:17cc:a178:484f:bb99:da4f) has quit (Ping timeout: 248 seconds)
[01:37:47] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!)
[03:20:47] mad_enz (mad_enz!~mad_enz@lnsm5-toronto12-64-231-154-74.internet.virginmobile.ca) has quit (Ping timeout: 256 seconds)
[04:16:29] knowledgejunkie (knowledgejunkie!~knowledge@cpc77018-warw18-2-0-cust959.3-2.cable.virginm.net) has quit (Ping timeout: 246 seconds)
[04:16:29] frobnic (frobnic!~frobnic@v7559.1blu.de) has quit (Ping timeout: 246 seconds)
[04:17:48] jpabq (jpabq!~quassel@97-123-167-93.albq.qwest.net) has joined #mythtv
[04:17:48] jpabq (jpabq!~quassel@97-123-167-93.albq.qwest.net) has quit (Changing host)
[04:17:48] jpabq (jpabq!~quassel@mythtv/developer/jpabq) has joined #mythtv
[04:17:48] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v jpabq
[04:18:13] frobnic (frobnic!~frobnic@v7559.1blu.de) has joined #mythtv
[04:18:31] knowledgejunkie (knowledgejunkie!~knowledge@cpc77018-warw18-2-0-cust959.3-2.cable.virginm.net) has joined #mythtv
[06:22:51] MythBuild (MythBuild!~MythBuild@140-211-166-71-openstack.osuosl.org) has joined #mythtv
[06:35:21] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv
[06:40:10] DevMythNotifyBot: issue opened by twitham1, "local .lrc lyric file next to .mp3 file is not found": https://github.com/MythTV/mythtv/issues/590
[06:41:21] DevMythNotifyBot: issue edited by twitham1, "local .lrc lyric file next to .mp3 file is not found": https://github.com/MythTV/mythtv/issues/590
[07:27:40] DevMythNotifyBot: COMMIT: stuarta pushed 1 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/0224 . . . e60b4b35a192
[07:35:50] DevMythNotifyBot: COMMIT: stuarta pushed 1 commit(s) to branch fixes/32: https://github.com/MythTV/mythtv/compare/3bd5 . . . 7bb5162be039
[08:24:06] MythLogBot (MythLogBot!~bot@mizar.mythtv.org) has quit (Ping timeout: 264 seconds)
[08:34:00] MythBuild: Build [#278](https://code.mythtv.org/buildbot/#builders/228/builds/278) of `master-freebsd13–64bit` 3completed successfully.
[08:43:48] MythLogBot (MythLogBot!~bot@mizar.mythtv.org) has quit (Ping timeout: 268 seconds)
[08:48:06] MythBuild (MythBuild!~MythBuild@140-211-166-71-openstack.osuosl.org) has joined #mythtv
[09:02:58] SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has joined #mythtv
[09:45:59] SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has quit (Quit: Konversation terminated!)
[09:46:58] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!)
[11:39:58] SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has joined #mythtv
[11:48:57] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv
[12:50:26] jpabq (jpabq!~quassel@mythtv/developer/jpabq) has quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
[12:52:15] jpabq (jpabq!~quassel@97-123-167-93.albq.qwest.net) has joined #mythtv
[12:52:15] jpabq (jpabq!~quassel@mythtv/developer/jpabq) has joined #mythtv
[12:52:15] jpabq (jpabq!~quassel@97-123-167-93.albq.qwest.net) has quit (Changing host)
[12:52:15] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v jpabq
[12:54:01] jpabq (jpabq!~quassel@97-123-167-93.albq.qwest.net) has joined #mythtv
[12:54:01] jpabq (jpabq!~quassel@mythtv/developer/jpabq) has joined #mythtv
[12:54:01] jpabq (jpabq!~quassel@97-123-167-93.albq.qwest.net) has quit (Changing host)
[12:54:01] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v jpabq
[12:59:01] mad_enz (mad_enz!~mad_enz@lnsm5-toronto12-64-231-154-74.internet.virginmobile.ca) has joined #mythtv
[12:59:27] peterbennett (peterbennett!~peter@2601:183:100:17cc:204b:cbda:430a:4756) has joined #mythtv
[13:15:20] peterbennett (peterbennett!~peter@2601:183:100:17cc:204b:cbda:430a:4756) has quit (Ping timeout: 255 seconds)
[13:17:04] peterbennett (peterbennett!~peter@2601:183:100:17cc:23ad:a768:2afb:c213) has joined #mythtv
[15:02:21] stuarta: jpabq: your api call with json data is a curious one
[15:08:58] stuarta: you may have to instrument the new webservice endpoint with some debug code to work out what is going on. i had to do that whilst working on the angular websocket code
[16:10:14] peterbennett (peterbennett!~peter@2601:183:100:17cc:23ad:a768:2afb:c213) has quit (Remote host closed the connection)
[16:10:35] peterbennett (peterbennett!~peter@2601:183:100:17cc:bc16:545c:ba11:3114) has joined #mythtv
[17:26:49] peterbennett (peterbennett!~peter@2601:183:100:17cc:bc16:545c:ba11:3114) has quit (Ping timeout: 248 seconds)
[17:27:20] ooshlablu (ooshlablu!~ooshlablu@2601:18d:4600:43f0:a038:14ff:fe50:8510) has quit (Ping timeout: 255 seconds)
[18:15:09] peterbennett (peterbennett!~peter@2601:183:100:17cc:1904:7b1:5b6b:304c) has joined #mythtv
[18:55:42] DevMythNotifyBot: COMMIT: stuarta pushed 2 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/e60b . . . d1f74866c7ac
[19:29:54] peterbennett: stuarta: I got a bunch of nasty messages from npm install in the html/backend diretory
[19:31:05] stuarta: such as?
[19:31:19] peterbennett: peter@rocinante:~/Dropbox/Notes$ cd
[19:31:20] peterbennett: peter@rocinante:~$ curl -H "Accept: application/json" "http://rocinante:6744/Capture/GetCardTypeList"
[19:31:20] peterbennett: {"CardTypeList": {"CardTypes": [{"CardType": "DVB", "Description": "DVB-T\/S\/C, ATSC or ISDB-T Tuner Card"},{"CardType": "V4L2ENC", "Description": "V4L2 Encoder"},{"CardType": "HDPVR", "Description": "HD-PVR H.264 Encoder"},{"CardType": "HDHOMERUN", "Description": "HDHomeRun Networked Tuner"},{"CardType": "SATIP", "Description": "Sat>IP networked tuner"},{"CardType": "VBOX", "Description": "V@Box TV Gateway Networked
[19:31:20] peterbennett: Tuner"},{"CardType": "FIREWIRE", "Description": "FireWire Cable Box"},{"CardType": "CETON", "Description": "Ceton Cablecard Tuner"},{"CardType": "MPEG", "Description": "Analog to MPEG-2 Encoder Card (PVR-150\/250\/350, etc)"},{"CardType": "MJPEG", "Description": "Analog to MJPEG Encoder Card (Matrox G200, DC10, etc)"},{"CardType": "GO7007", "Description": "Analog to MPEG-4 Encoder (Plextor ConvertX USB, etc)"},{"CardType":
[19:31:24] peterbennett: "V4L", "Description": "Analog Capture Card"},{"CardType": "IMPORT", "Description": "Import Test Recorder"},{"CardType": "DEMO", "Description": "Demo Test Recorder"},{"CardType": "EXTERNAL", "Description": "External (black box) Recorder"}]}}peter@rocinante:~$
[19:31:28] peterbennett: no sorry
[19:31:33] peterbennett: npm ERR! code ERESOLVE
[19:31:33] peterbennett: npm ERR! ERESOLVE could not resolve
[19:31:34] peterbennett: npm ERR!
[19:31:36] stuarta: !trout peterbennett
[19:31:36] ** MythLogBot slaps peterbennett with a trout on behalf of stuarta... **
[19:31:36] ** DevMythNotifyBot slaps peterbennett with a trout on behalf of stuarta **
[19:31:36] peterbennett: npm ERR! While resolving: @angular/material@13.0.3
[19:31:38] peterbennett: npm ERR! Found: @angular/cdk@13.1.3
[19:31:40] peterbennett: npm ERR! node_modules/@angular/cdk
[19:31:42] peterbennett: npm ERR! @angular/cdk@"^13.1.3" from the root project
[19:31:46] peterbennett: npm ERR!
[19:31:48] peterbennett: npm ERR! Could not resolve dependency:
[19:31:49] stuarta: can you just pastebin it please
[19:31:50] peterbennett: npm ERR! peer @angular/cdk@"13.0.3" from @angular/material@13.0.3
[19:31:52] peterbennett: npm ERR! node_modules/@angular/material
[19:31:54] peterbennett: npm ERR! @angular/material@"^13.0.3" from the root project
[19:31:56] peterbennett: npm ERR!
[19:31:58] peterbennett: npm ERR! Conflicting peer dependency: @angular/cdk@13.0.3
[19:32:00] peterbennett: npm ERR! node_modules/@angular/cdk
[19:32:02] peterbennett: npm ERR! peer @angular/cdk@"13.0.3" from @angular/material@13.0.3
[19:32:04] peterbennett: npm ERR! node_modules/@angular/material
[19:32:06] peterbennett: npm ERR! @angular/material@"^13.0.3" from the root project
[19:32:08] peterbennett: npm ERR!
[19:32:10] peterbennett: npm ERR! Fix the upstream dependency conflict, or retry
[19:32:12] peterbennett: npm ERR! this command with --force, or --legacy-peer-deps
[19:32:16] peterbennett: npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
[19:32:18] peterbennett: npm ERR!
[19:32:20] peterbennett: npm ERR! See /home/peter/.npm/eresolve-report.txt for a full report.
[19:32:22] peterbennett: ok sorry
[19:32:24] peterbennett: !trout peterbennett
[19:32:24] ** MythLogBot slaps peterbennett with a trout on behalf of peterbennett... **
[19:32:24] ** DevMythNotifyBot slaps peterbennett with a trout on behalf of peterbennett **
[19:32:33] stuarta: !zap peterbennett
[19:32:33] ** DevMythNotifyBot the air glows slightly blue as stuarta waves an electric cattle prod at peterbennett **
[19:33:07] peterbennett: https://pastebin.com/7tnqh8kZ
[19:33:41] peterbennett: There is a threatening little dwarf in the room with you!
[19:34:15] stuarta: hah. i would suggest blowing away node_modules and re-run `npm install`
[19:34:32] peterbennett: OK I will try that
[19:34:41] ooshlablu (ooshlablu!~ooshlablu@2601:18d:4600:43f0:a038:14ff:fe50:8510) has joined #mythtv
[19:34:50] stuarta: it's the npm equivalent of `make distclean` :-)
[19:35:07] peterbennett: I dont have a node-modules, I already blew everything away
[19:35:19] peterbennett: This is a clean copy from git
[19:35:55] stuarta: oh, i hoped that wasn't the case
[19:37:49] stuarta: might have to tweak the @angular/material version
[19:38:46] peterbennett: package-0lock.json was updated May 1.
[19:39:01] stuarta: oh, try removing package-lock.json, then npm install
[19:39:38] peterbennett: different message now
[19:40:08] peterbennett: https://pastebin.com/JtCMBH9J
[19:42:08] peterbennett: package.json is also huge. Maybe that needs to be removed?
[19:42:40] stuarta: no, it's what specifies exact versions of the modules need installing so we are all on a consistent dev environment
[19:42:56] stuarta: sorry that's package-lock.json
[19:43:01] stuarta: package.json isn't too bad
[19:44:02] peterbennett: So maybe package.json need to be tweaked
[19:44:16] stuarta: okay, try resetting your git checkout `git reset --hard` (that'll blow away customizations), and remove ~/.npm
[19:44:27] stuarta: npm dumps stuff there too
[19:45:01] ** stuarta is currently running an install in his clean checkout **
[19:45:33] stuarta: okay, that worked just fine
[19:45:54] stuarta: i have npm-8.3.1
[19:47:09] peterbennett: I have upgraded by Ubuntu to 22.04. I think maybe thats part of the problem
[19:47:23] stuarta: lemme try it on my ubuntu-22.04 box
[19:48:01] stuarta: tbh it should still work
[19:48:07] peterbennett: My npm is 8.11.0
[19:51:04] peterbennett: My system version on ng is 14.0.1
[19:51:17] stuarta: just applying updates to my VM
[19:52:03] stuarta: forgot this is the one that i've been testing the ppa on, so it's pulling down the dbg package
[19:53:30] ** stuarta notes the README.md lacks a "getting started with development" section **
[19:53:51] peterbennett: https://www.mythtv.org/wiki/WebApp_Development
[19:54:06] stuarta: :thumbs_up:
[19:55:09] peterbennett: the package.json has 13.0.3 on many items and 13.1.3 on one.
[19:55:23] stuarta: that has worked so far.
[19:56:46] peterbennett (peterbennett!~peter@2601:183:100:17cc:1904:7b1:5b6b:304c) has quit (Remote host closed the connection)
[19:57:09] peterbennett (peterbennett!~peter@2601:183:100:17cc:1904:7b1:5b6b:304c) has joined #mythtv
[19:58:00] peterbennett: I changed angular/material from 13.0.3 to 13.1.3 . Now it seems to be working.
[19:59:46] peterbennett: OK that worked
[20:00:03] stuarta: mines still running with zero changes
[20:01:56] stuarta: mine worked using system npm and a clean checkout
[20:02:15] peterbennett: Strange
[20:03:39] peterbennett: It has made a bunch of changes to package-lock
[20:04:08] stuarta: yes it will have, since it "locks" the dependencies
[20:04:33] peterbennett: YOurs worked with ubuntu 22.04?
[20:04:41] stuarta: yup
[20:06:08] stuarta: does look like we need to update some packages
[20:06:23] peterbennett: I switched to another directory with the ffmpeg-resync branch and tried it there
[20:06:39] peterbennett: Smae problem, complains about @angular/material@13.0.3
[20:07:15] peterbennett: Maybe there are different web sites with different npm repositories
[20:07:44] stuarta: just attempting to upgrade to latest 13.3.8 angular and see how that goes
[20:08:18] peterbennett: i have Angular CLI: 14.0.1
[20:08:31] stuarta: that's the next major version
[20:08:47] stuarta: for now you want 13.3.8 <- seems to be latest v13
[20:09:31] peterbennett: I got that from sudo npm install -g @angular/cli
[20:09:56] stuarta: ah try to uninstall that, then add @13 at the end
[20:10:24] peterbennett: OK, got to step away for a while now
[20:11:21] stuarta: lemme play for a bit
[20:22:20] stuarta: jpabq: you awake here???
[20:22:37] stuarta: jpabq: to debug the api, best bet is to run the backend with --verbose http:debug
[20:35:05] peterbennett (peterbennett!~peter@2601:183:100:17cc:1904:7b1:5b6b:304c) has quit (Ping timeout: 244 seconds)
[20:49:32] jpabq: stuarta: Hi!
[20:49:40] jpabq: Sorry, I didn't have the chat viewer up.
[20:49:51] stuarta: :-)
[20:50:51] jpabq: http:debug is helping. I added a printout of the vars being passed, just one called "Program" which makes sense. Unfortunately, at the time it is calling the method the value is empty.
[20:55:34] stuarta: hmmmm
[20:56:50] stuarta: i have my doubts that /Dvr/AddRecordedCredits works at all
[20:57:38] jpabq: It did under V1
[20:58:06] jpabq: before V2 was created. Not sure it does now since argument management has changed so much.
[20:58:07] stuarta: not working under either for me atm
[20:58:47] jpabq: Not working for me now either. I know it used to. I have used the method a lot.
[20:58:53] stuarta: but the conclusion i have come to is the actually json string, that gets embedded, needs to be json escaped, otherwise it fails json validation
[20:59:05] stuarta: s/actually/actual/
[20:59:35] jpabq: Okay. I have not messed with "web" stuff in a couple of years. I know what you are talking about, but I don't remember how to do it.
[21:00:04] stuarta: https://www.freeformatter.com/json-escape.html
[21:00:24] stuarta: main one is " -> \"
[21:02:14] peterbennett (peterbennett!~peter@2601:183:100:17cc:c065:5b65:5725:5a9e) has joined #mythtv
[21:05:07] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has quit (Remote host closed the connection)
[21:05:21] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has joined #mythtv
[21:12:38] jpabq: stuarta: that helped. Still not there, but it made if further.
[21:13:13] stuarta: i'm instrumenting stuff now
[21:13:27] stuarta: see if i can understand why stuff isn't doing what i expect
[21:19:17] stuarta: hmpf, i have an empty jsonObj
[21:20:59] jpabq: stuarta: the send.py needs a couple of changes to get as far as I have.
[21:21:16] stuarta: glad you are making some progress
[21:21:43] jpabq: It is still not parsing the json. When I tell it to print out the "content", it starts with $1, "{\"Program\" ...
[21:21:52] jpabq: I don't know where that $1 is coming from.
[21:22:00] stuarta: interesting
[21:23:59] jpabq: When running mythbackend from the commandline, is there a way to get it to show location of messages like it does when run as a daemon?
[21:24:21] stuarta: it does that for me?
[21:26:01] jpabq: I just get "2022-06–22 15:25:40.739663 I Scheduler: Seem to be woken up by USER" when I run it from a shell.
[21:26:22] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!)
[21:26:58] jpabq: I get "2022-06–22 15:26:35.969509 I [303675/303949] Scheduler scheduler.cpp:2515 (HandleRunSchedulerStartup) – Scheduler: Seem to be woken up by USER" when I run it from systemd
[21:30:47] jpabq: Ah! The $1 is just garbage from my bad print statement.
[21:30:50] peterbennett2 (peterbennett2!~peter@2601:183:100:17cc:85e5:bba4:d209:123c) has joined #mythtv
[21:31:40] stuarta: scheduler.cpp:2515 <- that's all you need
[21:32:17] stuarta: oh great, the old one doesn't work because it rams all the data together when sent json
[21:32:32] stuarta: the new one doesn't work, because the json object gets lost somewhere along the way
[21:33:56] peterbennett (peterbennett!~peter@2601:183:100:17cc:c065:5b65:5725:5a9e) has quit (Ping timeout: 255 seconds)
[21:42:00] stuarta: old webserver works with application/x-www-form-encoded params
[21:45:32] jpabq: stuarta: well.... I have the json making it to the JSON parser now, but it fails because it doesn't like all those \
[21:45:46] jpabq: So, I guess at that point it needs un-escaped?
[21:46:02] stuarta: yes clearly, but the devil is in the details
[21:46:48] stuarta: since it gets to the function doing the work, via Qt meta object introspection
[21:47:32] SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has quit (Quit: Konversation terminated!)
[21:49:35] jpabq: I am surprised that Qt does not have a function to the unescape. Python does ;-)
[21:49:58] stuarta: we have it coded somewhere. i remember tweaking it
[21:53:22] jpabq: rssparse.h: static QString UnescapeHTML
[21:53:24] jpabq: ?
[21:53:45] stuarta: html and json escaping are different!
[21:54:19] jpabq: mythsystemlegacy.h: static QString ShellEscape
[21:54:29] jpabq: grepping is finding anything.
[21:58:55] jpabq: is not
[22:04:05] peterbennett2 (peterbennett2!~peter@2601:183:100:17cc:85e5:bba4:d209:123c) has quit (Ping timeout: 255 seconds)
[22:04:36] stuarta: jpabq: seems we have encode.... -> https://github.com/MythTV/mythtv/blob/master/ . . . ser.cpp#L160
[22:07:30] mad_enz (mad_enz!~mad_enz@lnsm5-toronto12-64-231-154-74.internet.virginmobile.ca) has quit (Ping timeout: 240 seconds)
[22:32:39] mad_enz (mad_enz!~mad_enz@lnsm5-toronto12-64-231-154-74.internet.virginmobile.ca) has joined #mythtv
[22:39:08] jpabq: But not decode. bummer.
[22:41:26] jpabq: I will try to invert that routine
[22:41:45] stuarta[m]: It's looking like a non trivial problem. I suspect when it's sent as JSON, the. Sub JSON need encoding, but when sent as XML it doesn't, so then handling the decode of those becomes more difficult
[22:45:55] stuarta[m]: In fact the JSON sent in XML would need XML escaping!
[22:54:21] stuarta[m]: Jpabq check also the qjson* classes, lots of good stuff there

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