[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:
Thread Closed 
NMJ Quick Import - Updated 21st Nov
11-14-2010, 05:56 PM
Post: #16
RE: NMJ Quick Import
(11-14-2010 05:46 PM)vaidyasr Wrote:  Go to the directory where you have stored movies and type the following command to get the .nfo file for each movie.
The below will rename the existing movie.nfo to movie.nfo.old

# cd [folder where your movies stored with nfo]
# for i in `ls *.nfo`
do
imdbid=`cat $i|grep imdb|cut -d'>' -f2|cut -d'<' -f1`
mv $i $i.old
echo "$imdbid" > $i
done

Thanks but this will create the NFO with just the IMDB id.

My problem is that I do not want to rescrape the folders-imdb due to the fact that I have a lot of content that does not exist on IMDB.

How can I use the properties in the nfo to pouplate the DB?
Find all posts by this user
11-14-2010, 05:58 PM (This post was last modified: 11-14-2010 05:58 PM by vaidyasr.)
Post: #17
RE: NMJ Quick Import
(11-14-2010 05:56 PM)mfsav2 Wrote:  Thanks but this will create the NFO with just the IMDB id.

My problem is that I do not want to rescrape the folders-imdb due to the fact that I have a lot of content that does not exist on IMDB.

How can I use the properties in the nfo to pouplate the DB?
OK, I'll send the updated package tomorrow with one more function to read the NFO and import into DB which will be very quicker. I am going to sleep now. Smile

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-14-2010, 06:41 PM
Post: #18
RE: NMJ Quick Import
Smile
good night! looking forward for it


Mf
Find all posts by this user
11-15-2010, 11:14 AM
Post: #19
RE: NMJ Quick Import
(11-14-2010 06:41 PM)mfsav2 Wrote:  Smile
good night! looking forward for it


Mf

The import is working fine. But without some details like poster, keywords (I don't know where it has been used in NMJ). Is it OK?. Do you have your own poster/fanart on the same directory where the movie resides?

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-15-2010, 11:22 AM
Post: #20
RE: NMJ Quick Import
(11-15-2010 11:14 AM)vaidyasr Wrote:  The import is working fine. But without some details like poster, keywords (I don't know where it has been used in NMJ). Is it OK?. Do you have your own poster/fanart on the same directory where the movie resides?

Yes,
the images and fanart are already in the folders with the right name.

Question: can I avoid to have NMJ try to update the video but just pictures and music?

In other words we inject the data in the video part but I do not want updates (even if I invoke the manual update)

Mf
Find all posts by this user
11-15-2010, 11:30 AM
Post: #21
RE: NMJ Quick Import
(11-15-2010 11:22 AM)mfsav2 Wrote:  Yes,
the images and fanart are already in the folders with the right name.

Question: can I avoid to have NMJ try to update the video but just pictures and music?

In other words we inject the data in the video part but I do not want updates (even if I invoke the manual update)

Mf
I haven't tried it. But you can try by create a file named ".no_video.nmj".

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-15-2010, 11:32 AM
Post: #22
RE: NMJ Quick Import
ok, I will try.
Find all posts by this user
11-15-2010, 11:42 AM (This post was last modified: 11-15-2010 11:44 AM by vaidyasr.)
Post: #23
RE: NMJ Quick Import
Updated with new instructions. Link on page 1. Now you can quickly import the existing NFO into NMJ. It took 3-10 seconds for each movie.

Please note, since you are using the existing .jpg image for poster, it may be slow, because the NMJ using very small image size.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-18-2010, 04:28 PM (This post was last modified: 11-18-2010 04:40 PM by mfsav2.)
Post: #24
RE: NMJ Quick Import
vidyasr,
some questions:
1) how I can have a shell on NMT? or how you execute the command
2) what it means "2. sqlite3 (from i-pkg or from utils)" how I can install it?

the other topic is
can I create the DB on the pc?
I can access the library via smb share
Find all posts by this user
11-18-2010, 05:07 PM
Post: #25
RE: NMJ Quick Import
(11-18-2010 04:28 PM)mfsav2 Wrote:  vidyasr,
some questions:
1) how I can have a shell on NMT? or how you execute the command
2) what it means "2. sqlite3 (from i-pkg or from utils)" how I can install it?

the other topic is
can I create the DB on the pc?
I can access the library via smb share

Hope you are aware of CSI to install utils/softwares for C200. Install telnet for C200 and then type the above commands I have mentioned. No need to have sqlite3, as I have already included in php itself.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-18-2010, 05:10 PM
Post: #26
RE: NMJ Quick Import
(11-18-2010 05:07 PM)vaidyasr Wrote:  Hope you are aware of CSI to install utils/softwares for C200. Install telnet for C200 and then type the above commands I have mentioned. No need to have sqlite3, as I have already included in php itself.

I have installed telnet

but it did not recognize the php.

So I changed path and I get this:
PCH-C200[bin]# ./php ../../NMJ_import/importMovies.sh
./php: /lib/libssl.so.0.9.8: no version information available (required by ./php)
./php: /lib/libcrypto.so.0.9.8: no version information available (required by ./php)


I even installed the i-pkg and sqllite3
Find all posts by this user
11-18-2010, 05:11 PM
Post: #27
RE: NMJ Quick Import
(11-18-2010 05:10 PM)mfsav2 Wrote:  I have installed telnet

but it did not recognize the php.

So I changed path and I get this:
PCH-C200[bin]# ./php ../../NMJ_import/importMovies.sh
./php: /lib/libssl.so.0.9.8: no version information available (required by ./php)
./php: /lib/libcrypto.so.0.9.8: no version information available (required by ./php)


I even installed the i-pkg and sqllite3
That is fine. It is just a warning. You need to give the path of the drive to scan.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-18-2010, 05:19 PM (This post was last modified: 11-18-2010 05:25 PM by mfsav2.)
Post: #28
RE: NMJ Quick Import
I have this:
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 from NFO File...
Error while inserting Obsession into SHOW Table.PCH-C200[NMJ_import]#


why is inserting it in SHOW?
and why I get an error?
Find all posts by this user
11-18-2010, 05:34 PM
Post: #29
RE: NMJ Quick Import
(11-18-2010 05:19 PM)mfsav2 Wrote:  I have this:
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 from NFO File...
Error while inserting Obsession into SHOW Table.PCH-C200[NMJ_import]#


why is inserting it in SHOW?
and why I get an error?

Please post or pm the nfo file you were trying to import.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
11-19-2010, 12:11 AM (This post was last modified: 11-19-2010 12:11 AM by mfsav2.)
Post: #30
RE: NMJ Quick Import
sent it via pm
sent it via pm
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,577 05-15-2013 07:49 AM
Last Post: scottdca
  How To: Schedule an nmj DB update yahavrave 6 1,002 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,593 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,754 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,566 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,398 02-07-2013 07:45 AM
Last Post: vaidyasr
  [SCRIPT] script to automatically update NMJ blankser 16 5,933 02-03-2013 12:39 PM
Last Post: blankser
  My Movies for NMJ - 20 Step Guide (Beta) Binnerup 302 91,917 02-02-2013 12:41 PM
Last Post: Patatorz
  [GUIDE] Launch NMJ automatically accident 81 44,017 12-28-2012 01:56 PM
Last Post: accident
  NFO to NMJ converter - 1.4.0.13 (06/01/2012) mfsav2 622 129,263 08-26-2012 10:52 AM
Last Post: mfsav2

Forum Jump: