Opened 14 years ago

Closed 13 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 14 years ago.
init.php (155 bytes) - added by jochen 14 years ago.
key.php (1.7 KB) - added by jochen 14 years ago.
mythfrontend.diff (11.8 KB) - added by phatfil@… 14 years ago.
mythweb_remote.diff (14.8 KB) - added by jmorganson@… 13 years ago.
Updated frontend remote diff based on 12569
mythweb_remote.2.diff (20.4 KB) - added by hads 13 years ago.
Updated patch
mythweb_remote.3.diff (22.3 KB) - added by hads 13 years ago.
Updated patch against 13117

Download all attachments as: .zip

Change History (14)

Changed 14 years ago by jochen

Attachment: handler.php added

Changed 14 years ago by jochen

Attachment: init.php added

Changed 14 years ago by jochen

Attachment: key.php added

comment:1 Changed 14 years ago by phatfil@…

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.

Changed 14 years ago by phatfil@…

Attachment: mythfrontend.diff added

comment:2 Changed 14 years ago by xris

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

comment:3 Changed 13 years ago by stuartm

Milestone: 0.200.21

Changed 13 years ago by jmorganson@…

Attachment: mythweb_remote.diff added

Updated frontend remote diff based on 12569

comment:4 Changed 13 years ago by jmorganson@…

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.

Changed 13 years ago by hads

Attachment: mythweb_remote.2.diff added

Updated patch

comment:5 Changed 13 years ago by hads

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.

Changed 13 years ago by hads

Attachment: mythweb_remote.3.diff added

Updated patch against 13117

comment:6 Changed 13 years ago by hads

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

comment:7 Changed 13 years ago by xris

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.