LinHES Forums
http://forum.linhes.org/

Mythvideo-scanner YET another imdb details grabber
http://forum.linhes.org/viewtopic.php?f=6&t=19082
Page 3 of 27

Author:  bigB [ Wed Nov 12, 2008 6:41 pm ]
Post subject: 

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.

Author:  UniCav [ Wed Nov 12, 2008 6:49 pm ]
Post subject: 

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.

Author:  bigB [ Wed Nov 12, 2008 8:08 pm ]
Post subject: 

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.pl

It should live in /usr/share/mythtv/mythvideo/script/imdb.pl

I hope this helps.

BigB.

Author:  steeve [ Wed Nov 26, 2008 8:53 pm ]
Post subject: 

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...:wink: so is it possible there's a fix?

Thanks again, BigB!

-sTv

Author:  bigB [ Wed Nov 26, 2008 9:10 pm ]
Post subject: 

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

Author:  quetzal [ Thu Nov 27, 2008 10:46 am ]
Post subject:  Missing subroutine

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,

Author:  bigB [ Thu Nov 27, 2008 4:32 pm ]
Post subject: 

The release tar file includes the module you are referring to. or you can get it from svn here look in the trunk branch.

Author:  Gibble [ Wed Dec 03, 2008 5:46 pm ]
Post subject: 

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.pl

It 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.

Author:  bigB [ Wed Dec 03, 2008 5:59 pm ]
Post subject: 

Hi Gibble,

You will also need to get the custom modules for imdb.pl here

Namely "MythTV/MythVideoCommon.pm"

BigB.

Author:  Girkers [ Thu Dec 04, 2008 7:31 am ]
Post subject: 

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.

Author:  bigB [ Thu Dec 04, 2008 5:59 pm ]
Post subject: 

Girkers you appear to have grabbed the html version of the script.

Try this one.

Author:  tophee [ Fri Dec 05, 2008 1:19 pm ]
Post subject: 

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

Author:  UniCav [ Fri Dec 05, 2008 7:16 pm ]
Post subject: 

Tophee here's the quick howto:
Download the tar file
http://mythvideo-scanner.googlecode.com ... ner.1.5.gz

untar it into your home directory, make sure the mythvideo-scanner.pl script in it is executable and you're ready to use it. The perl module he created is in a subdirectory so it's accessible by the script.

On my system I put the directory in /usr/local/mythvideo-scanner and made it accessible by root:mythtv. Whenever B uploads a new version you just copy the script into that folder and it's ready to go.

The updated raw script is kept at
http://mythvideo-scanner.googlecode.com ... scanner.pl
The easy way to update it is
mv mythvideo-scanner.pl mythvideo-scanner.orig
wget http://mythvideo-scanner.googlecode.com ... scanner.pl
chmod 755 mythvideo-scanner.pl

DONE!
enjoy!

Author:  tophee [ Sat Dec 06, 2008 3:58 am ]
Post subject: 

Thanks for that. I'd got most of the way there, but had only downloaded the script, not the whole .tar

Much appreciated.
Chris

Author:  Gibble [ Sat Dec 06, 2008 9:47 am ]
Post subject: 

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.

Page 3 of 27 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/