LinHES Forums http://forum.linhes.org/ |
|
Thumbnail Generator? http://forum.linhes.org/viewtopic.php?f=6&t=16674 |
Page 1 of 2 |
Author: | kmkittre [ Sat Sep 22, 2007 3:44 am ] |
Post subject: | Thumbnail Generator? |
What does this do? |
Author: | tjc [ Sat Sep 22, 2007 9:37 am ] |
Post subject: | |
Generate thumbnail (icon/preview sized) images from all of your videos for the menus. |
Author: | kmkittre [ Sat Sep 22, 2007 2:23 pm ] |
Post subject: | |
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? |
Author: | cecil [ Sun Sep 23, 2007 5:13 am ] |
Post subject: | |
Yes, it works. Just run the video manager afterwards. Depending on your setup, you may have to run it on your backend. |
Author: | kmkittre [ Sun Sep 23, 2007 1:38 pm ] |
Post subject: | |
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... |
Author: | kmkittre [ Sun Sep 23, 2007 2:17 pm ] |
Post subject: | |
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... |
Author: | cecil [ Sun Sep 23, 2007 2:20 pm ] |
Post subject: | |
Depending on how your network is setup. Code: /usr/local/bin/screenshooter.sh
|
Author: | kmkittre [ Sun Sep 23, 2007 2:30 pm ] |
Post subject: | |
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... |
Author: | Big boy stan [ Sat Oct 06, 2007 10:32 am ] |
Post subject: | |
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? |
Author: | AndySocial [ Sun Oct 07, 2007 10:59 am ] |
Post subject: | Path issues |
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. |
Author: | Kirk [ Sun Oct 07, 2007 7:23 pm ] |
Post subject: | |
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. |
Author: | Kirk [ Sun Oct 07, 2007 7:34 pm ] |
Post subject: | |
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. |
Author: | AndySocial [ Sun Oct 07, 2007 7:35 pm ] |
Post subject: | |
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. |
Author: | AndySocial [ Sun Oct 07, 2007 8:40 pm ] |
Post subject: | |
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! |
Author: | brianwc [ Mon Oct 08, 2007 9:22 am ] |
Post subject: | Also get nothing from thumbnail generator |
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? |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |