Monday, June 7th, 2021, 00:34 UTC | ||
[00:34:08] | gb77 (gb77!~gb77@2603-8000-b440-c812-0000-0000-0000-0c6a.res6.spectrum.com) has quit (Quit: gb77) | |
[02:12:21] | gb77 (gb77!~gb77@2603-8000-b440-c812-0000-0000-0000-0c6a.res6.spectrum.com) has joined #mythtv | |
[05:02:08] | markspieth2 (markspieth2!~yaaic@mythtv/developer/markspieth) has joined #mythtv | |
[05:02:08] | Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth2 | |
[05:04:21] | markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 260 seconds) | |
[05:32:02] | peterbennett (peterbennett!~pi@2601:183:100:b0:61bb:64f:49f8:efc) has joined #mythtv | |
[05:32:03] | peterbennett (peterbennett!~pi@2601:183:100:b0:61bb:64f:49f8:efc) has quit (Changing host) | |
[05:32:03] | peterbennett (peterbennett!~pi@mythtv/developer/peterbennett) has joined #mythtv | |
[05:32:03] | Mode for #mythtv by ChanServ!ChanServ@services. : +v peterbennett | |
[05:35:46] | markspieth2 (markspieth2!~yaaic@mythtv/developer/markspieth) has quit (Read error: Connection reset by peer) | |
[05:35:57] | markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv | |
[05:35:57] | Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth | |
[05:39:27] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv | |
[05:39:27] | Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey | |
[06:08:23] | scilib (scilib!~libsci@unaffiliated/libsci) has quit (Quit: bye!) | |
[06:09:40] | libsci (libsci!~libsci@unaffiliated/libsci) has joined #mythtv | |
[06:44:29] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!) | |
[06:48:05] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv | |
[06:48:05] | Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey | |
[07:30:30] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has joined #mythtv | |
[07:30:30] | Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveGoodey | |
[07:46:21] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has quit (Quit: Konversation terminated!) | |
[07:54:21] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!) | |
[08:09:15] | stuarta: | morning all |
[09:05:00] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has joined #mythtv | |
[09:05:00] | Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveGoodey | |
[09:13:25] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv | |
[09:13:25] | Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey | |
[09:37:34] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!) | |
[09:40:17] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has quit (Quit: Konversation terminated!) | |
[11:06:21] | markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 248 seconds) | |
[11:21:30] | brfransen (brfransen!~brfransen@097-095-233-051.res.spectrum.com) has quit (Quit: ZNC 1.8.2+deb2~bpo10+1 - https://znc.in) | |
[11:37:39] | markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv | |
[11:37:39] | Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth | |
[12:18:38] | RokLobsta (RokLobsta!~Dirkka@119-17-136-18.771188.mel.static.aussiebb.net) has quit (Ping timeout: 252 seconds) | |
[14:38:21] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv | |
[14:38:21] | Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey | |
[14:43:27] | frobnic (frobnic!fb@b2b-130-180-11-14.unitymedia.biz) has quit (Ping timeout: 258 seconds) | |
[14:55:11] | frobnic (frobnic!fb@b2b-130-180-11-14.unitymedia.biz) has joined #mythtv | |
[16:21:42] | SteveJGoodey (SteveJGoodey!~quassel@2a00:23c5:7d83:6501:69d0:683e:33b1:91f6) has joined #mythtv | |
[16:21:42] | Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveJGoodey | |
[16:23:50] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has joined #mythtv | |
[16:23:50] | Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveGoodey | |
[16:30:52] | SteveJGoodey (SteveJGoodey!~quassel@2a00:23c5:7d83:6501:69d0:683e:33b1:91f6) has quit (Ping timeout: 245 seconds) | |
[16:36:54] | SteveJGoodey (SteveJGoodey!~quassel@2a00:23c5:7d83:6501:2858:2b8c:2028:b101) has joined #mythtv | |
[16:36:54] | Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveJGoodey | |
[17:12:53] | hampton: | good afternoon |
[17:31:46] | madder_enz (madder_enz!~mad_enz@cpe00508b114c3e-cm788df7e75290.cpe.net.fido.ca) has quit (Ping timeout: 252 seconds) | |
[18:09:50] | mad_enz (mad_enz!~mad_enz@cpe00508b114c3e-cm788df7e75290.cpe.net.fido.ca) has joined #mythtv | |
[18:38:41] | SteveJGoodey (SteveJGoodey!~quassel@2a00:23c5:7d83:6501:2858:2b8c:2028:b101) has quit (Ping timeout: 260 seconds) | |
[19:06:00] | jpabq: | I take it we are sticking with freenode? At least for now? |
[19:32:09] | stuarta: | for the moment, nobody seemed too bothered when i asked before |
[19:32:50] | stuarta: | and then there is the question over libera chat vs oftc |
[19:51:40] | hampton (hampton!~dhampton@mythtv/developer/hampton) has quit (Remote host closed the connection) | |
[19:52:23] | hampton (hampton!~dhampton@mythtv/developer/hampton) has joined #mythtv | |
[19:52:23] | Mode for #mythtv by ChanServ!ChanServ@services. : +v hampton | |
[20:01:39] | SteveJGoodey (SteveJGoodey!~quassel@2a00:23c5:7d83:6501:f4bd:1adb:35c7:f4a5) has joined #mythtv | |
[20:01:40] | Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveJGoodey | |
[20:15:04] | stuarta: | jpabq: did you end up finding the web port on the backend for the webserver under development? |
[20:24:34] | brfransen (brfransen!~brfransen@097-095-233-051.res.spectrum.com) has joined #mythtv | |
[20:25:15] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!) | |
[20:26:48] | brfransen (brfransen!~brfransen@097-095-233-051.res.spectrum.com) has quit (Client Quit) | |
[20:28:20] | SteveJGoodey (SteveJGoodey!~quassel@2a00:23c5:7d83:6501:f4bd:1adb:35c7:f4a5) has quit (Read error: Connection reset by peer) | |
[20:33:52] | jpabq: | stuarta: Yes, port 6744 works to show the Hello World. I have not spent much time on it yet, though. |
[20:34:32] | stuarta: | np, just wanted to make sure you could at least see it's working |
[20:36:57] | jpabq: | 8081 / 8091 do not seem to do anything — at least from a browser. |
[20:37:07] | stuarta: | they are frontend ports |
[20:37:16] | stuarta: | you will only see them when the frontend is running |
[20:38:12] | stuarta: | there isn't (and never was) much there. a basic status page, and an on screen remote |
[20:38:20] | jpabq: | Ah! Indeed. |
[20:38:54] | stuarta: | which is what made it a good point to start the conversion from :) |
[20:39:03] | stuarta: | which i now want to rewrite |
[20:39:04] | stuarta: | again |
[20:39:08] | stuarta: | oh well |
[20:39:59] | jpabq: | stuarta: so, to be clear, the plan is to replace the :6544 interface with new Services API code? |
[20:40:23] | stuarta: | tl;dr -> yes |
[20:40:26] | stuarta: | longer version |
[20:40:57] | stuarta: | we need to replicate the current api end points (maintaining API compatibility) under the new webserver infra |
[20:41:27] | stuarta: | removing all usage of QtScript / QtScriptEngine |
[20:41:47] | stuarta: | that's phase 1 |
[20:42:07] | stuarta: | in parallel we can start work on a replacement to mythfrontend |
[20:42:31] | stuarta: | at some point, we run out of existing API with which to replicate the existing webfrontend |
[20:42:36] | stuarta: | which brings us to phase 2 |
[20:42:50] | peterbennett: | Is there a separate web server for API from the web interface to backend? |
[20:43:09] | stuarta: | where we have to extend the API, to provide information that previously made internal use of QtScript |
[20:43:25] | stuarta: | peterbennett: no, it's all intertwined |
[20:43:50] | peterbennett: | I can help out with this, but I have not been much involved to now |
[20:44:01] | stuarta: | sure |
[20:44:23] | peterbennett: | Also I have a vested interest – my leanfront uses the API exclusivley. |
[20:44:49] | stuarta: | peterbennett: you'll need a copy of devel/http, the "new" code lives on <backend_port> + 200 = 6744 (by default) |
[20:45:00] | stuarta: | right now, there are no api endpoints |
[20:45:09] | stuarta: | but these we need to start adding |
[20:45:31] | jpabq: | We are switching to QJEngine, I assume? |
[20:45:43] | stuarta: | no, no engine at all, pure API calls |
[20:46:09] | jpabq: | That is what markk started on? Or was he building on your work? |
[20:46:14] | peterbennett: | So what is running on 6744 now? Is the web interface to mythbackend there? |
[20:46:18] | stuarta: | the webfrontend however, makes heavy use of QtScript |
[20:46:24] | RokLobsta (RokLobsta!~Dirkka@119-17-136-18.771188.mel.static.aussiebb.net) has joined #mythtv | |
[20:46:32] | stuarta: | peterbennett: a "hello world" to prove it's working |
[20:47:11] | stuarta: | where it all gets "funky" is certain URL's belong to the Services API, and certain URL's belong to the webfrontend |
[20:47:35] | stuarta: | oh and there is a whole bunch more related to SSDP/UPnP |
[20:47:53] | peterbennett: | The current API has a lot of magic that takes the class you have defined for an API an magically transforms the result into xml or jsno. |
[20:48:02] | peterbennett: | Do we need to replace all that? |
[20:48:12] | stuarta: | which is currently like a siamese twin with the existing http code |
[20:48:15] | peterbennett: | s/jsno/json/ |
[20:48:58] | stuarta: | peterbennett: the new webserver does that stuff automatically too |
[20:49:10] | stuarta: | what is unfinished, is the auto wsdl generation |
[20:50:18] | peterbennett: | Is the auto wsdl done with some prepackaged code ? There must be something available. |
[20:50:29] | stuarta: | this is an example of how to hook an API url endpoint into the webserver -> https://github.com/MythTV/mythtv/commit/0f833 . . . ffececedf1d9 |
[20:50:47] | stuarta: | peterbennett: it was previously done with magic |
[20:51:11] | stuarta: | it partly works, but isn't identical to what was being generated before (hence unfinished) |
[20:52:41] | stuarta: | here is where we instantiate the actual "new" webserver, and hook up "hello world" -> https://github.com/MythTV/mythtv/commit/9e733 . . . 6f0fb331cef7 |
[20:53:13] | peterbennett: | OK I will build the devel/http and take a look at those |
[20:53:38] | stuarta: | peterbennett: i'd recommend starting with any API endpoint other than /Status |
[20:53:53] | stuarta: | it pre dates the services API code, and hand cranks every single bit of output |
[20:53:56] | peterbennett: | What does the actual web server? Is there a qt component for that? |
[20:54:14] | stuarta: | code markk wrote, using pure Qt |
[20:54:39] | stuarta: | it's here -> https://github.com/MythTV/mythtv/tree/devel/h . . . ythbase/http |
[20:55:17] | peterbennett: | I hope it caters for incremental downloads, Those work really well with the current backend for leanfront playback and skipping back and forward |
[20:55:25] | stuarta: | and the resulting server is very nice AFAICT |
[20:55:50] | stuarta: | well it does have http range support :) |
[20:56:06] | peterbennett: | OK that should do it. |
[20:56:42] | stuarta: | original commit of the new code has a decent comment -> https://github.com/MythTV/mythtv/commit/c26ad . . . 8a448d223308 |
[20:57:07] | stuarta: | also pretty much summarizes what i said above |
[20:58:37] | peterbennett: | How do I make sure what I am doing is not clashing with somebody else? |
[20:58:50] | stuarta: | talk :) |
[20:59:19] | stuarta: | so far the only people who have thought about it, is you and jpabq and that started yesterday |
[20:59:29] | peterbennett: | right |
[20:59:46] | stuarta: | prior to that it's been me deep down investigating the surgical separation of http & upnp code |
[21:01:06] | stuarta: | if you take a look at the commit which "converts" the frontend code, and compare the class to the old service API version of the class, you'll see there isn't a huge amount of changes required to make it work |
[21:01:23] | stuarta: | although you will have to copy it to a new file, otherwise the build will break |
[21:02:31] | ** stuarta checks and finds skeletons of auto {wsdl,xsd} generation ** | |
[21:03:25] | stuarta: | peterbennett: btw. i find the new webserver code significantly faster than the old code |
[21:03:46] | peterbennett: | Good |
[21:03:49] | stuarta: | :) |
[21:04:29] | stuarta: | btw. some of the stuff that needs to go into phase 2 (API extension), is stuff to support everything setup does (eg scanning, config etc) |
[21:04:48] | stuarta: | some of the config stuff is there already in existing API's |
[21:04:58] | stuarta: | but there is plenty missing |
[21:05:08] | stuarta: | scanning is a non existant concept in the API |
[21:05:10] | peterbennett: | So does the web frontend use the api? |
[21:05:19] | stuarta: | so this is where it gets interesting |
[21:05:44] | stuarta: | currently the webfrontend is tightly couple to internal QtScript based classes |
[21:05:54] | peterbennett: | Ideal would be for frontend to use the api and not access the database |
[21:05:59] | stuarta: | correct |
[21:06:05] | peterbennett: | This is my model for leanfront |
[21:06:39] | stuarta: | the "target" configuration is that the API is able to do everything (with authorization as appropriate), and the webfrontend is just a "web app" shipped by the backend |
[21:07:30] | stuarta: | ie. the current "hello world" evolves to the replacement of the webfrontend, which exclusively uses API calls to do its work |
[21:08:22] | stuarta: | tbh, leanfront would be a damn good API tester :) |
[21:09:02] | peterbennett: | On another subject, I have an external recorder script that successfully records from hdmi using a usb-hdmi device that cost around $6 |
[21:09:16] | stuarta: | \o/ |
[21:09:20] | peterbennett: | My real difficulty with t is getting the channel tuned |
[21:09:42] | stuarta: | you are delving back into the past whilst simultaneously going forwards |
[21:10:05] | stuarta: | that's what all the channel changing scripts and stuff used to be fore |
[21:10:18] | stuarta: | IR blasters to the cable box to change the channel |
[21:10:26] | stuarta: | that sort of thing |
[21:10:42] | peterbennett: | I have comcast and cable-card with ceton device. The ceton is no longer manufactured and cable card seems to be fading out. |
[21:11:46] | peterbennett: | I do not have a cable box but comcast has an android app for fire tv that does everything the cable box does. |
[21:12:19] | stuarta: | cool |
[21:12:36] | peterbennett: | Unfortunately it does not accept keyboard input, only up/down scrolling with several hundred channels |
[21:12:54] | stuarta: | i'm hoping to get back to some coding in a few weeks, been flat out studying for exams |
[21:13:36] | peterbennett: | Good luck with that. |
[21:14:06] | stuarta: | it's on thu and i've only just about finished the course material :( |
[21:14:18] | peterbennett: | Which exam is that? |
[21:14:22] | stuarta: | RHCE |
[21:14:47] | stuarta: | 294 iirc – automation with ansible |
[21:17:22] | peterbennett: | I worked for Pegasystems and I had to do their certification exams – System architect, Senior systems architect and Lead systems Architect |
[21:27:00] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has quit (Quit: Konversation terminated!) | |
[22:47:26] | markspieth2 (markspieth2!~yaaic@mythtv/developer/markspieth) has joined #mythtv | |
[22:47:26] | Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth2 | |
[22:47:50] | markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 252 seconds) | |
[23:20:13] | markspieth2 (markspieth2!~yaaic@mythtv/developer/markspieth) has quit (Read error: Connection reset by peer) | |
[23:20:23] | markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv | |
[23:20:23] | Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth | |
[23:57:54] | gb77 (gb77!~gb77@2603-8000-b440-c812-0000-0000-0000-0c6a.res6.spectrum.com) has quit (Quit: gb77) |
IRC Logs collected by
BeirdoBot.
Please use the above link to report any bugs.