[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
NMJ Quick Import - Updated 21st Nov
11-19-2010, 04:11 AM
Post: #31
RE: NMJ Quick Import
Try the latest one. Link updated on page 1.
Additional features: If you have already a poster or if the program is downloading a one from moviedb, the poster will be resized for thumbnail view. So, install Imagemagick from i-pkg.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-19-2010, 11:49 AM (This post was last modified: 11-19-2010 11:51 AM by mfsav2.)
Post: #32
RE: NMJ Quick Import
a little step ahead but:
Code:
PCH-C200[NMJ_import]# ../lighttpd/bin/php ./importMovies.sh /share/Video/Film
../lighttpd/bin/php: /lib/libssl.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
../lighttpd/bin/php: /lib/libcrypto.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
Processing movie 1/53
Importing Information for IMBD ID tt0074991 from NFO File...
Cast Cliff Robertson already available.
Cast Geneviève Bujold already available.
Cast John Lithgow already available.
Cast Sylvia Kuumba Williams already available.
Cast Wanda Blackman already available.
Cast J. Patrick McNamara already available.
Cast Stanley J. Reyes already available.
Cast Nick Kreiger already available.
Cast Stocker Fontelieu already available.
Cast Don Hood already available.
Cast Andrea Esterhazy already available.
Cast Thomas Carr already available.
Cast Tom Felleghy already available.
Cast Nella Simoncini Barbieri already available.
Cast John Creamer already available.
Cast Regis Cordic already available.
Cast Loraine Despres already available.
Cast Clyde Ventura already available.
Cast Fain M. Cogrove already available.
Cast Robert Harper already available.
Cast Warren Kenner already available.
Director Brian De Palma already available.
Error while inserting Obsession into SHOW Table.PCH-C200[NMJ_import]#

vaidyasr is it a problem of path?
the NFO is the one I sent you
Find all posts by this user
11-19-2010, 06:31 PM
Post: #33
RE: NMJ Quick Import
(11-19-2010 11:49 AM)mfsav2 Wrote:  a little step ahead but:
Code:
PCH-C200[NMJ_import]# ../lighttpd/bin/php ./importMovies.sh /share/Video/Film
../lighttpd/bin/php: /lib/libssl.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
../lighttpd/bin/php: /lib/libcrypto.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
Processing movie 1/53
Importing Information for IMBD ID tt0074991 from NFO File...
Cast Cliff Robertson already available.
Cast Geneviève Bujold already available.
Cast John Lithgow already available.
Cast Sylvia Kuumba Williams already available.
Cast Wanda Blackman already available.
Cast J. Patrick McNamara already available.
Cast Stanley J. Reyes already available.
Cast Nick Kreiger already available.
Cast Stocker Fontelieu already available.
Cast Don Hood already available.
Cast Andrea Esterhazy already available.
Cast Thomas Carr already available.
Cast Tom Felleghy already available.
Cast Nella Simoncini Barbieri already available.
Cast John Creamer already available.
Cast Regis Cordic already available.
Cast Loraine Despres already available.
Cast Clyde Ventura already available.
Cast Fain M. Cogrove already available.
Cast Robert Harper already available.
Cast Warren Kenner already available.
Director Brian De Palma already available.
Error while inserting Obsession into SHOW Table.PCH-C200[NMJ_import]#

vaidyasr is it a problem of path?
the NFO is the one I sent you

I have just tried the same nfo file with a dummy video of mine and it works fine without any issues. Do you have the fanart & poster also on the same location where the movie resides?

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-19-2010, 06:42 PM (This post was last modified: 11-19-2010 07:02 PM by mfsav2.)
Post: #34
RE: NMJ Quick Import
latest version of the script. I get same error from IMDB and from NFO

Code:
PCH-C200[NMJ_import]# ../lighttpd/bin/php ./importMovies.sh /share/Video/nmj
../lighttpd/bin/php: /lib/libssl.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
../lighttpd/bin/php: /lib/libcrypto.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
Processing movie 1/4
Importing Information for IMBD ID tt0366450 from NFO File...
Error while inserting 5 Bambini e Lui into SHOW Table.PCH-C200[NMJ_import]# ../lighttpd/bin/php ./importMovies.sh /share/Video/nmj
../lighttpd/bin/php: /lib/libssl.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
../lighttpd/bin/php: /lib/libcrypto.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
Processing movie 1/4
Getting Information for IMBD ID tt0366450
Importing 5 bambini & It into NMJ Database...
Cast Tara Fitzgerald already available.
Cast Freddie Highmore already available.
Cast Alex Jennings already available.
Cast Jonathan Bailey already available.
Cast Jessica Claridge already available.
Cast Poppy Rogers already available.
Cast Alec Muggleton already available.
Cast Zak Muggleton already available.
Cast Kenneth Branagh already available.
Cast Alexander Pownall already available.
Cast Eddie Izzard already available.
Cast Georgio Serafini already available.
Cast John Sessions already available.
Cast Kim Fenton already available.
Director John Stephenson already available.
Error while inserting 5 bambini & It into SHOW Table.PCH-C200[NMJ_import]#

(11-19-2010 06:31 PM)vaidyasr Wrote:  I have just tried the same nfo file with a dummy video of mine and it works fine without any issues. Do you have the fanart & poster also on the same location where the movie resides?

yes,
in the folder I have:

2 Cavalieri a Londra (2003).fanart.jpg
2 Cavalieri a Londra (2003).jpg
2 Cavalieri a Londra (2003).mpg*
2 Cavalieri a Londra (2003).nfo*
extrathumbs/
If I cancell all files:
Code:
PCH-C200[NMJ_import]# ../lighttpd/bin/php ./importMovies.sh /share/Video/nmj
../lighttpd/bin/php: /lib/libssl.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
../lighttpd/bin/php: /lib/libcrypto.so.0.9.8: no version information available (required by ../lighttpd/bin/php)
Processing movie 1/4
Getting Information for IMBD ID tt0366450
Importing 5 bambini & It into NMJ Database...
Cast Tara Fitzgerald already available.
Cast Freddie Highmore already available.
Cast Alex Jennings already available.
Cast Jonathan Bailey already available.
Cast Jessica Claridge already available.
Cast Poppy Rogers already available.
Cast Alec Muggleton already available.
Cast Zak Muggleton already available.
Cast Zoë Wanamaker already available.
Cast Kenneth Branagh already available.
Cast Alexander Pownall already available.
Cast Eddie Izzard already available.
Cast Georgio Serafini already available.
Cast John Sessions already available.
Cast Kim Fenton already available.
Director John Stephenson already available.
convert: no decode delegate for this image format `/share/nmj_database/media/video/poster/five-children-and-it-cover.jpg' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `/share/nmj_database/media/video/thumbnail/five-children-and-it-cover.jpg' @ error/convert.c/ConvertImageCommand/2946.
Error while inserting 5 bambini & It into SHOW Table.PCH-C200[NMJ_import]#
Find all posts by this user
11-21-2010, 03:23 PM
Post: #35
RE: NMJ Quick Import
(11-19-2010 06:42 PM)mfsav2 Wrote:  latest version of the script. I get same error from IMDB and from NFO
Updated new version with fixes.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-28-2010, 02:06 PM
Post: #36
RE: NMJ Quick Import - Updated 21st Nov
Quote:Found hardware type: Popcorn Hour C200
Found hardware type: Popcorn Hour C200


Application Initializer version 1.12
---------------------------------------
Checking for new version: up to date
Checking Application Initializer profile: Valid
Installing application from file /share/import_nmj.tar: /opt/sybhttpd/localhost.drives/SATA_DISK/Apps/AppInit/appinit.cgi: line 406: /share/Apps//appinfo.json: No such file or directory
Failed

Seems that I have a path issue. Is it related to your package? Or something I have to update? Other CSI applications install just fine...

(uploaded my appinit.cgi just in case)


Nothing lasts forever. It is especially true for electronic devices. Thank God, consumerism will make you happy to purchase a more fashionable device as soon as the old one starts to fail.
Find all posts by this user
11-28-2010, 05:21 PM
Post: #37
RE: NMJ Quick Import - Updated 21st Nov
(11-28-2010 02:06 PM)kirby_blue Wrote:  Seems that I have a path issue. Is it related to your package? Or something I have to update? Other CSI applications install just fine...

(uploaded my appinit.cgi just in case)
OK, the nmj_import is not a CSI package. You can extract manually under any directory of C200 and try the command.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-29-2010, 03:15 PM
Post: #38
RE: NMJ Quick Import - Updated 21st Nov
I was looking for something like this.

There is a potential to use this to create the nmj database on a pc rather than on the nmj itself.
That has a potential for a massive speed increase.

Unfortunatly i dont have a linux machine at hand and it doesnt seem to run on windows.

any chance to make a standalone version of this available
Find all posts by this user
11-29-2010, 05:39 PM
Post: #39
RE: NMJ Quick Import - Updated 21st Nov
(11-29-2010 03:15 PM)B0ssman Wrote:  I was looking for something like this.

There is a potential to use this to create the nmj database on a pc rather than on the nmj itself.
That has a potential for a massive speed increase.

Unfortunatly i dont have a linux machine at hand and it doesnt seem to run on windows.

any chance to make a standalone version of this available

You can use it on a linux via Virtual PC if you don't want to use it in C200.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-30-2010, 12:44 PM
Post: #40
RE: NMJ Quick Import - Updated 21st Nov
Hi,
Before to ask any questions, I'd like to realy understand for what this script is for???

If I remember what you write before you change the P1, you made this to speed up the scan?

Is this script should replace all the NMJ scanner feature? (=> scan for movie files or NFO and then strore info in NMJ DB.)

Or

Is this script scan only for NFO files and update the NMJ DB withe the NFO informations or from Imdb if the NFO store the Imdb ID?

If I have right understand? it only scan for NFO it connect to Imdb if the NFO give the IMDB ID, and take info (it doesn't do any search on Imdb because he use the ID directly?)


For the Image it take the images that are into the directory with the same naming rules than NMJ scan?

Quote:Otherwise it will download both poster & fanart from themoviedb.org.

How do you made the link with Imdb Id and the themoviedb.org poster and fanart


thank you to clarify this because my English is not realy good and I need to be sure of what I read...
Find all posts by this user
11-30-2010, 03:04 PM
Post: #41
RE: NMJ Quick Import - Updated 21st Nov
(11-30-2010 12:44 PM)jutoto Wrote:  Hi,
Before to ask any questions, I'd like to realy understand for what this script is for???

If I remember what you write before you change the P1, you made this to speed up the scan?

Is this script should replace all the NMJ scanner feature? (=> scan for movie files or NFO and then strore info in NMJ DB.)

Or

Is this script scan only for NFO files and update the NMJ DB withe the NFO informations or from Imdb if the NFO store the Imdb ID?
Yes. It has all features what NMJ scanner is doing. It will look for nfo files if found on the directory where the movie resides. If only the IMDB id found in the nfo file, it will fetch the details from IMDB and store it in DB. Otherwise, it will fetch all the details from the nfo file itself instead of fetching from IMDB.
Quote:If I have right understand? it only scan for NFO it connect to Imdb if the NFO give the IMDB ID, and take info (it doesn't do any search on Imdb because he use the ID directly?)


For the Image it take the images that are into the directory with the same naming rules than NMJ scan?
Yes, it takes the image from the directory where the movie resides otherwise it will fetch from moviedb.org.
Quote:How do you made the link with Imdb Id and the themoviedb.org poster and fanart


thank you to clarify this because my English is not realy good and I need to be sure of what I read...
It search with the IMDB id in moviedb.org. The moviedb.org is indexed with imdbid.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-30-2010, 08:55 PM
Post: #42
RE: NMJ Quick Import - Updated 21st Nov
Code:
../lighttpd/bin/php ./importMovies.sh /share/Video/Flims
../lighttpd/bin/php: /lib/libssl.so.0.9.8: no version information available (req
uired by ../lighttpd/bin/php)
../lighttpd/bin/php: /lib/libcrypto.so.0.9.8: no version information available (
required by ../lighttpd/bin/php)

And nothing happens...do I miss something ? I don't think there's an issue in my path because this works:

Code:
cd /share/Video/Flims


Nothing lasts forever. It is especially true for electronic devices. Thank God, consumerism will make you happy to purchase a more fashionable device as soon as the old one starts to fail.
Find all posts by this user
11-30-2010, 09:38 PM (This post was last modified: 11-30-2010 10:55 PM by jutoto.)
Post: #43
RE: NMJ Quick Import - Updated 21st Nov
Ok vaidyasr, first thank you for your answer

But I need some little precisions

Quote:Yes. It has all features what NMJ scanner is doing. It will look for nfo files if found on the directory where the movie resides. If only the IMDB id found in the nfo file, it will fetch the details from IMDB and store it in DB. Otherwise, it will fetch all the details from the nfo file itself instead of fetching from IMDB.

Ok but what's append if there is no NFO in the directory?

do you use the file name to search the movie on Imdb like the NMJ scanner do?

And do skip directories using .no_all.nmj and .no_video.nmj???


About the images why do you take it from themoviedb instead of Imdb? are they in better quality?

I ask all this questions because I would like to create a scanner script that can search info and images on other site than Imdb.
Specially because I would like to fetch info from french movie DB.

And may be to create a connection layer between the scanner script and the internet movie DB. this way it add the ability to connect different DB. You will only need to create a corresponding DB API.
Find all posts by this user
12-01-2010, 02:30 AM
Post: #44
RE: NMJ Quick Import - Updated 21st Nov
(11-30-2010 09:38 PM)jutoto Wrote:  Ok vaidyasr, first thank you for your answer

But I need some little precisions

Ok but what's append if there is no NFO in the directory?

do you use the file name to search the movie on Imdb like the NMJ scanner do?
Yes, the movie name will be taken to search in IMDB by removing unwanted words like axxo, diamond, (release names).

Quote:And do skip directories using .no_all.nmj and .no_video.nmj???
Not yet in script, but can be easily done.
Quote:About the images why do you take it from themoviedb instead of Imdb? are they in better quality?
Yes they are. See yourself for any movie.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
12-01-2010, 10:24 AM (This post was last modified: 12-01-2010 07:29 PM by jutoto.)
Post: #45
RE: NMJ Quick Import - Updated 21st Nov
hi,
berfore any development consideration I need to try it as is.

But I have problems on my A200 :

After installing your pack with CSI, I have no news dir in Apps (like its append with NMJManager_web) ?

I have no new entry in the CSI Installed package?

And after the telnet commande line I have a missing Php message.
(I have lighttpd,busybox,telnet, ipkg... installed)

But also an other problem: Now all other Web installed Apps ( Filemanager, NMJManager, CSI GAYA...) did not work : no connection available.


But the network share work.

Any Idea????

PS:
I tried to reinstall the package and saw the error message at the last step of the installation:

Installing application from file /share/import_nmj.tar: /opt/sybhttpd/localhost.drives/SATA_DISK/Apps/AppInit/appinit.cgi: line 406: /share/Apps//appinfo.json: No such file or directory
Failed
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  NMJ Guide to severall disks databases billgatos 243 57,572 05-15-2013 07:49 AM
Last Post: scottdca
  How To: Schedule an nmj DB update yahavrave 6 1,001 05-13-2013 11:43 PM
Last Post: yahavrave
Video [NMJ v2] Introducing NMJ Explorer - a NMJ Navigator for your iPhone or iPod touch produde 70 4,590 05-09-2013 09:53 AM
Last Post: shadytree
  [NMJ v1] NMJToolbox - A Windows editor for the NMJ (Updated 15/10/2012 v1.0.4.6) Rom 1,297 364,638 04-23-2013 03:49 PM
Last Post: spursman
  [NMJ v2] How to scan the NMJ database remotely on A300 (NMJ V2) pedro75 73 10,561 02-17-2013 11:18 AM
Last Post: racquemis
  [NMJ v1] [NMJ v2] NMJManager [Web based] - v1.0.6 Updated on 4th Jan vaidyasr 453 123,128 02-07-2013 07:45 AM
Last Post: vaidyasr
  [SCRIPT] script to automatically update NMJ blankser 16 5,930 02-03-2013 12:39 PM
Last Post: blankser
  My Movies for NMJ - 20 Step Guide (Beta) Binnerup 302 91,909 02-02-2013 12:41 PM
Last Post: Patatorz
  [GUIDE] Launch NMJ automatically accident 81 44,015 12-28-2012 01:56 PM
Last Post: accident
  NFO to NMJ converter - 1.4.0.13 (06/01/2012) mfsav2 622 129,241 08-26-2012 10:52 AM
Last Post: mfsav2

Forum Jump: