View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 22 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Apr 15, 2004 10:45 pm 
Offline
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
I was missing channel icons so I erase my channels directory, hoping that would trigger tv_grab_na to redownload all the logos. No dice. I ran it again and it just got listings, no logos... :S

Does anyone know how to force the channel icon downloads?

Thanks,

-Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 16, 2004 11:11 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
DON'T TRY AND FORCE ANYTHING TO DOWNLOAD FROM ZAP2IT.
Some channels have icons, some doesn't. If you look in /home/mythtv/.mythtv/channels you'll see the icons. So the way to do it would be to find an icon for the channel and put it in the above directory. This info also need to be put in the channel table of the database.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 17, 2004 11:40 pm 
Offline
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
Right you are Cesman. I am a bit mystified though, I was certain I'd seen the TECHTV and a few other logos on the web site, but I surfed a number of US listings, and not surprisingly, Zap2It is missing tech TV.

If someone had it from a time it was available, could they post it? I wouldn't mind putting together a logo bundle for people on my island as I had to create scripts to compile our listings anyway so they have to install that package to get things going...

-Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 31, 2004 5:44 pm 
Offline
Joined: Sun Feb 15, 2004 4:53 pm
Posts: 56
Location: Niagara Area, Canada
Just thought I'd pass this along...looks like zap2it has to worry about legal issues regarding distributing the icons.

http://bb.labs.zap2it.com/viewtopic.php ... icon+icons


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 31, 2004 10:59 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
There's a recent message on the Myth user mailing list archive at gossamer threads which includes a pointer to a site with almost every network logo you could want. The only issue I could see is that they're "too big" compared to the icons from zap2it. http://www.gossamer-threads.com/lists/mythtv/users/69710 and they need to be resized, although maybe that happens automatically...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2004 3:23 pm 
Offline
Joined: Sat Feb 28, 2004 9:30 am
Posts: 69
Location: Michigan
So once we download these icons how do we get them to display!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2004 4:26 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Assuming that the icon you downloaded is called "MISSING_ICON.jpg" and the station callsign is "MATCHING_STATION":

1) Move or copy the icon into /home/mythtv/.mythtv/channels.
Code:
mv MISSING_ICON.jpg /home/mythtv/.mythtv/channels

2) Update the channels table in your db either with webmin or the mysql program and set the icons column for the appropriate record to the full path for that icon.
Code:
mysql -u mythtv --password=mythtv mythconverg <<EOF
update channel set icon='/home/mythtv/.mythtv/channels/MISSING_ICON.jpg' where callsign='MATCHING_STATION';
EOF

This may be easier to do in webmin if you have that running.

----
NB - I've edited the examples above to protect people from my sloppyness!


Last edited by tjc on Tue Jun 01, 2004 11:03 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2004 5:09 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
From 0.15 on, the mythtv user password to access the db is mythtv.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2004 9:51 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Yeah, I did this as root last time with no password... I was trying to minimize the assumptions... Sigh... So in case it wasn't clear, make that second chunk-o-shell-script-and-SQL
Code:
mysql -u mythtv --password=mythtv mythconverg <<EOF
update channel set icon='/home/mythtv/.mythtv/channels/MISSING_ICON.jpg' where callsign='MATCHING_STATION';
EOF

Remember, directly hacking the DB like this is for consenting adults only, and you should always be very sure that you know what you're doing and have a current back up.

Edited to fix bad path...


Last edited by tjc on Tue Jun 01, 2004 10:58 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2004 10:36 pm 
Offline
Joined: Sun Feb 15, 2004 4:53 pm
Posts: 56
Location: Niagara Area, Canada
Thanks guys, my guide looks great now!


Quote:
update channel set icon='/home/mythtv/.xmltv/channels/MISSING_ICON.jpg' where


I'm not sure how relevent this is, but my 'channels' directory fell under .mythtv as opposed to .xmltv. I'm not sure if it matters any.

Also, I dl'ed the icons straight from zap2it's listing page, and the names of the icons didn't match the callsign, so I just entered the path into each record using webmin...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2004 11:00 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I'm an idiot, the example was stale. Bad password as cessman pointed out and bad path as you noted. I'll fix them to protect more naive users...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 02, 2004 2:48 am 
Offline
Joined: Sat Feb 28, 2004 9:30 am
Posts: 69
Location: Michigan
Well I put all the .jpgs in /home/mythtv/.mythtv/channels via a Samba webshare, and Edited my database via Webmin and I get nothing. Do I have to restart the SQL server or somethin, because it doesnt even come up after a reboot. What did i do wrong?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 02, 2004 9:11 am 
Offline
Joined: Sun Feb 15, 2004 4:53 pm
Posts: 56
Location: Niagara Area, Canada
Quote:
Well I put all the .jpgs in /home/mythtv/.mythtv/channels via a Samba webshare, and Edited my database via Webmin and I get nothing. Do I have to restart the SQL server or somethin, because it doesnt even come up after a reboot. What did i do wrong?


I was thinking I had to restart sql, and I also rebooted to no avail, before realizing I was using the .xmltv instead of .mythtv directory. As soon as I entered a correct path (using webmin) I got results on my box without rebooting or restarting anything (execpt re-entering the program guide). So I think that it's fairly safe to rule the lack of a server restart out.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 02, 2004 9:59 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
It seems to re-fetch the info from the DB everytime it puts up the program guide. You shouldn't need to restart anything.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 02, 2004 2:01 pm 
Offline
Joined: Sat Feb 28, 2004 9:30 am
Posts: 69
Location: Michigan
I guess I just had to type in the full path in Webmin :oops:


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu