MythLogBot@irc.freenode.net :: #mythtv

Daily chat history

Current users (49):

afisher, aloril, Anssi, ChanServ, clever, cybrNaut, davic, ElmerFudd, frobnic, gigem, gregl, GreyFoxx, hampton, ijc, ilmostro, jpabq, knowledgejunkie, libsci, MitchCapper, mkbloke, MythBuild, MythLogBot, MythNotifyBot, ooshlablu, Panic, peper03_, peterbennett, poptix, pppingme, ramshadow, rhpot199`, sphery, SteveGoodey, stuarta, tonsofpcs, tris, Valen, vesper, Warped, warpme_, xris, zbot, _charly___, ghoti, taylorr, Maliuta, mad_enz, markspieth, amessina
Tuesday, November 3rd, 2020, 02:00 UTC
[02:00:38] taylorr (taylorr!~taylorr@unaffiliated/elmojo) has joined #mythtv
[02:03:05] taylorr (taylorr!~taylorr@unaffiliated/elmojo) has quit (Remote host closed the connection)
[02:18:29] tralph (tralph!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has joined #mythtv
[02:22:55] amessina (amessina!~amessina@unaffiliated/amessina) has quit (Quit: Konversation terminated!)
[02:39:50] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6032:9caa:16d4:6ffa) has joined #mythtv
[02:39:50] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[02:42:39] gregl (gregl!~greg@cpe-24-194-253-7.nycap.res.rr.com) has joined #mythtv
[04:22:42] mad_enz (mad_enz!~mad_enz@cpe00508b114c3e-cmf0f249d13d30.cpe.net.cable.rogers.com) has quit (Ping timeout: 265 seconds)
[04:24:03] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6032:9caa:16d4:6ffa) has quit (Quit: Konversation terminated!)
[04:27:59] mad_enz (mad_enz!~mad_enz@cpe00508b114c3e-cmf0f249d13d30.cpe.net.cable.rogers.com) has joined #mythtv
[04:40:08] mad_enz (mad_enz!~mad_enz@cpe00508b114c3e-cmf0f249d13d30.cpe.net.cable.rogers.com) has quit (Ping timeout: 260 seconds)
[05:27:51] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 272 seconds)
[05:29:03] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[05:29:04] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth
[06:30:00] peterbennett (peterbennett!~pi@mythtv/developer/peterbennett) has quit (Quit: WeeChat 2.3)
[06:32:01] peterbennett (peterbennett!~pi@2601:183:100:b4:8f20:bbe4:c401:b4d9) has joined #mythtv
[06:32:02] peterbennett (peterbennett!~pi@2601:183:100:b4:8f20:bbe4:c401:b4d9) has quit (Changing host)
[06:32:02] peterbennett (peterbennett!~pi@mythtv/developer/peterbennett) has joined #mythtv
[06:32:02] Mode for #mythtv by ChanServ!ChanServ@services. : +v peterbennett
[07:25:16] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6032:9caa:16d4:6ffa) has joined #mythtv
[07:25:17] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[07:26:42] Valen (Valen!~quassel@2406:d500:6:beef:216:3cff:fe29:f0d2) has quit (Ping timeout: 260 seconds)
[07:29:59] Valen (Valen!~quassel@2406:d500:6:beef:216:3cff:fe29:f0d2) has joined #mythtv
[07:37:41] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has joined #mythtv
[08:10:14] produnis (produnis!~produnis@2a02:908:1d45:9a60:5652:45aa:eb56:858e) has quit (Ping timeout: 264 seconds)
[08:44:16] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has quit (Ping timeout: 256 seconds)
[09:28:08] SteveGoodey (SteveGoodey!~steve@host86-139-84-249.range86-139.btcentralplus.com) has joined #mythtv
[09:28:09] Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveGoodey
[09:33:13] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has joined #mythtv
[09:34:46] markk_: hampton: ok – I'll have a look. Just one more reason imho to remove the networkcontrol code :) https://github.com/MythTV/mythtv/projects/4
[09:39:26] stuarta: i'm pretty sure there are valid use cases for it
[09:39:46] stuarta: if you were thinking of doing that, i'd ask out on the -users list who uses it and how
[10:02:49] markk_: stuarta: I've no doubt there are valid use cases for it – but we should be using the services api – which already replicates much of the functionality. probably around 2–3k lines of code – much of which duplicates existing handling – and leads to errors, as hampton demonstrated:)
[10:06:25] stuarta: true true
[10:13:16] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6032:9caa:16d4:6ffa) has quit (Quit: Konversation terminated!)
[10:39:00] SteveGoodey (SteveGoodey!~steve@host86-139-84-249.range86-139.btcentralplus.com) has quit (Quit: Konversation terminated!)
[12:09:04] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has quit (Ping timeout: 240 seconds)
[12:24:39] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has joined #mythtv
[12:35:04] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Remote host closed the connection)
[12:41:29] hampton: The network control code is the keyboard for my frontends. They live in a rack in the basement, and the network connection is infinitely more stable than an IR transmitter and an IR-USB dongle. Mapping remote key presses to simple strings seems easier than mapping them to json blobs or whatever I would need to do to use the services api. Does that even support sending key presses?
[12:43:02] stuarta: we have a tester!
[12:43:21] stuarta: i suspect not, but i believe that is what markk_ is proposing to make work
[12:43:43] stuarta: within the services api
[12:45:54] stuarta: even if the current code has to be converted to a shim to the services api
[12:47:14] hampton: That makes a lot more sense than killing it.
[12:48:00] stuarta: i believe it's the code duplication and the spaghetti nature of the original implementation that is the problem
[12:48:09] hampton: I think I would be ok with losing everything in the network control api except the 'key' command. Instead of sending 'play speed pause' I could just send 'key space'. The remote key ends up being a toggle instead of always pausing, but I could live with that.
[12:48:25] hampton: One person's opinion. :-)
[12:51:18] ** hampton needs to dig into the services api and see how it works **
[12:54:34] stuarta: i hope you like data contracts
[12:55:34] stuarta: tbh. i have no feelings about the network control api one way or the other, i never have used it, nor do i plan to
[13:05:17] mad_enz (mad_enz!~mad_enz@cpe00508b114c3e-cmf0f249d13d30.cpe.net.cable.rogers.com) has joined #mythtv
[13:05:20] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has quit (Ping timeout: 272 seconds)
[13:07:27] stuarta: finally found the docs https://www.mythtv.org/wiki/Frontend_control_socket
[13:10:14] zbot (zbot!~supybot@2601:647:4802:4c3:222:4dff:fe51:6728) has quit (Remote host closed the connection)
[13:11:58] zbot (zbot!~supybot@2601:647:4802:4c3:222:4dff:fe51:6728) has joined #mythtv
[13:13:13] zbot (zbot!~supybot@2601:647:4802:4c3:222:4dff:fe51:6728) has quit (Remote host closed the connection)
[13:13:18] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has joined #mythtv
[13:14:49] zbot (zbot!~supybot@2601:647:4802:4c3:222:4dff:fe51:6728) has joined #mythtv
[13:20:07] markk_: hampton: https://github.com/MythTV/mythtv/blob/master/ . . . ontend.h#L34
[13:20:46] markk_: that should in theory work:) would be even better if we can get that properly integrated into a the websocket code etc
[13:24:18] markk_: hampton: and for a demonstration of that in action have a look at <frontend_ip>:6547 and follow the remote control link
[13:32:06] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6032:9caa:16d4:6ffa) has joined #mythtv
[13:32:06] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[13:34:41] ooshlablu (ooshlablu!~ooshlablu@2601:18d:4600:43f0:a038:14ff:fe50:8510) has quit (Remote host closed the connection)
[13:42:17] ooshlablu (ooshlablu!~ooshlablu@98.217.124.239) has joined #mythtv
[14:02:10] stuarta: markk_: the frontend control code is effectively websocket type code, where you define your own protocol
[14:09:25] markk_: stuarta: yes – but if it *is* a websocket, we *could* feedback/update on current state, hook into current 'SendAction' support, remove that duplication etc (which ties into some of the stuff I've been doing on the high level player code – where we track changes to the player state, rather than interrogating state).
[14:10:11] stuarta: makes sense
[14:11:26] markk_: stuarta: which reminds me – the current myth websocket code uses a seperate tcp server and port. any views on whether we should just use the existing server and port? (a websocket is after all just an 'upgraded' regular tcp socket)
[14:14:34] stuarta: markk_: i'm in two minds about that
[14:14:55] stuarta: on one hand, it would be nice and clean from a client side, to be able to just "change protocol"
[14:15:01] markk_: stuarta: as am I :)
[14:15:18] stuarta: on the other hand, implementing protocol change in the backend, is effectively writing yet more of a webserver
[14:15:42] stuarta: right now the webserver simply ships files and/or services api responses
[14:15:43] markk_: the main problem I have with using a different server is that you then have to potentially duplicate code between the 2
[14:16:26] peterbennett: I use "frontend control" for (1) script to check if FE is in standbymode (2) script to shut down FE (3) on Android FE to turn on verbose logging
[14:16:28] peterbennett: There is an android app mythmote that is a remote control and uses "frontend control".
[14:16:30] peterbennett: There is a screen in mythweb that uses "frontend control" to send keystrokes to a frontend.
[14:16:51] stuarta: there is a whole list of "app" in the webpage i listed earlier
[14:25:52] stuarta: markk_: tbh, i think combining the two would be secondary to separating out upnp/ssdp from the actual webserver part
[14:26:02] stuarta: and way down the todo list
[14:28:37] markk_: stuarta: I will see how this http server stuff looks – if I think it will be cleaner to combine the 2 then I'll get back to you. just thinking ahead re services type end points that *might* be a bit more dynamic
[14:29:36] stuarta: can we try to get the webserver stuff in it's own dir, even if that means renaming libmythupnp to something more appropriate
[14:31:35] markk_: stuarta: stuff so far is in libmythbase/http
[15:00:04] Maliuta (Maliuta!maliutamat@gateway/shell/matrix.org/x-qwwgyqgcborcergi) has quit (Ping timeout: 244 seconds)
[15:01:40] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has quit (Ping timeout: 265 seconds)
[15:04:52] SteveGoodey (SteveGoodey!~steve@host86-139-84-249.range86-139.btcentralplus.com) has joined #mythtv
[15:04:53] Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveGoodey
[15:05:02] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has joined #mythtv
[15:05:24] tralph (tralph!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has quit (Remote host closed the connection)
[15:08:10] tralph (tralph!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has joined #mythtv
[15:10:26] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has joined #mythtv
[15:10:56] tralph (tralph!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has left #mythtv ()
[15:15:20] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has quit (Read error: Connection timed out)
[15:15:44] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has joined #mythtv
[15:18:05] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has quit (Remote host closed the connection)
[15:37:00] Maliuta (Maliuta!maliutamat@gateway/shell/matrix.org/x-kuzuvzzkwgiuycvo) has joined #mythtv
[15:37:23] Maliuta is now known as Guest97913
[15:45:52] mad_enz (mad_enz!~mad_enz@cpe00508b114c3e-cmf0f249d13d30.cpe.net.cable.rogers.com) has quit (Ping timeout: 260 seconds)
[15:47:09] Guest97913 (Guest97913!maliutamat@gateway/shell/matrix.org/x-kuzuvzzkwgiuycvo) has quit (Quit: Bridge terminating on SIGTERM)
[15:50:04] MythLogBot (MythLogBot!~bot@mythtv/bot/MythLogBot) has quit (Ping timeout: 246 seconds)
[15:50:41] Mode for #mythtv by ChanServ!ChanServ@services. : +v MythLogBot
[15:55:42] ghoti_ (ghoti_!~paul@bras-base-ptldon0102w-grc-03-76-66-164-45.dsl.bell.ca) has quit (Ping timeout: 272 seconds)
[15:57:26] enick_709 (enick_709!maliutamat@gateway/shell/matrix.org/x-izcdlsbhespbbton) has joined #mythtv
[16:12:20] ghoti (ghoti!~paul@bras-base-ptldon0102w-grc-03-76-66-164-45.dsl.bell.ca) has joined #mythtv
[16:21:47] ghoti (ghoti!~paul@bras-base-ptldon0102w-grc-03-76-66-164-45.dsl.bell.ca) has quit (Ping timeout: 244 seconds)
[16:26:06] hampton: Connecting to <frontend_ip>:6547 just gives me a 404 error.
[16:27:26] stuarta: isn't it the network control socket on 6546?
[16:28:40] hampton: Yes. 6547 should be the web services interface.
[16:28:56] hampton: I think. Its speaks html.
[16:33:00] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has joined #mythtv
[16:33:03] hampton: Interesting. 6547 works on my laptop. The 404 error was on my prod system.
[16:45:55] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has quit (Ping timeout: 268 seconds)
[16:50:07] ** hampton wonders if he can find an existing control4 driver that uses http post that he can use as a starting point. **
[16:50:51] hampton: The problem is that I have to relearn lua and c4 driver development.
[16:57:13] stuarta: sounds painful
[16:59:15] stuarta: if it's any consolation, i've been relearning javascript :)
[17:18:06] ghoti (ghoti!~paul@bras-base-ptldon0102w-grc-03-76-66-164-45.dsl.bell.ca) has joined #mythtv
[18:32:24] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has joined #mythtv
[18:53:52] enick_709 (enick_709!maliutamat@gateway/shell/matrix.org/x-izcdlsbhespbbton) has quit (Changing host)
[18:53:52] enick_709 (enick_709!maliutamat@unaffiliated/maliuta) has joined #mythtv
[18:53:53] enick_709 (enick_709!maliutamat@unaffiliated/maliuta) has quit (Changing host)
[18:53:53] enick_709 (enick_709!maliutamat@gateway/shell/matrix.org/x-izcdlsbhespbbton) has joined #mythtv
[18:53:54] enick_709 is now known as Maliuta
[19:05:48] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has quit (Ping timeout: 260 seconds)
[20:01:43] mad_enz (mad_enz!~mad_enz@cpe00508b114c3e-cmf0f249d13d30.cpe.net.cable.rogers.com) has joined #mythtv
[21:26:41] ChanServ (ChanServ!ChanServ@services.) has quit (shutting down)
[21:32:21] ChanServ (ChanServ!ChanServ@services.) has joined #mythtv
[21:32:21] Mode for #mythtv by wolfe.freenode.net : +o ChanServ
[21:49:17] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6032:9caa:16d4:6ffa) has quit (Quit: Konversation terminated!)
[21:57:19] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has joined #mythtv
[22:23:33] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has quit (Remote host closed the connection)
[22:49:13] markk_ (markk_!~mark@host109-151-69-221.range109-151.btcentralplus.com) has quit (Ping timeout: 260 seconds)
[23:01:07] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has joined #mythtv
[23:02:09] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has quit (Client Quit)
[23:04:57] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has joined #mythtv
[23:06:12] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has quit (Remote host closed the connection)
[23:08:21] taylorr (taylorr!~tralph@c-98-211-44-239.hsd1.tn.comcast.net) has joined #mythtv
[23:38:54] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[23:38:55] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth
[23:45:42] amessina (amessina!~amessina@unaffiliated/amessina) has joined #mythtv

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