[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 
Yet another MovieJukebox...
05-27-2008, 03:01 PM
Post: #106
 
Hi, I'm trying this very nice program on a USB NTFS formatted Hard drive with a *.bat with the following:

Moviejukebox.bat f:\_Transfer -nr "file:///opt/sybhttpd/localhost.drives/USB_DRIVE_A/_Transfer/"

If I plug the USB Drive later on my PCH I can start the index file, but if I try to start one of this movies, nothing is happen!
What is wrong with the phat/directory?

Thanks.

PS: Is it possible to ad also *.MOV extension or why not ad all extensions supported by PCH?
If I can see, like in a log file how many movies detected, how many found in IMDB and how many not analyzed, this could be very useful for me with a lot of movies.
Find all posts by this user
05-27-2008, 06:10 PM
Post: #107
 
maikone Wrote:Hi, I'm trying this very nice program on a USB NTFS formatted Hard drive with a *.bat with the following:

Moviejukebox.bat f:\_Transfer -nr "file:///opt/sybhttpd/localhost.drives/USB_DRIVE_A/_Transfer/"

If I plug the USB Drive later on my PCH I can start the index file, but if I try to start one of this movies, nothing is happen!
What is wrong with the phat/directory?

Thanks.

PS: Is it possible to ad also *.MOV extension or why not ad all extensions supported by PCH?
If I can see, like in a log file how many movies detected, how many found in IMDB and how many not analyzed, this could be very useful for me with a lot of movies.

try USB_DRIVE_A-1
Find all posts by this user
05-27-2008, 06:24 PM
Post: #108
 
jriihi Wrote:Hi jjulien,

I looked your code and added multiple directories and nmtpaths to it as exercise. It seems to need configuration file implementation because easily goes over command line limit (255 chars?).
I didnt implement any configuration file yet. Do you think properties or xml file would be better? I think xml file would be more readable..?

After configuration file is implemented it could be added to svn (current implementation works only for like max 3 dirs).

Great!! Thanxx!

imho properties files are easier to read, edit and document... so my vote goes to a property file.

Wink
Find all posts by this user
05-27-2008, 07:40 PM
Post: #109
 
jjulien Wrote:
jriihi Wrote:Hi jjulien,

I looked your code and added multiple directories and nmtpaths to it as exercise. It seems to need configuration file implementation because easily goes over command line limit (255 chars?).
I didnt implement any configuration file yet. Do you think properties or xml file would be better? I think xml file would be more readable..?

After configuration file is implemented it could be added to svn (current implementation works only for like max 3 dirs).

Great!! Thanxx!

imho properties files are easier to read, edit and document... so my vote goes to a property file.

Wink

In fact the tool definitely needs a property file, I'll make one.
But you're right, to specify a list of couple values { { path1, nmtPath1}, {..,..}}, XML is more apropriate!
Find all posts by this user
05-27-2008, 08:44 PM
Post: #110
 
jjulien Wrote:In fact the tool definitely needs a property file, I'll make one.
But you're right, to specify a list of couple values { { path1, nmtPath1}, {..,..}}, XML is more apropriate!

Actually my current version has exclusion filters and file extensions specified in xml also. Anyways look at my old code in bug tracker maybe Smile

Just looked at MovieFilenameScanner and there seems to be lot of stuff that could be read from configuration xml.
Find all posts by this user
05-27-2008, 09:33 PM
Post: #111
 
What a great application.
Works great.
However, i do have some trouble trying to config the display of the index.html page.
I am trying to increse the font size and reduce the number of images per line.
I have edited 'exportindex_item_pch.css' in the 'C:\MovieJukebox_v1.0.6_beta\resources' directory to increase the font size, however i see that my 'jukebox' directory has those files already.
I have deleted them from the 'jukebox' directory, and let them be copied automaticlly again, but they are not identical to the files that i have modified - they returned to defualt setting.
What am i doing wrong?
Find all posts by this user
05-27-2008, 09:41 PM
Post: #112
 
Bad luck, css and xsl are embedded in the moviejukebox.jar...

If you have a zip tools (like 7 zip), open moviejukebox.jar and remove those files from the jar.
Find all posts by this user
05-27-2008, 09:44 PM
Post: #113
 
Yes, would be better if the app did not use files embedded in the jar for any purpose. Would make customizing that much easier.
Visit this user's website Find all posts by this user
05-27-2008, 09:58 PM
Post: #114
 
thank you, it works great.
It will be wise to export does file out of the .jar for further configuration, and also, becuae it says so in the README.....
Find all posts by this user
05-27-2008, 10:56 PM
Post: #115
 
another thing - i managed to display only 5 images in the index page. In order to make them bigger, i tried the -th and -tw options in the command line, but the executable did not get these options and returned error.
I see in the README that the command line cannot take these options but they are mentioned as 'OPTIONAL', so which is correct, and will it be added later?
Thanx
Find all posts by this user
05-27-2008, 11:19 PM
Post: #116
 
I have another suggestion if I may. Just an ease of use sort of thing.
There is also a proprietary attribute called TVID which when placed within an <a href> tag will allow the associated remote control button to access said link.

For example, on the detail page, the final link that plays the movie, you could add TVID="Play" inside the <a href> tag to allow the movie to be played simply by pressing the Play button on the remote, instead of having to navigate to the link and press enter. Of course, navigating to the link will still work, but the Play button is just a simplification.
Visit this user's website Find all posts by this user
05-28-2008, 12:12 AM
Post: #117
 
shay1972 Wrote:i tried the -th and -tw options in the command line, but the executable did not get these options and returned error.
May be because the MovieJukebox.bat doesn't pass through enough parameters
replace
Code:
java -classpath ./moviejukebox.jar;./resources com.moviejukebox.MovieJukebox %1 %2 %3 %4 %5 %6
by
Code:
java -classpath ./moviejukebox.jar;./resources com.moviejukebox.MovieJukebox %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13
Find all posts by this user
05-28-2008, 12:23 AM
Post: #118
 
Fix both issues are once: put ./resources before ./moviejukebox.jar in the classpath, and use %* to get all the command line parameters:
Code:
java -classpath ./resources;./moviejukebox.jar com.moviejukebox.MovieJukebox %*

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
05-28-2008, 12:52 AM
Post: #119
 
Nice!
Find all posts by this user
05-28-2008, 02:12 AM
Post: #120
 
sTyLeS Wrote:I have another suggestion if I may. Just an ease of use sort of thing.
There is also a proprietary attribute called TVID which when placed within an <a href> tag will allow the associated remote control button to access said link.

For example, on the detail page, the final link that plays the movie, you could add TVID="Play" inside the <a href> tag to allow the movie to be played simply by pressing the Play button on the remote, instead of having to navigate to the link and press enter. Of course, navigating to the link will still work, but the Play button is just a simplification.

There's lots of those kinds of things that can be done.
Like setting TVID="PGUP" for the "Previous" link, and TVID="PGDN" for the Next link. Also give the "Play" link the name "Play" and adding ONLOADSET="Play" to the body tag. This will put the initial focus on that link.

Too bad we can't do simple javascript navigation menus with forms and selects. Would be nice to have the Genres be a drop-down menu.
Code:
<form action="genres.html" method="GET">
<select onChange="window.location.href=this.value;return false;">
<option value="index_Action.html">Action</option>
<option value="index_Adventure.html">Adventure</option>
<option value="index_Animation.html">Animation</option>
<option value="index_Crime.html">Crime</option>
<option value="index_Drama.html">Drama</option>
</SELECT>
</form>

There are lots of different ways to code this, but I haven't found any that work with the PH, although I have found documents that claim the PH brower supports some ECMA-script.

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
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [YAMJ] moviejukebox no longer working derwildemann 5 178 05-16-2013 09:37 AM
Last Post: Omertron
  Moviejukebox.ERROR HanSolo076 1 476 02-01-2013 10:44 AM
Last Post: Omertron
  Interpreting moviejukebox.log melonboy 4 318 12-24-2012 05:30 PM
Last Post: Omertron
  TOMY : moviejukebox.properties and emerton ? fa355115 2 788 02-06-2012 08:04 PM
Last Post: fa355115
  The moviejukebox overlay configuration file you specified is invalid: overlay-default BigPines 4 1,367 01-31-2012 01:01 PM
Last Post: cachirro
Exclamation Properties not listed in moviejukebox-default.properties file Auggie 3 1,132 12-30-2011 10:53 PM
Last Post: Omertron
  [split] MovieJukebox v2.5.1 Released Smurfin 10 2,188 12-13-2011 01:33 PM
Last Post: Smurfin
  [split] MovieJukebox v2.5.1 Released steve_guitar 1 875 11-07-2011 09:13 AM
Last Post: Omertron
  [split-accidents error] MovieJukebox v2.5 Released accident 14 2,368 10-30-2011 02:28 PM
Last Post: naufelm
  problem all of a sudden rereading my moviejukebox mugenintegra16 2 958 10-22-2011 02:22 AM
Last Post: mugenintegra16

Forum Jump: