Tivo Status
Nov 1st, 2005 by Howard

tivoStatus is a Wordpress plugin that adds a function that allows you to include the status of your tivo (via Tivoweb/TivoWebPlus) easily on any wordpress template. Download (16K)
If you liked TivoStatus, you’ll love NowPlayingRSS!
Installation
- Put the plugin in your WordPress plugins folder
- chmod the tivo-cache directory to 755
- Activate it via the plugins page
- Add < ?php tivotatus($url, $username, $password); ?> to your templates where the status should appear
Example:
< ?php tivostatus("ip.ad.dr.ess/info", "username", "password"); ?>
Parameters:
Required:
-
$url – the URL of your tivoweb info page without the leading http:// or trailing slash
Optional:
-
$username – the username, if you have security on your tivoweb
-
$password – the password, if you have security on your tivoweb
Additional Notes
- by default the cache file expires after 10 minutes, you can alter this by changing the value in the wp-tivostatus.php file. (10 minutes is 600 seconds)
- There’s no error checking, so if your Tivo is offline, or authentication fails it’ll behave unpredictably!
- The parsing is very lazy, simply grabbing every tag that looks like it belongs and dumping them in a *known order*. If you’re using a different /info page in your Tivoweb, it’ll break. (I use LJ’s Tivoweb mods and it works for me.) It’s been tested with the stock TivoWebPlus too – if you find it doesn’t work please let me know. Thanks!
- Thanks to Garett for pointing out I was using alt incorrectly. Now using title and all is well.
[...] I have just nearly got my Tivo Status plugin working, with a lot of help from the author Howard. Its is currently connecting to my tivo but not displaying the returned data correctly, I am currently in the process of looking into this and hopefully it will be fixed shortly. [...]
[...] [...]
[...] [...]
Very cool plugin, mine is in action at here.
I really like this plugin. I did however have to write a small script to force the cache to be updated via cron so my web page would load in a reasonable amount of time. I also enhanced the plugin to support a “todo” list which I find most useful. I would like to possibly further extend this plugin and was curious if you were open to that idea?
[...] What’s Playing Now? – Show either your Lost.fm or iTunes playlists or your TiVo’s Status. [...]