
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:
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.
Recent Comments