Author |
Message |
Too Many Secrets
|
Posted: Wed Nov 14, 2007 7:24 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
Human wrote: Too Many Secrets, try: Code: screenshooter.sh -v /myth/video/Movies_A-M/Duel.mpg -o -s 270 and let me know what it says/does. ah huh... I don't know what this means... did I miss a step? I just ran Video Manager and the above show up in videos with a folder. Code: Directory /home/mythtv/.mythtv/MythVideo does not exist, nowhere to put the screen shot! Have you configured MythVideo yet?
|
|
Top |
|
 |
Human
|
Posted: Wed Nov 14, 2007 7:30 pm |
|
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location:
Mechanicsburg, PA
|
Too Many Secrets wrote: Code: Directory /home/mythtv/.mythtv/MythVideo does not exist, nowhere to put the screen shot! Have you configured MythVideo yet?
This means that the directory that is configured for MythVideo screenshots doesn't exist. TG currently assumes the FE and BE are on the same machine. If not, you need to do some edits to how it's invoked. If this describes your situation, add this to the command I sent before: Code: -b your_backend_hostname -u your_mysql_username -p your_mysql_password
Sarah Hayes worked on the code for handling split FE/BE setups, but I don't know if she finished it or not.
_________________ KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Wed Nov 14, 2007 7:39 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
Human wrote: Too Many Secrets wrote: Code: Directory /home/mythtv/.mythtv/MythVideo does not exist, nowhere to put the screen shot! Have you configured MythVideo yet?
This means that the directory that is configured for MythVideo screenshots doesn't exist. TG currently assumes the FE and BE are on the same machine. If not, you need to do some edits to how it's invoked. If this describes your situation, add this to the command I sent before: Code: -b your_backend_hostname -u your_mysql_username -p your_mysql_password Sarah Hayes worked on the code for handling split FE/BE setups, but I don't know if she finished it or not.
Ran the extra code and got the same results. This is my MBE, but the /myth directory is shared by my SFE. (I'd bet my setup is causing the problem.)
|
|
Top |
|
 |
Human
|
Posted: Wed Nov 14, 2007 7:43 pm |
|
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location:
Mechanicsburg, PA
|
Too Many Secrets wrote: (I'd bet my setup is causing the problem.)
There ought to be a way to make it work, but it seems that if you wanted thumbnails for now, you'd need to run Code: shootscreens.sh 0 in the shell on your MBE, assuming your MBE is set up with valid directories for MythVideo screenshots/thumbnails.
_________________ KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!
|
|
Top |
|
 |
bigbro
|
Posted: Wed Nov 14, 2007 7:58 pm |
|
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location:
Kitsap Peninsula, Wa., United States
|
Following your discussion here as I am interested as well.
I have an MBE/FE and 2 SBE/FE although only one SBE/FE is used most times.
When I dug down into the directory structure looking for the directory for the thumbnails here is what I found.
I am at current working directory of > /home/mythtv/.mythtv
Code: ls -al lrwxrwxrwx 1 mythtv mythtv 30 Sep 28 17:24 MythVideo -> /mnt/sbe/image_cache/MythVideo
I don't recognize where that symlink is connecting to, in that I don't remember creating it.
if you need any more details, I'll try to provide them.
|
|
Top |
|
 |
tjc
|
Posted: Wed Nov 14, 2007 8:48 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
It works, it's OK.
The thing I find less than ideal with most snapshot generators is the "one offset works for all" approach. I'd actually gone through with one of the earlier versions of this and generated snapshots with a variety of different offsets for different things. Mostly to find thumbnails that weren't 1) blank 2) utterly generic 3) or wth is that green blur? (BTW - It was a pan in an opening sequence.) Running it from the GUI lost all that on me because it's regenerates _everything_ instead of just stuff that doesn't already have a thumbnail associated. Not a big loss but ...
|
|
Top |
|
 |
chunter2
|
Posted: Wed Nov 14, 2007 9:46 pm |
|
Joined: Mon May 02, 2005 9:00 am
Posts: 172
|
Human wrote: Too Many Secrets, try: Code: screenshooter.sh -v /myth/video/Movies_A-M/Duel.mpg -o -s 270 and let me know what it says/does. I've been following this thread as well. I tried the above and got the following. Code: Directory /home/knoppix/.mythtv/MythVideo does not exist, nowhere to put the screen shot!
I'm not sure why it's got knoppix in there. I checked /home/mythtv/.mythtv and there's no MythVideo directory. I'm wondering if this is an issue with boxes that have been upgraded for a while. I believe mine has been upgraded from R5C7. My configuration is one MBE/FE and one SFE. I set up another box for a friend and it's working fine. I think that one started at R5E50.
|
|
Top |
|
 |
Human
|
Posted: Thu Nov 15, 2007 10:35 am |
|
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location:
Mechanicsburg, PA
|
tjc wrote: Running it from the GUI lost all that on me because it's regenerates _everything_ instead of just stuff that doesn't already have a thumbnail associated.
The code only generate screenshots for videos that have "No Cover" as their coverfile in MySQL, so I'm not sure how or why you'd see all the screenshots redone... I mean, if it redid all the screenshots each time it was run, this would be rather inefficient 
_________________ KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!
|
|
Top |
|
 |
chunter2
|
Posted: Thu Nov 15, 2007 1:57 pm |
|
Joined: Mon May 02, 2005 9:00 am
Posts: 172
|
chunter2 wrote: I'm not sure why it's got knoppix in there. I checked /home/mythtv/.mythtv and there's no MythVideo directory. I'm wondering if this is an issue with boxes that have been upgraded for a while. I believe mine has been upgraded from R5C7. My configuration is one MBE/FE and one SFE. I set up another box for a friend and it's working fine. I think that one started at R5E50.
I figured out my problem. The following line in screenshooter.sh was returning the wrong path.
Code: mysql -u $DBUSERNAME --password=$DBPASSWORD -h $BACKEND_HOSTNAME mythconverg -sNBe "select data from settings where value='VideoArtworkDir' limit 1" I tried the following and got multiple paths and hostnames. Code: mysql -u mythtv --password=mythtv -h mythtv mythconverg -sNBe "select * from settings where value='VideoArtworkDir'" The first one was a SFE that I had played with a while ago and currently don't use. The correct path should be the following and should be first in the list. Code: /myth/video/.covers I removed that line from the database with the following command and now everything works. Make sure you change mythfe1 to the hostname of the one you want to remove. Code: mysql -u mythtv --password=mythtv -h mythtv mythconverg -sNBe "delete from settings where hostname='mythfe1'"
Hope this helps.
|
|
Top |
|
 |
mythedoff
|
Posted: Mon Nov 19, 2007 10:54 am |
|
Joined: Mon Jul 31, 2006 10:41 pm
Posts: 149
|
stevetv wrote: for some reason i thought it was around before F27? .. anyway.. i like it... for my home movies its great. and its also great for tv eps that ive downloaded, as the imdb doesnt have tv eps.. and there isnt a script to use the tvdb. thanks for creating it.  ..
IMDB does have tv episodes.
|
|
Top |
|
 |
s1148625
|
Posted: Wed Dec 05, 2007 9:01 pm |
|
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location:
West Lafayette, IN
|
I love the idea of the thumbnail generator - problem is, the thumbnails only look right in the gallery view. In both list view and browse view, they're about half as wide as they should be, and thus are horribly squished and hard to look at. Is there any way to change this?
_________________ Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun
|
|
Top |
|
 |
Human
|
Posted: Sun Dec 09, 2007 6:50 pm |
|
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location:
Mechanicsburg, PA
|
s1148625 wrote: I love the idea of the thumbnail generator - problem is, the thumbnails only look right in the gallery view. In both list view and browse view, they're about half as wide as they should be, and thus are horribly squished and hard to look at. Is there any way to change this?
I don't know offhand. As far as I recall, there wasn't a way to tell MythTV to honor the aspect ratio of the thumbnail, but I could be wrong. Maybe we can hope for some improvements in 0.21.
_________________ KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!
|
|
Top |
|
 |
Brimrand
|
Posted: Sat Jan 19, 2008 7:48 pm |
|
Joined: Fri Jul 21, 2006 9:29 pm
Posts: 19
|
Yes, I use it and think it's great. It would be better if it was integrated into the video manager but I understand. Thanks for putting it in.
|
|
Top |
|
 |
Human
|
Posted: Mon Jan 21, 2008 11:16 am |
|
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location:
Mechanicsburg, PA
|
Brimrand wrote: Yes, I use it and think it's great. It would be better if it was integrated into the video manager but I understand. Thanks for putting it in.
You're quite welcome! Yeah, the ideal would be something like a "command to run after Video Manager" option somewhere. I was thinking that maybe the MythTV menu syntax would allow for such a thing, but it looks like the <action> section only allows one type of command, so no chaining commands together, unless you're doing a big shell command.
http://www.mythtv.org/wiki/index.php/Me ... B:_Actions
_________________ KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!
|
|
Top |
|
 |