View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 403 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6 ... 27  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Wed Nov 12, 2008 6:41 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Nov 12, 2008 6:49 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Nov 12, 2008 8:08 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 26, 2008 8:53 pm 
Offline
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...:wink: 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
 Profile  
 
 Post subject:
PostPosted: Wed Nov 26, 2008 9:10 pm 
Offline
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
 Profile  
 
 Post subject: Missing subroutine
PostPosted: Thu Nov 27, 2008 10:46 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Thu Nov 27, 2008 4:32 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Dec 03, 2008 5:46 pm 
Offline
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.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.

_________________
"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
 Profile  
 
 Post subject:
PostPosted: Wed Dec 03, 2008 5:59 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Thu Dec 04, 2008 7:31 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1392
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
 Profile  
 
 Post subject:
PostPosted: Thu Dec 04, 2008 5:59 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Fri Dec 05, 2008 1:19 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Fri Dec 05, 2008 7:16 pm 
Offline
Joined: Tue Oct 28, 2008 12:18 pm
Posts: 60
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!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 06, 2008 3:58 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sat Dec 06, 2008 9:47 am 
Offline
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
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 403 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6 ... 27  Next



All times are UTC - 6 hours




Who is online

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