LinHES Forums http://forum.linhes.org/ |
|
How do you force channel icons to download? http://forum.linhes.org/viewtopic.php?f=11&t=1216 |
Page 1 of 2 |
Author: | jac1d [ Thu Apr 15, 2004 10:45 pm ] |
Post subject: | How do you force channel icons to download? |
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 |
Author: | cesman [ Fri Apr 16, 2004 11:11 am ] |
Post subject: | |
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. |
Author: | jac1d [ Sat Apr 17, 2004 11:40 pm ] |
Post subject: | |
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 |
Author: | Sean [ Mon May 31, 2004 5:44 pm ] |
Post subject: | |
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 |
Author: | tjc [ Mon May 31, 2004 10:59 pm ] |
Post subject: | |
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... |
Author: | demon4870 [ Tue Jun 01, 2004 3:23 pm ] |
Post subject: | |
So once we download these icons how do we get them to display! |
Author: | tjc [ Tue Jun 01, 2004 4:26 pm ] |
Post subject: | |
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! |
Author: | cesman [ Tue Jun 01, 2004 5:09 pm ] |
Post subject: | |
From 0.15 on, the mythtv user password to access the db is mythtv. |
Author: | tjc [ Tue Jun 01, 2004 9:51 pm ] |
Post subject: | |
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... |
Author: | Sean [ Tue Jun 01, 2004 10:36 pm ] |
Post subject: | |
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... |
Author: | tjc [ Tue Jun 01, 2004 11:00 pm ] |
Post subject: | |
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... |
Author: | demon4870 [ Wed Jun 02, 2004 2:48 am ] |
Post subject: | |
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? |
Author: | Sean [ Wed Jun 02, 2004 9:11 am ] |
Post subject: | |
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. |
Author: | tjc [ Wed Jun 02, 2004 9:59 am ] |
Post subject: | |
It seems to re-fetch the info from the DB everytime it puts up the program guide. You shouldn't need to restart anything. |
Author: | demon4870 [ Wed Jun 02, 2004 2:01 pm ] |
Post subject: | |
I guess I just had to type in the full path in Webmin ![]() |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |