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.03
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
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 - 20110807 (Aug 7, 2011)
Download latest version of RFLibs
Ceton CCI Scanner
This script uses your Ceton InfiniTV 4 card's cablecard to identify all channels offered by your cable provider. It then systematically queries each channel to determine which channels are available to you, and to determin the CCI (Copyright Control Information) status of each channel.
When the scan is complete, the script also gives you the option to upload your results to an online website. This will allow other users to see what the status of the CCI flags are in your area for your cable provider.
The online database of all uploaded results can be found here
Download the Ceton CCI Scanner
Myth HDHomerun Scanner
This script makes it easier for you to manage updates to the myth channel configuration for you HD Homerun tuner. This script scans your HD Homerun for all available channels, looks at your myth channel configuration, and attempts to figure out how to update the channels automatically.
The current version of this script has limited functionality. I hope to address some of these limitations in a future update.
Because this script messes with your myth channel configuration, I'd highly recommend you make a backup of your database before running it. I wouldn't want to you ruin your channel config if I didn't anticipate something different about your configuration and my script blows up.
Download the Myth HDHomerun Scanner
Ceton InfiniTV 4 support
This patch will allow you to setup your Ceton InfiniTV 4 cablecard tuner to work in mythtv. This will allow you to record some encrypted channels in MythTV (how many channels, if any, will depend on your local cable provider's configuration).
Please see my blog entry Ceton InifiniTV 4 in MythTV 0.24 - Part 2 for important information and configuration instructions.
Mythbuntu 11.04 users...please see Ceton InifiniTV 4 in MythTV 0.24 - Part 3 for instructions (but you should still read Part 2 for the disclaimers and important information).
Current version - 009 (2/23/2012) [changelog]
Download the Ceton InfiniTV 4 support patch for 0.24-fixes
Download the Ceton InfiniTV 4 support patch for Mythbuntu 11.04
Download the channel mapping utility (for cablecard configuration only, not needed for ver 008 and newer patch)
Download the QAM channel mapping utility (for QAM configuration only)
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.24-fixes.
Download the ButtonTree Columns patch
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. So, for example:
<triggerevent context="" action="">LEFT</triggerevent>
This patch can be applied to 0.24-fixes. I have not currently submitted this patch for inclusion in mythtv.
Download the ButtonList TriggerEvent patch
Download an example theme patch