Opened 20 years ago

Closed 19 years ago

#1146 closed enhancement (fixed)

Simple Remote Control Plugin for Mythweb...

Reported by: jochen Owned by: xris
Priority: minor Milestone: 0.21
Component: mythweb Version:
Severity: medium Keywords:
Cc: phatfil@…, mythtv@… Ticket locked: no

Description

A Simple addon for mythweb to communicate with the new mythfronend telnet interafce.

copy handler.php and init.php to the dir /mythweb/modules/remote and the key.php to /mythweb/themes/default/remote.

it communicates with the ip 127.0.0.1 to change, edit the handler.php

Attachments (7)

handler.php (328 bytes ) - added by jochen 20 years ago.
init.php (155 bytes ) - added by jochen 20 years ago.
key.php (1.7 KB ) - added by jochen 20 years ago.
mythfrontend.diff (11.8 KB ) - added by phatfil@… 20 years ago.
mythweb_remote.diff (14.8 KB ) - added by jmorganson@… 19 years ago.
Updated frontend remote diff based on 12569
mythweb_remote.2.diff (20.4 KB ) - added by hads 19 years ago.
Updated patch
mythweb_remote.3.diff (22.3 KB ) - added by hads 19 years ago.
Updated patch against 13117

Download all attachments as: .zip

Change History (14)

by jochen, 20 years ago

Attachment: handler.php added

by jochen, 20 years ago

Attachment: init.php added

by jochen, 20 years ago

Attachment: key.php added

comment:1 by phatfil@…, 20 years ago

Cc: phatfil@… added

Your kung foo is no good.

I'm attaching a diff (against 9106) which does key presses and jumppoints (haven't done play functionality yet, I'll see how this patch is received first..). I haven't made it look nice because I'm crap at UI stuff (but all you should have to do is fix up the themes files), but the basic functionality is there.

by phatfil@…, 20 years ago

Attachment: mythfrontend.diff added

comment:2 by xris, 20 years ago

added my own reworked/cleaned mythfrontend.php in [9486].

comment:3 by stuartm, 19 years ago

Milestone: 0.200.21

by jmorganson@…, 19 years ago

Attachment: mythweb_remote.diff added

Updated frontend remote diff based on 12569

comment:4 by jmorganson@…, 19 years ago

I changed the handler files "keys.php" and "jump.php" so that they can handle GET or POST requests and multiple frontends at once, they will cycle through all of the frontends in the request variable frontends. The interface itself uses HTTPRequests to send the commands without having to refresh the page. This means that it relies on a fair amount of javascript, which I had trouble getting to work in IE, it works fine for me in Firefox though. I wrote this for myself so i can use a laptop terminal I have as a poor mans wireless keyboard, if there is interest in this I would work on some of the compatibility issues and see about adding some flashy graphics to spruce up the UI a little. Hope you can find it useful.

by hads, 19 years ago

Attachment: mythweb_remote.2.diff added

Updated patch

comment:5 by hads, 19 years ago

Cc: mythtv@… added

I just attached an updated version of jmorganson's patch against SVN 13117.I haven't changed andthing so the javascript still only works in FF.

by hads, 19 years ago

Attachment: mythweb_remote.3.diff added

Updated patch against 13117

comment:6 by hads, 19 years ago

Oops, here's that again. I copied the welcome.php file from the music module and forgot to edit it.

comment:7 by xris, 19 years ago

Resolution: fixed
Status: newclosed

(In [13217]) Initial remote control module for MythWeb. For now, this only includes a basic keyboard to send events. It will eventually include jump points and possibly some more interactive features. Closes #1146, too.

Note: See TracTickets for help on using tickets.