View unanswered posts    View active topics

All times are UTC - 6 hours





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

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Thumbnail Generator?
PostPosted: Sat Sep 22, 2007 3:44 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
What does this do?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 9:37 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Generate thumbnail (icon/preview sized) images from all of your videos for the menus.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 2:23 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Does it work? I ran it on my frontend and it said "thumbnails successfully generated" or something like that. Where does it put the thumbnails? And shouldn't it update the database with a location of the thumbnail as a coverfile?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 23, 2007 5:13 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Yes, it works. Just run the video manager afterwards. Depending on your setup, you may have to run it on your backend.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 23, 2007 1:38 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Thanks for the information, cecil.

Quote:
Depending on your setup


Can you tell me what these dependencies are? Do I need to share a folder on my backend with my frontend, similar to posters?

Also, can I run the scripts from the command line? My backend is headless...

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 23, 2007 2:17 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Okay, I found the command line program. It is /usr/local/bin/shootscreens.sh

I run it and I get the following error: /share/Movies/dvd does not exist.
I'm guessing that this is what is setup in my backend as the poster directory? Is there any way to change this value without using the gui?

When I try and run the script on my frontend, I get a "expr: division by zero" error...

_________________
LinHES 8.3, 1 BE, 3 FE


Last edited by kmkittre on Sun Sep 23, 2007 2:23 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 23, 2007 2:20 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Depending on how your network is setup.
Code:
/usr/local/bin/screenshooter.sh


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 23, 2007 2:30 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Okay, weird. The application is running now and appears to be working. It is putting the posters in the right directory (/home/mythtv/.mythtv/MythVideo) however, for some reason it needed the directory /share/Movies/dvd to exist...

I still cannot run it from my frontend...

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 06, 2007 10:32 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
I am also having problems getting this to work. I tried running it from the script but get an error that /mnt/myth/video does not exist. I clearly have a /myth/video directory that has all my home movies in it.

When I try to run it from inside Mythtv, it takes about 20 seconds and then declares itself done but no thumbnails.

Any ideas?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject: Path issues
PostPosted: Sun Oct 07, 2007 10:59 am 
Offline
Joined: Sat Feb 04, 2006 12:19 pm
Posts: 17
Location: Texas
When I run the SQL command to select data from settings where value='VideoArtworkDir' I end up with the following:

data
/home/mythtv/.mythtv/MythVideo
/myth/video/.covers

When I run the SQL command with the value VideoStartupDir, I get:

data
/share/Movies/dvd
/myth/video

When I add covers via the IMDB lookup, they get placed in the /myth/video/.covers directory. How can we make it actually save the thumbnails to the .covers directory, without manually hacking the script? I could easily hardcode the /myth/video/.covers directory, but that seems inelegant.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 07, 2007 7:23 pm 
Offline
Joined: Mon Mar 13, 2006 2:28 am
Posts: 143
Location: Brisbane, Australia
Not sure if this is related, but after running knoppmyth_diskless_frontend.bash for my frontend the video location values where on odd places like those stated above. A quick change to Settings -> blah blah -> Video Settings -> General and modifying "Directory that holds videos" and "Directory that holds movie posters" fixed this for me. The previously downloaded covers now showed up fine. I'm presuming this would work with screenshooter.sh too.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 07, 2007 7:34 pm 
Offline
Joined: Mon Mar 13, 2006 2:28 am
Posts: 143
Location: Brisbane, Australia
Furthermore, the reason AndySocial is getting two different directories when running the mysql command is that the first line is the frontend location, and second line the backend location.

Run select * from settings where value='VideoStartupDir' and you'll see both hostnames, each with a different value.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 07, 2007 7:35 pm 
Offline
Joined: Sat Feb 04, 2006 12:19 pm
Posts: 17
Location: Texas
I have gone into the setup GUI and saved it several times, and the MySQL commands still get those "share/" entries. SO, I just hard-coded the actual paths, and it works just fine. Kind of a workaround, but it's not too tough.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 07, 2007 8:40 pm 
Offline
Joined: Sat Feb 04, 2006 12:19 pm
Posts: 17
Location: Texas
When I run the "select * from settings" command Kirk listed on my COMBINED frontend/backend machine, I get the following reply:

value data hostname
VideoStartupDir /share/Movies/dvd (none)
VideoStartupDir /myth/video/.covers mythtv

Strangely, the VideoArtworkDir is set to two places that actually EXIST on my machine, while the VideoStartupDir is set to one that exists and one that doesn't. And, I still see NO place in the GUI to change it other than where I have changed it. Should I feel confident that I can update the SQL directly and it would work?

I'm a bit SQL rusty, but my hardcoding hack is working for me so far. VIDEO_HOME=/myth/video and VIDEO_CAPTURE_HOME=/myth/video/.covers - tada!


Top
 Profile  
 
PostPosted: Mon Oct 08, 2007 9:22 am 
Offline
Joined: Sun May 01, 2005 12:05 pm
Posts: 37
Location: Emeryville, CA
I also get a "successful" statement when running the thumbnail generator, and then go to video manager, but cannot find any actual thumbnails.

I started trying to generate them because I would love to have the watch videos list be a LIST and not a grid of truncated names. Since I can't read the names without scrolling over them, and since I couldn't figure out how to make it list the videos as a list, I thought thumbnails might at least help alleviate the identification problem. Any thoughts on either of these issues?

_________________
3 pcHDTV cards & Winegard SS-2000 Square Shooter Antenna, ethernet over power on R7.


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 24 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