[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 
llink-2.0.2 Released
04-20-2008, 05:25 PM
Post: #91
 
I am having a weird bug with 2.0.2. I am making some new templates and it appears as if not all the tags in the 2line_dir.html file are getting sent to the browser. Specifically a closing div tag will get removed.

My 2line_dir.html looks like this:
Code:
<div id="topframe<!--LLINK_FILE_PAGEID-->">
<table>
<tr><td>
<img width="120" height="200" src="<!--LLINK_EXTNFO_ICON-->" class="topframepic"/>
</td>
<td>
Title: <!--LLINK_EXTNFO_TITLE--> - <!--LLINK_EXTNFO_TAGLINE--> <br/>
Description: <!--LLINK_EXTNFO_DESCRIPTION--><br/>
Runtime: <!--LLINK_EXTNFO_LENGTH--> minutes<br/>
Genres: <!--LLINK_EXTNFO_GENRES--><br/>
Release Date: <!--LLINK_EXTNFO_DATE--><br/>
Cast: <!--LLINK_EXTNFO_CAST--><br/>
Director(s): <!--LLINK_EXTNFO_DIRECTORS--> <br/>
Rating: <!--LLINK_EXTNFO_RATING--> <br/>
IMDB Url: <!--LLINK_EXTNFO_IMDBURL--><br/>
</td>
</tr>
</table>
</div>

But when outputted I get something like this:
Code:
<div id="topframe1">
<table>
<tr>
<td>
<img width="120" height="200" src="Evil.Dead.II.1987/folder.jpg" class="topframepic"/>
</td>
<td>Title: Evil Dead II (1987) -  <br/>
Description: The lone survivor of an onslaught of flesh-possessing spirits holds up in a cabin with a group of strangers while the demons continue their attack.<br/>
Runtime: 85 min minutes<br/>
Genres: Comedy,Fantasy,Horror,Thriller <br/>
Release Date: <br/>
Cast: <!--LLINK_EXTNFO_CAST--><br/>
Director(s): <!--LLINK_EXTNFO_DIRECTORS--> <br/>
Rating: <!--LLINK_EXTNFO_RATING--> <br/>
IMDB Url: <!--LLINK_EXTNFO_IMDBURL--><br/>
</td>
</tr>
</table>
<div id="topframe2">
...

The closing div is completely missing, which completely destroys my layout. Am I doing something wrong or is this an actual bug?
Find all posts by this user
04-20-2008, 05:36 PM
Post: #92
 
More demands Wink

Since llink accepts my.nice.movie.folder.xml for parsing IMBD data it would be nice if it could skip
Code:
<Covers>mymovies-front.jpg</Covers>
if it doesn't exist and look for my.nice.movie.folder.jpg :?:

Now I have 50 or more xmlf files where I need to change the name between the tags (using redirect and IMBDIT + some batch renaming). If someone has a nice script bat/sh lying around it would be appreciated Wink

/MrLazy Big Grin
Visit this user's website Find all posts by this user
04-20-2008, 05:37 PM
Post: #93
 
Problem with win32 2.0.3 build as well this is what I get when running llink.exe

Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


C:\llink>llink -f jukebox.conf
llink - Jorgen Lundman v2.0.3 lundman@shinken.interq.or.jp build 687 (Sat Apr 19
22:22:48 2008)

WinSock version 2.2 Max 0
[skin] failed to open './skin/jukebox/2line_rar.html', results will be interesti
ng...
[skin] failed to open './skin/jukebox/line_rar.html', results will be interestin
g...
[skin] failed to open './skin/jukebox/2line_rar.html', results will be interesti
ng...
[skin] failed to open './skin/jukebox/line_rar.html', results will be interestin
g...
[main] ready!
Find all posts by this user
04-20-2008, 06:30 PM
Post: #94
 
bchenoweth Wrote:Problem with win32 2.0.3 build as well this is what I get when running llink.exe

Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


C:\llink>llink -f jukebox.conf
llink - Jorgen Lundman v2.0.3 lundman@shinken.interq.or.jp build 687 (Sat Apr 19
22:22:48 2008)

WinSock version 2.2 Max 0
[skin] failed to open './skin/jukebox/2line_rar.html', results will be interesti
ng...

...

Did you check if the files actually exists? If they are missing then copy them from an older release.
Visit this user's website Find all posts by this user
04-20-2008, 06:46 PM
Post: #95
 
arune Wrote:
bchenoweth Wrote:Problem with win32 2.0.3 build as well this is what I get when running llink.exe

Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


C:\llink>llink -f jukebox.conf
llink - Jorgen Lundman v2.0.3 lundman@shinken.interq.or.jp build 687 (Sat Apr 19
22:22:48 2008)

WinSock version 2.2 Max 0
[skin] failed to open './skin/jukebox/2line_rar.html', results will be interesti
ng...

...

Did you check if the files actually exists? If they are missing then copy them from an older release.

Already did just letting him know for future releases so everyone does not run into the problem down the line.
Find all posts by this user
04-20-2008, 11:55 PM
Post: #96
 
line_rar.html isn't needed I thought, it is identical to line_dir.html

Re missing "<div>", I take it this is repeatable? Do you have a crnl on that last line? Could be it needs a blank line after it.
Visit this user's website Find all posts by this user
04-21-2008, 12:27 AM
Post: #97
 
lundman Wrote:line_rar.html isn't needed I thought, it is identical to line_dir.html

Re missing "<div>", I take it this is repeatable? Do you have a crnl on that last line? Could be it needs a blank line after it.

That was it. Putting an extra line in there got it to work right. Thanks.

Btw, any chance that linebreaks in the templates can be preserved? Just curious b/c it is very difficult to view source when it is all on one line.
Find all posts by this user
04-21-2008, 01:10 AM
Post: #98
 
it's frigging impossible to read! I really should stick it in so that you get newlines when running in debug mode. There are... some complications... with how it is stored, since I read it in, and assemble the macros in binary form for speed.

I only added Photo view to aqua I noticed, forgot about moon skin. Sorry Smile


[edit]

Ok, took a different approach, now it gives you \r\n when in debug.. not efficient, but I think we can live with that.
Visit this user's website Find all posts by this user
04-21-2008, 01:35 AM
Post: #99
 
Bah sorry guys, I packaged up an incomplete version, without the jpg MACROS and so on. I really should go back to using cvs more again, than scping things around Smile
Visit this user's website Find all posts by this user
04-21-2008, 05:07 AM
Post: #100
 
Ok well today I got a new computer that is running vista ultimate so I tried to give this another shot. I am not sure if this program supports vista at all but this is the output I get when popcorn tries to access a media file.

Code:
C:\llink\llink.exe - Jorgen Lundman v2.0.3 lundman@shinken.interq.or.jp build 68
7 (Sat Apr 19 22:22:48 2008)

WinSock version 2.2 Max 0
[main] ready!
[request] Warning - tmpfile '╚í▲' is 0 bytes, this won't end well.
[request] Warning - tmpfile '╚í▲' is 0 bytes, this won't end well.
[request] Warning - tmpfile '╚í▲' is 0 bytes, this won't end well.

Any idea on this?
Find all posts by this user
04-21-2008, 06:22 AM
Post: #101
 
Yeah, I missed out the argument to %s in print. You can ignore it, but it'll crash sometimes. I'll do a new build tonight with all the bugs I fixed today.
Visit this user's website Find all posts by this user
04-21-2008, 12:50 PM
Post: #102
 
Right, too many small bugs in 2.0.3, so lets go straight to

http://www.lundman.net/ftp/llink/llink-2.0.4-win32.zip
Visit this user's website Find all posts by this user
04-21-2008, 01:17 PM
Post: #103
 
Here is what I get now

Code:
C:\llink\llink.exe - Jorgen Lundman v2.0.4 lundman@shinken.interq.or.jp build 70
9 (Mon Apr 21 10:06:04 2008)

WinSock version 2.2 Max 0
[main] ready!
[request] Warning - tmpfile '.llink.a01028' is 0 bytes, this won't end well.
[request] Warning - tmpfile '.llink.a01028' is 0 bytes, this won't end well.
[request] Warning - tmpfile '.llink.a01028' is 0 bytes, this won't end well.
[request] Warning - tmpfile '.llink.a01028' is 0 bytes, this won't end well.
[request] Warning - tmpfile '.llink.a01028' is 0 bytes, this won't end well.
[request] Warning - tmpfile '.llink.a01028' is 0 bytes, this won't end well.

Also popcorn still will not play anything. The screen goes black for about 1-2 seconds and then back to the jukebox menu.
Find all posts by this user
04-21-2008, 01:37 PM
Post: #104
 
that'd be a bad / missing ROOT line. Now I actually print the problem, so we can see it Smile
Visit this user's website Find all posts by this user
04-21-2008, 01:39 PM
Post: #105
 
bchenoweth/ Post your ROOT line(s) so we can have a look.

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
  NetworkMounter 0.1 released on CSI Niels Leenheer 289 86,642 07-09-2012 07:07 PM
Last Post: andym2009
  nmtPYtools 0.3 released gkreidl 0 1,305 09-23-2011 02:23 PM
Last Post: gkreidl
  Utils v0.0.4 - A110 - Released - Updated 5th July vaidyasr 84 24,984 01-31-2011 01:21 PM
Last Post: dc11ab
  [Apps] SYNK - C200/A200/A210/A110 - Released vaidyasr 0 1,899 01-24-2011 12:47 PM
Last Post: vaidyasr
  NFO Manager v1.0.4 Beta Released Nov 11th - With Dynamic JukeBox vaidyasr 76 31,413 01-12-2011 02:12 PM
Last Post: mfsav2
  NMTWATCHD v1.0 released jorgb 28 9,168 04-06-2010 03:13 AM
Last Post: adamnoddliver
  Llink rar archive not showing content imtcb 15 5,178 12-01-2009 01:29 PM
Last Post: bengt
  mythtv - LiveTV and Recording using llink-mod mwahal 2 2,727 11-23-2009 05:39 AM
Last Post: tivo1
  mvpmcx2 released emveepee 58 27,352 10-21-2009 11:40 PM
Last Post: bozoo
  PMS - Popcorn Music System released iix 34 23,241 09-21-2009 03:05 PM
Last Post: dc11ab

Forum Jump: