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

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

Author:  bigB [ Thu Apr 22, 2010 6:18 pm ]
Post subject: 

Looks like it needs that perl module installed. I'll try and remove that dependency. In the meantime, you could try and install that module.

DateTime::Format

bigB.

Author:  killabee444 [ Thu Apr 22, 2010 8:20 pm ]
Post subject: 

Ok, I installed several perl date:time modules but the same error remains. Is there a specific one in Synaptic I should be looking for?

Author:  bigB [ Thu Apr 22, 2010 8:28 pm ]
Post subject: 

Hi,

I think it might be this one;
libdatetime-format-strptime-perl

BigB.

Author:  killabee444 [ Thu Apr 22, 2010 10:44 pm ]
Post subject: 

I already had that one installed

Author:  jbman [ Fri Apr 23, 2010 7:30 am ]
Post subject: 

Just wanted to say thank you.

I have been running other updaters that are around the with mixed success. My Docco folder would always cause issues.

Just ran your scanner and it worked a treat picking up the odd titles.

Thanks again for such a robust program that really works on difficult titles.

Author:  bigB [ Sat Apr 24, 2010 4:58 pm ]
Post subject: 

Thanks jbman,

The key has always been to mimic how a human would interpret the filenames. Get the occasional one that requires prior knowledge like the movie "Open Season 2", but most of the time it is possible. I haven't modified the filename parser significantly for quite some time.

BigB.

Author:  killabee444 [ Sat Apr 24, 2010 7:33 pm ]
Post subject: 

bigB,

Mythvideo-scanner runs but stops at an AVI file that I have on my drive. This is what I get:

Code:
/var/lib/mythtv/videos/Stand Up Comedy/D.L. Hughley/D.L.Hughley.Unapologetic.avi
Found NFO file
 Found imdb ref: 1114667
Undefined subroutine &DateTime::Format::Strptime called at grabbers/imdb.pm line 214.


Any ideas? thnks.

Author:  bigB [ Sat Apr 24, 2010 7:39 pm ]
Post subject: 

Hi,

Something is wrong with the DateTime::Format module. Try installing it manually by running as root:
Code:
cpan DateTime::Format


I do plan on removing that dependency, just haven't had time.

BigB.

Author:  killabee444 [ Sun Apr 25, 2010 9:11 am ]
Post subject: 

Ok, I did it manually, but it seems to give me an error at the end with the part I needed:


Code:
........................................................DONE
Fetching with LWP:
  http://www.perl.org/CPAN/modules/03modlist.data.gz
Going to read /home/htpc1/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Going to write /home/htpc1/.cpan/Metadata
Warning: Cannot install DateTime::Format, don't know what it is.
Try the command

    i /DateTime::Format/

to find objects with matching identifiers.


Author:  bigB [ Mon Apr 26, 2010 6:12 pm ]
Post subject: 

Hi Killabee,

I have removed the dependence on that module, try the latest revision.

BigB.

Author:  killabee444 [ Mon Apr 26, 2010 9:59 pm ]
Post subject: 

Ok, now it stops without an error. It only scans a few files. Weird. Here is what I get:
Code:
htpc1@htpc1-desktop:~/mythvideo-scanner$ mythvideo-scanner.pl
Using settings for htpc1-desktop
Reading MythTV DB settings from: /usr/share/mythtv/mysql.txt
Mythvideo Database schema is 1028, suggests Mythtv version >=0.22
Images will be downloaded to:
 Covers:      '/var/lib/mythtv/coverart'
 ScreenShots: '/var/lib/mythtv/screenshots'
 Fanart:      '/var/lib/mythtv/fanart'
 Banners:     '/var/lib/mythtv/banners'
Seaching for these extensions: avi mpg mpeg mkv mpg avi vob mpeg VIDEO_TS iso img mkv mp4 m2ts evo divx mov qt wmv 3gp asf ogg ogm flv
Starting search in '/var/lib/mythtv/videos'

/var/lib/mythtv/videos/New Jack City/NEW_JACK_CITY.ISO
 Existing details are satisfactory.
 Use --update to override.

/var/lib/mythtv/videos/Stand Up Comedy/D.L. Hughley/D.L.Hughley.Unapologetic.avi
Found NFO file
 Found imdb ref: 1114667
Details ------------------------------
Title: D.L. Hughley: Unapologetic
 Prematch: /var/lib/mythtv/videos/Stand Up Comedy/D.L. Hughley/D.L.Hughley.Unapologetic
End ------------------------------
Grabber: Ttvdb, Version: 1.1, ttvdb.py: v1.0.2
 Not a TV show
 
------------------------------
Grabber: Tmdb, Version: 1.1, tmdb.pl: v0.1.1
 
------------------------------
Grabber: Imdb, Version: 2.0, Rev: 104
1114667:D.L. Hughley: Unapologetic

Author:  bigB [ Mon Apr 26, 2010 10:13 pm ]
Post subject: 

Hi,

Try it now.

BigB.

Author:  killabee444 [ Tue Apr 27, 2010 12:11 pm ]
Post subject: 

big B,

It works now. Thanks for all your hard work and dedication.

Author:  Too Many Secrets [ Sun May 16, 2010 10:20 pm ]
Post subject: 

After running the instructions on the OP, I get this

Code:
Can't locate Text/Levenshtein.pm in @INC (@INC contains: /usr/LH/tweaker/lib /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . . /usr/local/share/mythvideo-scanner/ /usr/share/mythvideo-scanner/) at ./mythvideo-scanner.pl line 62.
BEGIN failed--compilation aborted at ./mythvideo-scanner.pl line 62.


I'm thinking I borked it somewhere...

Author:  bigB [ Sun May 16, 2010 10:33 pm ]
Post subject: 

Hi,

You need to install the Text::Levenshtein perl module.

BigB.

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