Removing Old Records for Logstash / Elasticsearch / Kibana

Edit: This post is pretty old and Elasticsearch/Logstash/Kibana have evolved a lot since it was written. Part 4 of 4 – Part 1 – Part 2 – Part 3 Now that you’ve got all your logs flying through logstash into elasticsearch, how to remove old records that are no longer doing anything but consuming spaceContinue reading “Removing Old Records for Logstash / Elasticsearch / Kibana”

MythTV Roku Streaming Dir Remove Expired

This is just a quick and dirty script to delete MythTV recordings that had been previously transcoded and moved to the stream directory, but have since been autoexpired out of MythTV. This is an issue because trying to pull data outta the MythTV recording database about a recording that has been deleted causes an errorContinue reading “MythTV Roku Streaming Dir Remove Expired”

MythTV iTunes Compatible XML RSS Feed

Since I’m already transcoding the recordings to h.264, might as well make them easily accessible to my iPhone or Boxee Box or Miro. Since the filenames are more likely to be seen, might as well make them more human readable. The biggest advantage to this renaming a season of a recorded show for archiving usingContinue reading “MythTV iTunes Compatible XML RSS Feed”

MythTV Roku Commercial Skip Encode Script

Before I forget, here’s my MythTV UserJob1: /usr/local/bin/mythipodcom.sh %DIR% %FILE% This script runs on a MythTV recording to remove commercials and transcode to h.264 video that I’ve tested and will play on Android (Motorola Droid), iPhone (iPhone 4), Roku DVP (Original Roku Netflix Player), Boxee Box, and in Miro on Windows. The contents of /usr/local/bin/mythipodcom.sh

MythTV Roku Streaming XML List Generator

Once the files have been created, will need to create an XML file the brightscript program on the Roku DVP can parse to display show data. This bit of perl reads the stream directory, sorts by file creation date, picks out the .mp4 files, uses the MythTV bindings to pull out show data, smashes itContinue reading “MythTV Roku Streaming XML List Generator”

Hexbug Spider LIRC Control

As soon as I knew they existed, I got a Hexbug Spider. I wish these things existed when I was little. It is COOL! Now that I’m older and can buy toys for myself, I can do more interesting things with my toys. The Hexbug is IR controlled, like a tv remote control. I haveContinue reading “Hexbug Spider LIRC Control”

MythTV Migration

http://www.mythtv.org/wiki/Database_Backup_and_Restore One of my first experiences with mythtv was restoring a recording and a dump of the MySQL database before I could buy my own tuner card. It was cool to see recordings populated and get a feel for the UI, but it was ultimately pretty pointless. Anyhoo, I bork’d my mythbuntu setup and neededContinue reading “MythTV Migration”

3d Video

http://ip-webcam.appspot.com/ http://dorgem.sourceforge.net/ http://www.splitcamera.com/ The cameras I’m using were like $10 at walmart and are so crappy they don’t have a website. I can’t recommend using these. Difficulty: the driver for these cameras is so cheap that it will cause windows to bluescreen if you plug two of them into the same computer. Please, I begContinue reading “3d Video”