Deleting Channels From MythTV

MythTV is a DIY digital video recorder.  Building a box to do this isn’t much beyond putting together a PC and installing Linux, but its not something I’d expect a non-geek to dive into.  Geek or not – everyone should have some form of digital video recorder, it completely changes how you watch TV.

Of course, since my MythBox is using a capture card to grab video from my sattellite receiver it has no idea what channel has which show.  When I started with MythTV, there was a free service offered by Zap2It.com that offered up listing information in an easy to consume format.  The listings provide MythTV with guide information so it knows what is on, and when.  Today there is SchedulesDirect which is well run and inexpensive at $20 USD a year.

Over time, channels change and this is reflected by changes in the listing data.  MythTV detects these changes, and will add new channels automatically – it won’t remove channels that we listing information is no longer being delivered for.  I’m on an older version (0.20) but suspect there is a design decision here.

Using the UI to remove channels is pretty clunky.  The MythTV site has instructions on accomplishing this via the command line, and while I’m comfortable with the command line – it is a multi-step process which I dreaded doing.  So over a few months, more and more bogus channels that I didn’t actually have would get added.  For example – a new pay per view (PPV) channel would appear, new guide data would become available and I’d start seeing it as an available channel… grr

Of course, you still need to connect to SchedulesDirect and remove the unwanted channels from your subscription otherwise MythTV will just keep adding the ‘new’ channels back.  Tonight I wrote up a quick Perl script to automate the multi-step process – this makes removing unwanted channels quick and easy.

Usage: remove_channel.pl <channel number>


#!/usr/bin/perl

use Mysql;

# MYSQL CONFIG VARIABLES
$host = "localhost";
$database = "mythconverg";
$user = "root";
$pw = "";

# PERL MYSQL CONNECT()
$connect = Mysql->connect($host, $database, $user, $pw);

# SELECT DB
$connect->selectdb($database);

# DEFINE some MySQL queries
$findchan = "SELECT chanid FROM channel where channum = ".$ARGV[0];
$delchannel = "DELETE FROM channel where chanid = ";
$delprogram = "DELETE FROM program where chanid = ";

# EXECUTE THE QUERY
$execute = $connect->query($findchan);

while (@results = $execute->fetchrow()) {
print "chanid ".$results[0]."\n";
$connect->query($delchannel.$results[0]);
$connect->query($delprogram.$results[0]);
}

IR4PS3 Review

Until recently, the PS3 was one of the cheaper options for Blu-ray playback and it has high quality playback.  Today there are stand alone players which will match the quality of playback, but not the boot / menu speed the PS3.  Still, the PS3 goes beyond movies by providing game play and media center duties.

One of the drawbacks to the PS3 is integration with standard universal remote controls, not having an IR control story.  The official Sony PS3 remote uses the same bluetooth connectivity as the wireless game controllers.  To work around this there are several 3rd party solutions exist such as IR2BT, ps3toothfairy, Schmart and IR4PS3, I chose to go with the latter.

I first found out about the IR4PS3 option via remotecentral.com, a site I’ve often referenced ever since I invested in a Phillips Pronto TSU2000.  Having a complex audio/video setup is one thing, but it becomes a much bigger problem if my wife can’t make use of it – a fully programmable remote such as the Pronto makes the whole setup easy to use.  After reading the AVSForum thread on IR4PS3, I felt confident that it would be a good match for my setup.

The short version of the review is that ordering it was easy, it was shipped quickly, and works exactly as I would expect.  You do need to provide your own power supply, but the manual lists several low cost and easy to find options.  As it uses the bluetooth module from the Sony remote, compatibility with the PS3 firmware upgrades should be a non-issue.  I now can use my IR based universal remote control with the PS3.  Response time feel good, exactly as if the PS3 actually had IR support built in.  I would not hesitate to recommend it to others.

Read on for a full review with pictures..

Continue reading “IR4PS3 Review”

Samsung ML-2010 Toner Refill

In the fall of 2005 laser printers had fallen to the near $100 mark and our ink jet printer seemed to have an endless appetite for (expensive) ink cartridges.  It was time for a change, and while colour printing is nice – a lot of our printing needs were very basic.  At the time, staples.ca had multiple web coupons you could “stack” and cut a $199 printer down to $126, and there was a $30 mail in rebate on top of that.  I never got the mail in rebate due to the standard rebate avoidance techniques (by the time I found out what I needed months later, the box had gone into the trash).

The printer I bought was the Samsung ML-2010.  It was known to be easy to refill, and considering that a new toner cartridge was nearly $100 at the time – I knew I’d be going the DIY route when the time came.  A full 3 years later we still use this printer and it has been mostly trouble free.  The toner had finally gotten low enough that we needed to do something (taking the cartridge out and shaking it wasn’t helping much anymore).

I figured I’d be getting one of the toner refill kits from eBay, but which one?  I turned to redflagdeals.com and found this thread that pointed me at TonerKits.  While the thread was started back in 2004, but its still going strong at 47 pages with recent positive reports.  I purchased from TonerKits via eBay simply selected the right kit for my printer.  I paid $11.99 USD (7.99 + 4 shipping), but looking today – the same kit is $9.99 with free shipping.  The eBay transaction was quick, and smooth.

Refill Kit Includes:
1 – 100g black toner refill
1 – pouring spout w/cap
1 – set illustrated instructions

(there are cheaper kits with less toner, 100g will fill to ~75% level twice)

Pictured above is my toner cartridge and the 3 items I received from TonerKits.  The refill process was very simple. Continue reading “Samsung ML-2010 Toner Refill”