Author |
Message |
bigB
|
Posted: Sun Mar 06, 2011 3:56 am |
|
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 |
|
|
mediathreat
|
Posted: Mon Jun 27, 2011 8:21 am |
|
Joined: Fri Oct 13, 2006 7:42 pm
Posts: 63
|
|
Top |
|
|
Ozdemon
|
Posted: Sat Jul 09, 2011 7:55 pm |
|
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 |
|
|
bigB
|
Posted: Sun Jul 10, 2011 4:23 pm |
|
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 |
|
|
Ozdemon
|
Posted: Sun Jul 10, 2011 5:29 pm |
|
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 |
|
|
heilig
|
Posted: Mon Jul 11, 2011 2:42 pm |
|
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 |
|
|
Ozdemon
|
Posted: Tue Jul 12, 2011 3:38 pm |
|
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 |
|
|
Ozdemon
|
Posted: Sat Jul 30, 2011 4:26 pm |
|
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 |
|
|
bigB
|
Posted: Sun Jul 31, 2011 4:26 pm |
|
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 |
|
|
Ozdemon
|
Posted: Sun Jul 31, 2011 4:52 pm |
|
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 |
|
|
bigB
|
Posted: Sun Jul 31, 2011 5:23 pm |
|
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 |
|
|
Ozdemon
|
Posted: Sun Jul 31, 2011 6:37 pm |
|
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.
_________________ * Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4
|
|
Top |
|
|