Using OpenSolaris As A TiVo Backup Device

OpenSolaris logo TiVo logo
I'm trying to get the open source Java application Galleon to work on the OpenSolaris operating system. I'm writing this to describe what I did to get it working. First, a brief explanation of what Galleon is.

Galleon is an open source application written in the Java programming language that knows how to talk to a TiVo digital video recorder (DVR). The main two things that Galleon can do, from my perspective are:
  1. let you transfer video content between the TiVo and a computer
  2. let you write new TiVo interactive applications, in Java
Here is a video demo showing what Galleon applications look like on your TiVo.

There are two parts to Galleon: the Galleon server connects to your TiVo, and the Galleon GUI lets you configure the apps that show up on the TiVo.

My interest in Galleon is to use my OpenSolaris home media server as a TiVo backup device. I don't know if you have this problem, but every once in a while, the TiVo will crash and sometimes it loses some of the shows I've recorded. Most of the shows, I'm okay if they're lost. But there are always a few shows that I really didn't want to lose; those shows, I'd like to back up on a more reliable storage platform than TiVo. Now that my OpenSolaris home media server with ZFS is running and stable, I'd like to use it to backup my most critical content (if you can call TV "critical", but that's a separate issue).

I spent some time getting the Java app to build and run; I decided to run as an unprivileged user (i.e., don't need root privileges to run the app), so I made some configuration changes to make it work. Here's what I did.

First, I got the source via the project's CVS repository.

Next, I configured the "unix.properties" file in the top-level directory to change where it tries to install Galleon. By default, the app goes into /usr/share/galleon but I wanted to try it from my home directory first, so I changed those entries appropriately (i.e., change /usr/share to /export/home/me). Also, I changed the log entries from /var/log/galleon and /var/cache/galleon to /export/home/me/var/... while I was testing.

Next, I went into the "galleon" directory and typed "ant" to build the app from source code.

(didn't yet worry about how to install and package it in /usr/local, where I'd want it (override default settings for linux)

I got pretty excited at this point, a little too soon. I tried to launch Galleon from build/bin (you launch by running a shell script called "run.sh", which starts the Galleon server). This didn't quite work: Galleon uses something called the Java Service Wrapper, but the wrapper executable in my download was not for OpenSolaris. Luckily, the web site had a binary for Solaris 10 x86 (here's a link to the Community edition, version 3.3.5), which worked fine with my OpenSolaris 2008.11 release.

(There's also a SourceForge project here but I haven't yet tried to compile it from source. I'd love to hear from somebody who tries it to see if it works for them.)

I tried again to launch the Galleon server (./run.sh), but it failed on launch: Galloen couldn't write to /var/log/galleon/{gui.txt, log.txt}. Galleon uses Log4J for logging; to fix this, I modified build/conf/log4j.xml to point to my area to which I have write permissions.

I launched again but it failed to start after a couple of minutes. I looked at the log.txt file to see why; turns out, Galleon uses the Derby Java database, which wouldn't start. Why? Because the hostname of my machine wasn't found. I have issues with my home network's hostname lookup with OpenSolaris (my other machines don't have this problem, only the OpenSolaris box), so I fixed that by putting the hostname into /etc/hosts for now. I should check /etc/nsswitch.conf, but this worked for the time being.

I launched the Galleon server one more time; it spewed a bunch of INFO messages, then said "Galleon is ready." That looked like good news; time to try the GUI and see if it's for real.

To run the GUI and configure Galleon, I typed "./gui.sh", which brings up a Java application that lets you configure the Galleon server. You tell it the Media Access Key (MAK) of your TiVo, which is a simple credential used to connect to the TiVo. You can also configure Galleon by telling it which add-on apps to push to the TiVo. There are a handful of these, including local weather, a music player (the TiVo can play music stored on my OpenSolaris box), photos, RSS reader, and a few other goodies. The app I was really interested in was the "ToGo" app, as in TiVo To Go. That's the feature that lets me specify which shows I want to transfer from the TiVo to my backup server in case the TiVo crashes.

I did the configuration for the ToGo app, then went to my TiVo and went into the "Music, Photos, Products and More" menu to see the list of apps. Galleon showed up on that list; I clicked on it and went into the ToGo app. From there, I could choose shows to send from my TiVo to the computer.

I did the same thing on my OpenSolaris box with the Galleon GUI: there is a panel you can use to tell it which shows to download (e.g., all episodes of "House"). It worked just fine.

I let it do its work overnight; the next day, I found a pool of TiVo shows nicely backed up on the OpenSolaris media server. Next time we lose power and the TiVo gets confused, I can upload those shows back onto the TiVo and I'm back in business.

Powered by ScribeFire.



Comments

This is what I have been

This is what I have been searching in many websites and I finally found it here. Amazing article. I am so impressed. Could never think of such a thing is possible with it...I think you have a great knowledge especially while dealings with such subjects visa americana

best education

i just wanted ot say a massive thank you for putting this post up. I really enjoyed it, very interesting. The video was really great o see. Thank you once again. Keep up the great work! fin de semana romantico

This is a very informative

This is a very informative article.I was looking for these things and here I found it.I am doing projects valentines day cards | iPhone jailbreak and this information is very useful me.

best post

I am very happy for the great services are visible in this blog. This is really satisfied by the technology in this blog and thank you very much for the nice services in this blog.cetrería

Nice post. Post learn

Nice post. Post learn something more challenging about different blogging daily. It is going to always end up being stimulating to read content from other writers in addition to practice a bit something from their retailer. I’d desire to use several with all the content about my blog whether you don’t mind. Naturally I’ll give you any link on your web blog. Thank you with regard to giving. write my paper

If anything is going to make

If anything is going to make this song seem a safely familiar Gershwin gem, it is bringing Jake into Clara’s sad solo. As conceived, “Summertime” is a solitary bijuterii expression from a burdened but steadfast wife and mother. “Livin’ ” is not easy on Catfish Row, and Daddy is hardly rich.

I was just imagining about it

I was just imagining about it and you provided me the correct information I really bookmarked it, for further reading. But it would be great if you provide more details about it. Professional resume help

Superb job

Thanks for sharing..!! I love your post. I am looking more post like this one on this blog. This post proves really helpful for me. tuinontwerp maken

Great blogs I am Appreciating

Great blogs I am Appreciating it very much! Looking Forward to Another Great article. Good luck to the Author! all the best. staande lampen

This is what I have been

This is what I have been searching in many websites and I finally found it here. Amazing article. I am so impressed. Could never think of such a thing is possible with it...I think you have a great knowledge especially while dealings with such subjects. fotografo madrid

Nice articles, thank you for

Nice articles, thank you for sharing with us, I just bookmaker you site for feature reference and waiting for your new edition. Keep going, Thank again for shearing with us. best water softener

Good Topic

The topic that your blog deals with demands loads of research. Thanks to you who has provided the intricate information in simple words.... professional research paper writers

nice

Essays are an important part of many schools curriculum. If you are writing an essay for professional purposes, or you are writing one to satisfy the apartamentos baratos en ibiza requirements of a class you are taking, you should certainly learn how to write an essay before you get started. chapa y pintura madrid

I’ve been meaning to read

I’ve been meaning to read this and just never received a chance. It’s an issue that I’m quite interested in, I just started reading and I’m glad I did. You’re a excellent blogger, one of the greatest that I’ve seen. This blog unquestionably has some details on subject that I just wasn’t aware of. Thanks for bringing this things to light. golf estepona

The information you provided

The information you provided is really wonderful. I really enjoyed it. It helped me a lot.
mole removal at home

best news

I’m still learning from you, but I’m trying to reach my goals. I absolutely enjoy reading everything that is written on your site.Keep the stories coming. I loved it!...club inntegra

I performed searches on the

I performed searches on the topic and found most people will agree with your blog.

Great items from you, man. I

Great items from you, man. I have have in mind your stuff previous to and you are simply extremely magnificent. I really like what you have bought here, really like what you are saying and the way in which by which you assert it. You make it enjoyable and you still take care of to keep it wise. I cant wait to learn much more from you. This is actually a wonderful site. medical personal statement

I used to own a product by

I used to own a product by TiVo's primary competitor, ReplayTV. ReplayTV supported streaming of video from other RTV boxes; there is a Java app that lets you stream movies from your computer to the RTV box. I wish the TiVo would support that.zebra printer

Video Link doesn't work

I've checked the video link of what the Galleon look like but I think it doesn't work already. It's my first time to hear about this kind of operating system and it really interest me most to know about it.

Nice job! I like this topic!

calderas biomasa wow great i have read many articles about this topic and every time i learn something new i don't think it will ever stop always new info , Thanks for all of your hard work! sistema para ganar la quiniela

The topic that your blog

The topic that your blog deals with demands loads of research. Thanks to you who has provided the intricate information in simple words. motorcycles for sale

Classmates and MySpace, but

Classmates and MySpace, but finally catching on with the likes of Facebook, Twitter and other similar networks.

Hi,The post is written in

Hi,The post is written in very a good manner and it entails many useful information for me. The code looks easy to implement. I appreciated what you have done here. I am always searching for informative information like this. Thanks for sharing with us Jason Fielder

Very impressive post. You

Very impressive post. You have written rally a valuable information. I also agree with that first we should complete our current work then only move to the another work. But being a multitasking is definitely a good thing and we always try for it. If you give your best, one day you will succeed int it. hypnosis to stop smoking

Flow through racking is also

Flow through racking is also called self sliding racking, means install diagonal rollers in the beam. The cargo stored is small cargo, mainly packed by carton or plastic box. shelving Features of flow through racking: 1. Full dismountable structure, easy to install and relocation. 2. Load capacity of each level is between 200kg-800kg. 3. The height of racking is less than 2.5 meter, handled by man power. Our service process:

nice blog

TiVo. Now that my OpenSolaris home media server with ZFS is running and stable, I'd like to use it to backup my most critical content (if you can call TV "critical", but that's a separate issue). resume help

this is best works

Very informative, thank you. I’ve been blogging on and off for almost 3 years, but have never had much of a focus – I tend to just write about whatever is on my mind when I feel like writing. Cheers! Juegos de Bob Esponja rainwater harvesting tanks

Para obter respostas,

Para obter respostas, preparámos uma cópia do formulário do SAPO Login (o single-sign-on do SAPO) com uma checkbox adicional, como se pode ver na imagem.

Its really a nice article. It

Its really a nice article. It has good content. Thanks for sharing it. restaurant crockery

Thank you for the help you

Thank you for the help you have been, you are awesome, keep coming with more.. Chris Harris Reduce workers compensation costs

Hey you have great blog

Hey you have great blog post,excellent presented information,keep it on.thanks for sharing it. online marketing

I must say that you have made

I must say that you have made some good points in the post. I performed searches on the topic and found most people will agree with your blog.

I want to transfer from the

I want to transfer from the TiVo to my backup server in case the TiVo crashes.

HI

nice device

rock

Elmah, etc) to package up their libraries and register them with an online gallery/catalog that is searchable.

I'd like to back up on a more

I'd like to back up on a more reliable storage platform than TiVo. Now that my OpenSolaris home media server with ZFS is running and stable, I'd like to use it to backup my most critical content (if you can call TV "critical", but that's a separate issue).

ranger

the Galleon server connects to your TiVo, and the Galleon GUI lets you configure the apps that show up on the TiVo.

I clicked on it and went into

I clicked on it and went into the ToGo app. From there, I could choose shows to send from my TiVo to the computer.

Why? Because the hostname of

Why? Because the hostname of my machine wasn't found.

RANGER

I LIKE THIS SITE.

RANGER

I need useful information.

Hi, I must say that you have

Hi, I must say that you have made some good points in the post. I performed searches on the topic and found most people will agree with your blog. Thanks for sharing this information. biogetica herpes

rock

er with ZFS is running and stable, I'd like to use it to backup my most critical content (if you can call TV "critical", but that's

similar

the apps that show up on the TiVo.

rock

TiVo. Now that my OpenSolaris home media server with ZFS is running and stable, I'd like to use it to backup my most critical content (if you can call TV "critical", but that's a separate issue).

That's the feature that lets

That's the feature that lets me specify which shows I want to transfer from the TiVo to my backup server in case the TiVo crashes.

RANGER

I want to transfer from the TiVo to my backup server in case the TiVo crashes.

tried

haven't yet tried to compile it from source. I'd love to hear from somebody who tries it to see if it works for them.)Web Design Resources

RANGER

who tries it to see if it works for them.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.