PDA

View Full Version : New channel logos


Pages : 1 2 3 4 5 [6]

TCM2007
01-16-2012, 04:24 AM
When issuing those commands you need to be "in" the relevant directory where the command files are.

type

cd /var/hack

into your telnet session, and try again.

SolidTechie
01-16-2012, 10:15 AM
And also:

Because this is what i get when i telnet
"chmod:loadlogos.tcl"no such file or directory
"chmod:deletelogos.tcl"no such file or directory


If that is what you are actually seeing on the screen then you have issued the commands incorrectly - as Stuart previously advised, the commands to type are as follows:

chmod +x loadlogos.tcl deletelogos.tcl

You can do it separately if you prefer:

chmod +x deletelogos.tcl
chmod +x loadlogos.tcl

cahir982
01-16-2012, 11:51 AM
:confused:Thank you every body for your help in trying to solve this "should i call it a slight problem :rolleyes:" Right then TCM did as you said, i telnet and type in, cd /var/hack press enter and get
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]#
then i put,chmod +x loadlogos.tcl deletelogos.tcl
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]#
i then type in ./loadlogos.tcl ./logos
Then this happens
initialising logo list
initialising channel list
[TiVo [p0] ~]# cd /var/hack
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]# chmod +x loadlogos.tcl
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]# ./loadlogos.tcl ./logos
Initialising logo list
Initialising channel list
Processing ./logos/5-USA-Channel-logo-for-TV-Guide-88x65-[1].png
Error: Invalid file format 5-usa-channel-logo-for-tv-guide-88x65-[1].png
Processing ./logos/5star-Channel-logo-for-TV-Guide-88x65-[1].png
Error: Invalid file format 5star-channel-logo-for-tv-guide-88x65-[1].png
Processing ./logos/5star1-Channel-logo-for-TV-Guide--88x65-[1].png
Error: Invalid file format 5star1-channel-logo-for-tv-guide--88x65-[1].png
Processing ./logos/5USA1Channel-logo-for-TV-Guide--88x65-[1].png
Error: Invalid file format 5usa1channel-logo-for-tv-guide--88x65-[1].png
Processing ./logos/BBC1HD-S1-P1.png
Error: Invalid file format bbc1hd-s1-p1.png
Processing ./logos/BBC1HD-S2-P2.png
Error: Invalid file format bbc1hd-s2-p2.png
Processing ./logos/BBC1NI-s1-p1.png
Error: Filename suffix '-s1-p1' does not match detected type '2'bbc1ni-s1-p1.png
Processing ./logos/BBC1NI-s2-p2.png
Detected Type 2 Palette/Size Format fro bbc1ni-s2-p2.png
Overwriting Existing Image for bbc1ni-s2-p2.png
Successfully Imported Image bbc1ni-s2-p2.png
can't open object (errDbNotFound)

while executing
"db $db open "/LogoGroup/$lspace:$type:$type""
("uplevel" body line 11)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set img [db $db openid $imgfsid]
set name [dbobj $img get Name]
if {[regsub -- {-s1-p1$} $name {} name] == 1} {
s..."
(procedure "addLogoIndex" line 6)
invoked from within
"addLogoIndex $imgfsid $index"
(procedure "show_import" line 177)
invoked from within
"show_import $file"
("foreach" body line 3)
invoked from within
"foreach file $filelist {
puts "Processing $file"
show_import $file
}"
(file "./loadlogos.tcl" line 585)
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]#


and these all came back, can any body help:confused:

AMc
01-17-2012, 05:56 AM
The scripts themselves look to be working. Looks to me like your logos may be corrupted either by extraction or by FTP- I would download them again and FTP ensuring you use BINARY for the logo .png themselves.

cahir982
01-17-2012, 07:45 AM
can you please explain how to put them in binary mode i can't find the anwser anywhere :confused:

Cainam
01-17-2012, 08:57 AM
What tool are you using to FTP the file onto Tivo?

Personally I use FileZilla. Once started, I can go to the menu option Transfer-Transfer Type, and choose Binary.

If you are using the FTP built into windows, then just type "bin" once you have connected to the Tivo.

cahir982
01-17-2012, 11:06 AM
i tried what you said about when i connect to tivo to type bin but i got the excact same return so i download the FileZilla and i am gonna try that but can you give me some pointers you say "I can go to the menu option Transfer-Transfer Type, and choose Binary" where is the menu option in FileZilla cause i went through all "at top of page, file.edit,view, ECT, and found nothing can you explain how to set up this FileZilla Thanks in advance :o

Cainam
01-17-2012, 05:18 PM
The Filezilla website has some screenshots e.g. here (http://filezilla-project.org/images/screenshots/fz3_win_main.png).

As you can see, the Transfer menu option is the 4th one along the top, after File, Edit and View.

cahir982
01-18-2012, 04:14 AM
i just done what you said with the FileZilla and transfared them in binary mode and this is what i get back, "[TiVo [p0] ~]# cd /var/hack
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]# chmod +x loadlogos.tcl deletelogos.tcl
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]# ./loadlogos.tcl ./logos
Initialising logo list
Initialising channel list
Processing ./logos/5-USA-Channel-logo-for-TV-Guide-88x65-[1].png
Error: Invalid file format 5-usa-channel-logo-for-tv-guide-88x65-[1].png
Processing ./logos/5star-Channel-logo-for-TV-Guide-88x65-[1].png
Error: Invalid file format 5star-channel-logo-for-tv-guide-88x65-[1].png
Processing ./logos/5star1-Channel-logo-for-TV-Guide--88x65-[1].png
Error: Invalid file format 5star1-channel-logo-for-tv-guide--88x65-[1].png
Processing ./logos/5USA1Channel-logo-for-TV-Guide--88x65-[1].png
Error: Invalid file format 5usa1channel-logo-for-tv-guide--88x65-[1].png
Processing ./logos/BBC1HD-S1-P1.png
Error: Invalid file format bbc1hd-s1-p1.png
Processing ./logos/BBC1HD-S2-P2.png
Error: Invalid file format bbc1hd-s2-p2.png
Processing ./logos/BBC1NI-s1-p1.png
Error: Filename suffix '-s1-p1' does not match detected type '2'bbc1ni-s1-p1.png
Processing ./logos/BBC1NI-s2-p2.png
Detected Type 2 Palette/Size Format fro bbc1ni-s2-p2.png
Overwriting Existing Image for bbc1ni-s2-p2.png
Successfully Imported Image bbc1ni-s2-p2.png
can't open object (errDbNotFound)

while executing
"db $db open "/LogoGroup/$lspace:$type:$type""
("uplevel" body line 11)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set img [db $db openid $imgfsid]
set name [dbobj $img get Name]
if {[regsub -- {-s1-p1$} $name {} name] == 1} {
s..."
(procedure "addLogoIndex" line 6)
invoked from within
"addLogoIndex $imgfsid $index"
(procedure "show_import" line 177)
invoked from within
"show_import $file"
("foreach" body line 3)
invoked from within
"foreach file $filelist {
puts "Processing $file"
show_import $file
}"
(file "./loadlogos.tcl" line 585)
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]# reboot


anymore help would be great

TCM2007
01-18-2012, 04:28 AM
I think the contents of the /logos directory include some duff files.

The Channel 5 ones have bad file names (the script requires a particular naming format, and they don't use it)

The BBC1 NI appears to be corrupt.

And my guess is the script falls over because something is seriously wrong with whatever comes after BBC1NI-s2-p2.png

Where did you get the logos?

Can you post a list of the files in the /logos directory?

cahir982
01-18-2012, 07:24 AM
i got the logos on site but i cant find them again i've put them on tivoweb in the Now Showing and they look great, Here is the file with all logos that i use and thanks again for all your help i have had to devide up the logos into 3 differend winzip packs

Cainam
01-18-2012, 10:49 AM
Definitely some duff file names in there.

1) Delete all the logos from your logos sub-folder
2) Download the logos from here (http://www.hywel.org.uk/tivo/logos/), extract to your PC, and use FTP to populate the logos sub-folder
3) Run the script again

Assuming that works there are extra files we can add to that set (e.g. the ones from November fox, and my own CBS ones), but that is a basic set that is known to work

cahir982
01-19-2012, 07:31 AM
Thanks Cainam did excatly as you said downloaded the logos onto my pc took out the logos i use and FTP them over but all i'm getting back is
[TiVo [p0] ~]# cd /var/hack
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]# chmod +x loadlogos.tcl deletelogos.tcl
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]# ./loadlogos.tcl ./logos
Initialising logo list
Initialising channel list
Processing ./logos/BBC1NI-s2-p2.png
Detected Type 2 Palette/Size Format fro bbc1ni-s2-p2.png
Overwriting Existing Image for bbc1ni-s2-p2.png
Successfully Imported Image bbc1ni-s2-p2.png
can't open object (errDbNotFound)

while executing
"db $db open "/LogoGroup/$lspace:$type:$type""
("uplevel" body line 11)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set img [db $db openid $imgfsid]
set name [dbobj $img get Name]
if {[regsub -- {-s1-p1$} $name {} name] == 1} {
s..."
(procedure "addLogoIndex" line 6)
invoked from within
"addLogoIndex $imgfsid $index"
(procedure "show_import" line 177)
invoked from within
"show_import $file"
("foreach" body line 3)
invoked from within
"foreach file $filelist {
puts "Processing $file"
show_import $file
}"
(file "./loadlogos.tcl" line 585)
[TiVo [p0] /var/hack]#
[TiVo [p0] /var/hack]# reboot

i must be doing something wrong
is there no body who can help i have got them all on my PC's now playing page and they look great, but how do you get them onto the TV now playing list

mrtickle
12-22-2012, 03:00 PM
Here are some more TiVo logos that I have created. These channels are included along with identical +1 copies where there are +1 channels.

4Seven
Challenge (new design)
Comedy Central (new design)
Comedy Central Extra (new design)
Fiver (5 star logo)
5USA (new design)
PBS UK
Pick TV
Seven
Sony Entertainment
Sony Movies (with alternative version - neither are brilliant)
TCM2
Universal Channel
New "shiny" logo designs for the non-premium Sky channels: Sky 1, Sky 2, Sky Atlantic, Sky Living, Sky Living It, Sky News, Sky Sports News, Sky Arts 1, Sky Arts 2.

As always, the resolution/palette is the real restriction, but I think they are reasonable.

Enjoy, and Merry Xmas all!