View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Mar 06, 2011 3:56 am 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi All,

This continues on from the old thread.

I have updated mythvideo-scanner to support Mythtv 0.24, namely the new location and format of the grabber scripts. If you are running old mythtv and want to use the new script, put them in the location defined for mythtv 0.24 (i.e. in /usr/share/mythtv/metadata)

I have also fixed the IMDB grabber. Everything else is the same.

If you are a new comer, the release is available here.
INSTALL
Code:
 tar xzf mythvideo-scanner.3.1.tar.gz
 cd mythvideo-scanner
 make upgrade
 make PREFIX=/usr install

Keep the source as it eases the update process.
UPGRADE
Code:
 make upgrade
 make PREFIX=/usr install


BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2011 8:21 am 
Offline
Joined: Fri Oct 13, 2006 7:42 pm
Posts: 63
http://search.cpan.org/~jgoldberg/Text-Levenshtein-0.05/Levenshtein.pm

Link to download and install Text::Levenshtein

Testing it out now on my system - love your work dude!


Top
 Profile  
 
PostPosted: Sat Jul 09, 2011 7:55 pm 
Offline
Joined: Wed Jun 10, 2009 8:39 pm
Posts: 118
I have an old version of the script in /usr/local/src. I want to update to the latest version of the script. Can anyone tell me how I would do that? Do I need to uninstall anything or make new directories etc.

I am running R6.04
Thanks.

_________________
* Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 10, 2011 4:23 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
if you still have the source, you can go 'make update' followed by 'make install'. If you don't have the source, then you need to download it first then make update, make install.

You don't need to uninstall anything first.


Top
 Profile  
 
 Post subject: Scanner help
PostPosted: Sun Jul 10, 2011 5:29 pm 
Offline
Joined: Wed Jun 10, 2009 8:39 pm
Posts: 118
bigB wrote:
if you still have the source, you can go 'make update' followed by 'make install'. If you don't have the source, then you need to download it first then make update, make install.

You don't need to uninstall anything first.


Many thanks BigB. I tried the "make upgrade" command but I got the following error msg:
Quote:
svn: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory


My system is up to date via Pacman. I am on 6.4.

Also, I am not sure what you mean by source. I have one folder called mythvideo-scanner which contains 2 sub-folders: grabbers & modules as well as some files. Is this folder the source?

_________________
* Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 11, 2011 2:42 pm 
Offline
Joined: Sat May 12, 2007 2:41 am
Posts: 51
Location: Southern Germany
I "fixed" that by linking the desired libd to the one installed:
Code:
sudo ln -s /usr/lib/libdb-4.8.so /usr/lib/libdb-4.7.so

This worked for me. I have no idea if it breaks something, though...

Jens


Top
 Profile  
 
 Post subject: Script problem
PostPosted: Tue Jul 12, 2011 3:38 pm 
Offline
Joined: Wed Jun 10, 2009 8:39 pm
Posts: 118
heilig wrote:
I "fixed" that by linking the desired libd to the one installed:
Code:
sudo ln -s /usr/lib/libdb-4.8.so /usr/lib/libdb-4.7.so

This worked for me. I have no idea if it breaks something, though...

Jens


Thanks hellig.

_________________
* Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4


Top
 Profile  
 
PostPosted: Sat Jul 30, 2011 4:26 pm 
Offline
Joined: Wed Jun 10, 2009 8:39 pm
Posts: 118
I I have the script working and it is fantastic. The only problem I have is that I cannot get a specific path to work. I have to update, reparse or some other option for all the files in the DB.

I have installed mvs in its directory in /usr/share/mythtv/metadata. I am running R6.04

The files are contained on an NAS (nas-video) to which the combined FE/BE connects. The file structure of the FE/BE shows /nas-video in the root structure.

When MVS is running in the terminal it shows the script is using the path /myth/video/nas-video/folder1/subfolder/title.avi

If I cd to /usr/share/mythtv/metadata/mythvideo-scanner and then enter ./mythvideo-scanner.pl --update /myth/video/nas-video/folder/subfolder I get a message that specified scripts cannot be found. Incidentally it doesn't seem to make a difference whether I use ./ or not. I have also tried the path /nas-video/folder1/subfolder without success.

If I enter ./mythvideo-scanner.pl --update with no path the script runs with no problem.

I must be doing something wrong with the path variable but I cannot work out what.

_________________
* Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2011 4:26 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

Can you paste the output of "mythvideo-scanner.pl --status", and the output of ONE of your failing attempts please.

NOTES:
--update is to update all existing entries in the database not just the new ones.

BigB.


Top
 Profile  
 
 Post subject: Path problems
PostPosted: Sun Jul 31, 2011 4:52 pm 
Offline
Joined: Wed Jun 10, 2009 8:39 pm
Posts: 118
bigB wrote:
Hi,

Can you paste the output of "mythvideo-scanner.pl --status", and the output of ONE of your failing attempts please.

NOTES:
--update is to update all existing entries in the database not just the new ones.

BigB.


BigB, output of mythvideo-scanner.pl --status:

Code:
[mythtv@myhtpc mythvideo-scanner]$ mythvideo-scanner.pl --status
ttvdb_old.pm: Can't find script "ttvdb.py"
tmdb_old.pm: Can't find script "tmdb.pl"
mythvideo-scanner
http://code.google.com/p/mythvideo-scanner/
Version: 3.1, Rev: 142

Grabber: Ttvdb, Version: 2.1, ttvdb.py: 1.12
Grabber: Tmdb, Version: 2.1, tmdb.py: 0.21
Grabber: Imdb, Version: 2.0, Rev: 140
Grabber: Tvrage, Version: 1.1, Rev: 128
Grabber: Cinecurry, Version: 1.0, Rev: 140
[mythtv@myhtpc mythvideo-scanner]$


One failed attempt:
Code:
[mythtv@myhtpc mythvideo-scanner]$ ./mythvideo-scanner.pl --dryrun /myth/video/nas-video/Adult TV Shows/30 Rock
ttvdb_old.pm: Can't find script "ttvdb.py"
tmdb_old.pm: Can't find script "tmdb.pl"
Using settings for myhtpc
Reading MythTV DB settings from: /usr/share/mythtv/mysql.txt
Mythvideo Database schema is 1038, suggests Mythtv version >=0.22
Images will be downloaded to:
 Covers:      '/myth/video/.covers'
 ScreenShots: '/myth/video_stuff/screenshots'
 Fanart:      '/myth/video_stuff/fanart'
 Banners:     '/myth/video_stuff/banners'
Seaching for these extensions: avi mpg mpeg mkv mp2 tp ts m2p nuv mkv ogg theora ogv avi nut mxf m4v rm swf f4v
Starting search in '/myth/video/nas-video/Adult'
[mythtv@myhtpc mythvideo-scanner]$


I appreciate your assistance and your great script.

_________________
* Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2011 5:23 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

Notice how the last line doesn't look correct, you need to add quotes around the path, or escape the spaces with a '\'
e.g.
Code:
"/myth/video/nas-video/Adult TV Shows/30 Rock"

or
Code:
/myth/video/nas-video/Adult\ TV\ Shows/30\ Rock


You can ignore the two errors about can't find script, these are old grabbers for mythtv 0.23 and older.

Hope this helps.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2011 6:37 pm 
Offline
Joined: Wed Jun 10, 2009 8:39 pm
Posts: 118
bigB wrote:
Hi,

Notice how the last line doesn't look correct, you need to add quotes around the path, or escape the spaces with a '\'
e.g.
Code:
"/myth/video/nas-video/Adult TV Shows/30 Rock"



Many thanks BigB, the quotes made all the difference. :D

_________________
* Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 164 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu