Home arrow Scripting arrow Shell Scripts arrow Batch converting TiVo files in Linux
Batch converting TiVo files in Linux Print E-mail
Written by Jason   
Sep 26, 2008 at 10:18 AM

Recently my TiVo finally died, leaving me with several gigabytes of encrypted TiVo programming. Here's how I removed them.


 

I stored all of my TiVo content on one of my Linux servers that ran Galleon, so naturally I needed a Linux solution. I loaded tivodecode, a snappy little utility that removes that troublesome TiVo encryption. I threw together this little script to automate it. Drop it in any directory that contains *.TiVo files and it will convert them to *.TiVo.mpg and delete the old .TiVo files. Be sure to change the XXXXXXXXX to whatever your TiVo Media Access Key is.

#!/bin/ksh

ls *.TiVo > tivofiles.txt

while read FILES

do

   echo Converting $FILES
   tivodecode --mak XXXXXXXXXX -o "$FILES.mpg" "$FILES"
   rm $FILES

done < tivofiles.txt

Last Updated ( Sep 26, 2008 at 12:40 PM )
� http://www.roboguys.com, Mambo and Designed by Siteground