Author |
Message |
bigB
|
Posted: Wed Nov 12, 2008 6:41 pm |
|
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location:
Brisbane, Australia
|
Hi Gibble,
Who would have thought the Directors name would have a quote in it!!! Easily fixed.
I tried to fix oceans 13, I'll check it again. Also, I'll check the others you listed.
BigB.
|
|
Top |
|
|
UniCav
|
Posted: Wed Nov 12, 2008 6:49 pm |
|
Joined: Tue Oct 28, 2008 12:18 pm
Posts: 60
|
I worked up a couple of init scripts for mythfrontend and miro so it's possible to start/stop/restart them from cron or ssh and still have the program come up in your X session. I'm planning to use them to tie mythvideo-scanner to my miro2myth script. Restarting the frontend not only does some cleanup but gets a fresh image cache which you need if you use the --getposter switch. If anyone wants a copy just let me know and I'll put a copy on my server.
|
|
Top |
|
|
bigB
|
Posted: Wed Nov 12, 2008 8:08 pm |
|
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location:
Brisbane, Australia
|
|
Top |
|
|
steeve
|
Posted: Wed Nov 26, 2008 8:53 pm |
|
Joined: Thu Jan 13, 2005 9:55 am
Posts: 135
Location:
Decatur, Ga., USA
|
bigB wrote: Hi Gibble,
Who would have thought the Directors name would have a quote in it!!! Easily fixed.
I tried to fix oceans 13, I'll check it again. Also, I'll check the others you listed.
BigB.
Hi folks,
I've been trying BigB's script and it works very well. One niggle: it errors when the director's name has an apostrophe in it, like "Michael O'Herlihy". The error is :
Updating DB entry
DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Herlihy',year = '1967',length = '60' WHERE filename = '/myth/video/video/TV/Star' at line 1 at ./mythvideo-scanner.pl line 1142.
I'm sure there will be other directors of the Irish persuasion... so is it possible there's a fix?
Thanks again, BigB!
-sTv
_________________ R7.3 Backend CPU: 1.8 GHz RAM: 2Gb Drives: 500Gb IDE; IDE DVD-RW Mobo: eMachines Tuners (Analog): PVR-250 Tuners (Digital): DCT-6200 Motorola Cable Box, HDHomeRun (OTA + cable)
|
|
Top |
|
|
bigB
|
Posted: Wed Nov 26, 2008 9:10 pm |
|
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location:
Brisbane, Australia
|
Check out Rev 16 of the script here
I have fixed the quote issue with directors names, and an issue with directories that the user does not have read permissions.
Enjoy
|
|
Top |
|
|
quetzal
|
Posted: Thu Nov 27, 2008 10:46 am |
|
Joined: Thu Nov 27, 2008 9:32 am
Posts: 1
|
Hi all,
I'm getting this error when trying to execute mythvideo-scanner.pl:
Code: Undefined subroutine &MythTV::query called at ./mythvideo-scanner.pl line 103.
I had to edit the script so it does not point to modules::MythTV but just MythTV instead.
I had a look to the MythTV.pm and there's clearly nothing regarding to a "query" subroutine. So, which MythTV.pm are you using?
regards,
|
|
Top |
|
|
bigB
|
Posted: Thu Nov 27, 2008 4:32 pm |
|
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location:
Brisbane, Australia
|
The release tar file includes the module you are referring to. or you can get it from svn here look in the trunk branch.
|
|
Top |
|
|
Gibble
|
Posted: Wed Dec 03, 2008 5:46 pm |
|
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location:
Canada
|
bigB wrote: Hi Gibble, Those titles worked fine for me, all i can think of is to update your version of the imdb.pl script that comes with mythtv. http://svn.mythtv.org/trac/export/19076/trunk/mythplugins/mythvideo/mythvideo/scripts/imdb.plIt should live in /usr/share/mythtv/mythvideo/script/imdb.pl I hope this helps. BigB.
Upgraded and now I get
Can't locate MythTV/MythVideoCommon.pm in @INC (@INC contains: /usr/share/mythtv/mythvideo/scripts /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/mythtv/mythvideo/scripts/imdb.pl line 29.
_________________ "The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me
KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb
|
|
Top |
|
|
bigB
|
Posted: Wed Dec 03, 2008 5:59 pm |
|
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location:
Brisbane, Australia
|
Hi Gibble,
You will also need to get the custom modules for imdb.pl here
Namely "MythTV/MythVideoCommon.pm"
BigB.
|
|
Top |
|
|
Girkers
|
Posted: Thu Dec 04, 2008 7:31 am |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
I have got the latest version of the script (1.6) and it is a wonderful program, but I too am getting the MythVideoCommon.pm fault. So being the good student that I am I went and downloaded it as per bigB's instructions, thing is it still won't work. I have put it into every conceivable directory that is listed in the @INC statement but it makes no difference.
Now through my friend google I was able to resolve the previous problem by putting the required file in a subdirectory called MythTV in where the imdb.pl script lives. But this has presented a new problem:
Code: Unquoted string "title" may clash with future reserved word at /usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 10. Unquoted string "ythplugins" may clash with future reserved word at /usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 11. Unquoted string "mythvideo" may clash with future reserved word at /usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 11. Unquoted string "mythvideo" may clash with future reserved word at /usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 11. Unquoted string "scripts" may clash with future reserved word at /usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 11. Unquoted string "pm" may clash with future reserved word at /usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 11. Unrecognized character \xE2 in column 80 at /usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 11. Compilation failed in require at /usr/share/mythtv/mythvideo/scripts/imdb.pl line 29. BEGIN failed--compilation aborted at /usr/share/mythtv/mythvideo/scripts/imdb.pl line 29. Imdb lookup failed. Lets perform a google spell check...
Thanks for a great script bigB, I know that this problem now is related to imdb.pl but my mates over at google have come up empty this time. I have the version of imdb.pl dated Oct 9 inside the file it says it is version 1.3.5
Thanks and looking forward to seeing this script work, cheers.
_________________ Girkers
|
|
Top |
|
|
bigB
|
Posted: Thu Dec 04, 2008 5:59 pm |
|
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location:
Brisbane, Australia
|
Girkers you appear to have grabbed the html version of the script.
Try this one.
|
|
Top |
|
|
tophee
|
Posted: Fri Dec 05, 2008 1:19 pm |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Hi bigB,
I'm trying to get your script working, but I am yet to be unsuccessful. I've read through this thread, but I'm a little confused on exactly what I need to download and install and where - it seems to be getting more complicated by the day.
Any pointers would be cool.
Thanks
Chris
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
UniCav
|
Posted: Fri Dec 05, 2008 7:16 pm |
|
Joined: Tue Oct 28, 2008 12:18 pm
Posts: 60
|
|
Top |
|
|
tophee
|
Posted: Sat Dec 06, 2008 3:58 am |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Thanks for that. I'd got most of the way there, but had only downloaded the script, not the whole .tar
Much appreciated.
Chris
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
Gibble
|
Posted: Sat Dec 06, 2008 9:47 am |
|
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location:
Canada
|
It's working much better, nearly flawless...still having some issues with a few tv shows, but not really a big deal, the movies that were named well all were caught.
_________________ "The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me
KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb
|
|
Top |
|
|