TiVo Community Forum banner

Channel Logo Range ?

860 Views 0 Replies 1 Participant Last post by  clam729
Hey all. I started poking around my TiVo looking for a quick way to download all of the channel logos (for a project I am working on). Using this PHP code:
PHP:
<?php
set_time_limit(0);
for ($i = 65000;$i < 66000;$i++) {
	$imageData = implode('', file('http://xx.xx.xx.xx/ChannelLogo/logo-' . $i . '.png'));
	$length = strlen($imageData);

	if ($length > 0) {
		if (($fh = fopen('channels/logo-' . $i . '.png', 'w'))) {
			fwrite($fh, $imageData);
		}
	}
}
?>
I was able to download the PNGs pretty quickly. I'm pretty sure I am missing more logos.

Does anyone know the complete range of numbers for the logos ? or how one would go about determining it ?

Thanks.
1 - 1 of 1 Posts
1 - 1 of 1 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top