[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 
PiXL - imdb xml for llink
10-01-2008, 11:48 PM (This post was last modified: 03-16-2009 11:38 PM by PoPEye.)
Post: #1
Lightbulb PiXL - imdb xml for llink
I'm happy to announce my latest project PiXL.
PoPEye's Imdb to Xml for Llink. PiXL is a php script for generating xml and jpg's needed for e.g. my kamaishi_skies skin. Input is imbd id. Since llink supports user scrips its trivial Wink to write a .sh script grepping the imdb id from .nfo files and wgetting the xml and jpg.
Without the class.imbd.php from http://sourceforge.net/projects/imdbphp/ this couldn't have been done and is needed for PiXL to work

UPDATE: Did some minor tweaks for performance when resizing images and are now using the latest imdbphp.

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
10-02-2008, 09:44 AM
Post: #2
RE: PiXL - imdb xml for llink
(10-01-2008 11:48 PM)PoPEye Wrote:  I'm happy to announce my latest project PiXL.

Seems to be interesting - is there any kind of documentation how this works?

Thanks.
Find all posts by this user
10-02-2008, 11:40 AM (This post was last modified: 10-02-2008 11:48 AM by PoPEye.)
Post: #3
RE: PiXL - imdb xml for llink
Did you follow the link ? Wink

Quote:PoPEye's Imdb to Xml for Llink. A php script for generating xml and coverphoto from imdb.

Code:
http://site.com/PiXL/pixl.php?id=tt123456

will generate a mymovies.xml and a reference to folder.jpg

Code:
http://site.com/PiXL/pixl.php?id=tt123456&jpg=1

will generate folder.jpg

adding
Code:
http://site.com/PiXL/pixl.php?id=tt123456&rls=name.of.the.folder

will generate name.of.the.folder.xml with a reference to name.of.the.folder.jpg

Code:
http://site.com/PiXL/pixl.php?id=tt123456&rls=name.of.the.folder&jpg=1

will generate name.of.the.folder.jpg

I will do a plain gui for those who want to search and manually get their files. but you can try it here http://efflon.com/pixl/pixl.php?id=tt028...days.later and http://efflon.com/pixl/pixl.php?id=tt028...ater&jpg=1

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
10-02-2008, 12:20 PM
Post: #4
RE: PiXL - imdb xml for llink
(10-02-2008 11:40 AM)PoPEye Wrote:  Did you follow the link ? Wink

Hmm - so this does not recursively scan directories and generate the xml files. This is what I was looking for - probably I am just a spoiled user of YAMJ which does exactly this. This is the reason why I have not switched to llink.
I have lots of movies (hundreds), some of them episodes of TV series. Generating this for all of them by hand is a little cumbersome.
Find all posts by this user
10-02-2008, 12:25 PM
Post: #5
RE: PiXL - imdb xml for llink
How could a remote site recursively scan your directories? It could be easily done with a .sh script but you sound to spoiled to do that Wink

Im only offering a general off device solution for generating imdb data for llink....

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
10-02-2008, 12:53 PM
Post: #6
RE: PiXL - imdb xml for llink
(10-02-2008 12:25 PM)PoPEye Wrote:  How could a remote site recursively scan your directories? It could be easily done with a .sh script but you sound to spoiled to do that Wink

Im only offering a general off device solution for generating imdb data for llink....

Not a remote site of course - I appreciate this solution and see the potential.

I was looking for possibilities to
  1. scan through my folders
  2. take the .avi/.mkv files
  3. string search on imbd
  4. get back with the ID
  5. feed this to your script


Maybe someone will contribute this kind of a wrapper on PiXL.
Find all posts by this user
10-02-2008, 02:22 PM
Post: #7
RE: PiXL - imdb xml for llink
It shouldnt be to hard Big Grin
The main issue as I see it, is what hit do you want. Always the first?
If this is the case, It isnt to hard to write a .sh script.

I will expand PiXL with a search option , &srch=the.movie.mkv , returning the first hit as the.movie.mkv.xml/jpg . Just give me some time Smile

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
10-02-2008, 02:33 PM
Post: #8
RE: PiXL - imdb xml for llink
(10-02-2008 02:22 PM)PoPEye Wrote:  The main issue as I see it, is what hit do you want. Always the first?
If this is the case, It isnt to hard to write a .sh script.

I will expand PiXL with a search option , &srch=the.movie.mkv , returning the first hit as the.movie.mkv.xml/jpg . Just give me some time Smile

First hit should be OK - this is what YAMJ also does.
Following the pareto principle this would be a good solution - for the rest one could always do it manually.
Find all posts by this user
10-02-2008, 02:47 PM
Post: #9
RE: PiXL - imdb xml for llink
My main idea is to integrate the solution into llink. Just browse to a folder, select menu and runt the PiXL script. no computers needed Big Grin

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
10-02-2008, 06:38 PM
Post: #10
RE: PiXL - imdb xml for llink
Doesn't llink have a built-in IMDB scraper?
http://www.lundman.net/wiki/index.php/Ll...media_info

iSkin: YAMJ for iOS, Android, Chrome or Safari. Supports Series 1-4 (Series 2-4 Flash compatible and zero-config multi-shares)
[Image: btn_donate_LG.gif]
Visit this user's website Find all posts by this user
10-02-2008, 06:52 PM
Post: #11
RE: PiXL - imdb xml for llink
Yes. But you manually run that. Here you could easily update your imdb info by just using the remote...

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
10-02-2008, 10:59 PM (This post was last modified: 10-02-2008 11:01 PM by PoPEye.)
Post: #12
RE: PiXL - imdb xml for llink
I've updated the code a bit. Now you have a manual search page where you can enter file name (rls) and imdb id or the name you want to search http://efflon.com/pixl/pixl.html .
You can also use the variable &srch=file.name.dvdscr.avi when using the service from a script. In that search case all dots, dvdscr, avi, xvid, 720p etc are removed before searching imdb. The first hit will give you the xml or jpg

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
10-03-2008, 06:04 AM
Post: #13
RE: PiXL - imdb xml for llink
Awesome, I love it now that you have the web interface. Great work PoPEye. Thanks.
Find all posts by this user
10-05-2008, 08:34 AM (This post was last modified: 10-05-2008 10:24 AM by PoPEye.)
Post: #14
RE: PiXL - imdb xml for llink
A big warning, the PCH cant handle to many big cover photos. Just made a script updating all my covers and now the browsing is so slow and the skin is only half working... Sad

I will add an option to resize images to your preferred size and also publish my batch script if anyone are interested...

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
10-05-2008, 11:55 AM
Post: #15
RE: PiXL - imdb xml for llink
Yes Big Grin

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Announcing llink-2.3.2 release lundman 101 14,747 04-13-2013 05:33 AM
Last Post: HarmonyOne
  [A-400] Does not see llink server tkenn1s 5 713 02-26-2013 05:14 PM
Last Post: Imdre
  llink UPNP won't stream krylon 3 567 02-14-2013 03:43 AM
Last Post: lundman
  LLink question JoeDonth 5 550 01-04-2013 03:03 PM
Last Post: JoeDonth
  How to install Llink on C-300? hildyjohnson 2 869 08-10-2012 09:35 AM
Last Post: lundman
  200 series and live streaming and llink sugatam 3 1,435 05-06-2012 12:59 AM
Last Post: lundman
  Setup llink with A-300 PRS 9 2,302 04-24-2012 11:59 PM
Last Post: lundman
  What does this error in llink mean? litfoo 53 6,874 03-15-2012 03:42 AM
Last Post: lundman
  Llink on QNAP NAS working? litfoo 16 2,868 03-14-2012 08:19 PM
Last Post: gfb107
  Llink and A-300 Problem mypaq 0 747 03-04-2012 09:46 AM
Last Post: mypaq

Forum Jump: