This is a script that was designed to monitor lirc for IR input and then perform actions when certain button combinations are performed. The types of events it can monitor for include:
The response taken to an event can include:
Current Version - 2.01
Download IR Watch
RFLibs modules also required
This script connects to a Sharp Aquos TV via it's built in serial port (only available on some models). It then opens a TCP socket that you can connect to in order to query the status of the TV or change settings (power, volume, input, etc).
You can use this script to issue one-off commands to the TV. For instance, to power off the TV when your computer shuts down, just make sure the aquosserver script is running and then issue the following command in your shutdown script (make sure it's before you shutdown aquosserver):
echo -e 'POWER_OFF\nEXIT' | nc localhost 4684
Other ideas would be to set the volume to a low setting when first turning on the TV (so you aren't shockingly reminded in the morning that you actually had the volume up quite loud last night). It can also be used by the irwatch script's aquos plugin in order to do things like tie the power and volume button to the TV power and volume features.
More details about this script can be found in the AquosServer blog entry
Current Version - 1.01
Download AquosServer script
RFLibs modules also required
M2TS Build Index
This simple shell script is a wrapper around the mythtranscode command. It runs mythtranscode in order to build a seektable for a video file (no actual transcoding is done). Although I wrote this script for the purpose of building the seektable for M2TS files ripped from BluRay discs, it can actually be used on any video file for which you need to build the seektable.
This wrapper simply provides 2 benefits:
Download M2TS BuildIndex
These are series of perl modules that are used by several of my other scripts to perform a variety of functions.
Not much to do with these except make sure they are in the right location. On my system, I put the RFLibs folder into /usr/local/scripts/ and then make sure each perl script the uses them points to the right path by setting an include in the first line:
Not much more to say.
Current Release - 20100102 (Jan 2, 2010)
Download latest version of RFLibs
MythUI ButtonTree with customizable columns
In the conversion to MythUI, some functionality of the old UI code was lost in the rewrite (not that I'm blaming anyone... there's only so much one can do in a limited time). One of the nice features that was lost was the ability to give tree controls columns with different widths.
This patch allows you to customize a buttontree control in 2 ways. First, you can add a columnwidths property to set the widths of individual columns. Second, you can individually layout and style each column of tree.
This patch can be applied to 0.22-fixes.
This patch has been submitted under Ticket #7826. Until it gets merged into the trunk, you can get the patches from that page.
ButtonList Trigger Events
In Myth 0.21, when in the Watch Recordings screen, pressing the right arrow key while a program was highlighted would display the menu where you can chose a number of option for the selected recording (transcode, delete, stop recording, etc). In 0.22, one of the side effects of allowing horizontally laid out themes is that this functionality no longer works, and from what I've read there are no intentions to mimic the old behavior. I'm not quite interested in reconfiguring my remote button mappings to deal with the new setup, so I've written a patch to add that behavior back.
This time, the behavior is themable, so a vertically laid out theme can have it triggered by the right arrow, and a horizontal theme can have it's choice of triggering with either an up or down arrow. In fact, the design is quite a bit more customizable, so that you can have any ButtonList trigger any event in response to a different event. You simply add one additional tag to your buttontree. Here's an example:
<triggerevent context="Global" action="INFO">RIGHT</triggerevent>
This says that anytime the buttonlist is responding to a "RIGHT" action event, instead of the normal processing it's going to lookup the key assigned to the "Global" action named "INFO" and trigger a keypress event for that action. If you set context and/or action to an invalid value, then the assigned keypress will disappear into thin air without generating a corresponding event. This would be useful if you don't want the LEFT key in the left buttonlist to wrap focus around to the right buttonlist.
This patch can be applied to 0.22-fixes. I have not currently submitted this patch for inclusion in mythtv.
Download the ButtonList TriggerEvent patch
Download an example theme patch