View Full Version : LDJ 0.24 Available
brockgr
June 7th, 2003, 09:29 AM
Okay,
The wife is out - the baby is asleep. Finally I got some coding done. But keep your expectations low! :lol:
It's here http://www.netremote.org/drops/luadvdjb-0.21.zip
This is ALPHA quality - it works for me. I don't promise it will work well for anyone else.
Make sure you have the latest feedback here (http://www.netremote.org/phpBB2/viewtopic.php?t=192&sid=76157243169b6e11a75407b89e1c56ea).
The installation for this LDJ has changed a little. There are four files, and no readme. The files are as follows:
luadvdjb.lua - Put this in your .../girder/lua directory (like the feedback .lua file)
noimage.dvd - Put this in your .../girder/lua directory too (not c:\ anymore)
[Restart Girder at this point]
luadvdjb.gml - Load this into Girder
luadbdjb.ccf - Load this into teh most recent NetRemote
It does not do:
- Filtering
- Divx files
- Daemon tools
However improvements are:
- Multi image
- Removed the "script reset" dependacies. DVD's are scanned on Girder startup.
- Used some cool new buttons with alpha transparency ( :D :D )
Please let me know if you have problems - I don't need feature requests at this point. I have a long feature request list already - I will get into that when I have all the original functionality working again.
Cheers,
Gavin
QuickCarl
June 8th, 2003, 07:21 PM
Gavin, thanks for the work. Seems to be coming along quite nicely. I can see that it won't be much longer for your part of the project to give me what I am looking for.
Here is a peek at what mine is looking like: [edit]
http://a0.cpimg.com/image/9A/EC/35266970-49a2-02000180-.jpg
Now if I get get c aouple of tips from you on how to make it do just a couple of simple things.... BINGO!
Now where is that IR passthru for the USB UIRT...LOL
Thansk again!
brockgr
June 8th, 2003, 07:43 PM
Carl,
If you feel up to it. You probably can do that screen now!!. The screen is designed to be ripped apart.
* Put the contents of the "Selected Item" panel on the "Cover Index" panel.
* Remove the jump commands from the thumbnails (will happen automatically if you delete the "Selected Item" panel)
* Change the Up/Down buttons from 9 to the number of thumbnails you have.
* Similarly change the "Private.CoversPerPage" in the LUADVDJB.lua
* If you need "titles", grab those labels from the "Title Index". (I don't have space for thumbs and titles on the PPC).
You can still have the "A-Z" buttons if you like them (check out the buttons on the "Title Index" page. However I'm getting into these scroll bars.
Do you need any other basic interface functions? Now all I need is more cool alpha transparency effects.
Gavin
p.s. I'm a 'via-Girder' USB-UIRT user. Very few of my buttons just generate IR codes :D.
QuickCarl
June 8th, 2003, 08:11 PM
Hi Gavin!
Thanks for the pointers.... but I already ripped off all of your code...hehehe
I built the screen, changed the large picture to image0 (since it was easier to navigate that way) I put an LDJ.Next(X) where is the position of the image so that if I click on the image, BAM it goes to position 0 and displays...
I guess that I will be looking into how to do the Sony Mega DVD via Girder USB UIRT...LOL.
Wondering what kinds of things we can do with the filtering....
BTW, the letter jumps from my original work just fine.
Thanks again for all the work. I really like the PPC interface and will prolly leave it as is....
sdellutri
August 4th, 2003, 03:18 AM
I installed the .21 version of LDJ and it took some time to get it working. After some troubleshooting efforts, I was able to get it to work only after changing some of the script.
I need to change everywhere that the script was calling "LDJ_girder_feed_back" and replace it with "TriggerEvent"
As an example, below is the script code within the gml under the command for "playchangerdisk"
--------------------------------------------------------------------------
print(pld1)
if (pld1) then
TriggerEvent("LDJ_Changer_Preamble", 18)
--- LDJ_girder_feed_back("LDJ_Changer_Preamble")
for i=1,strlen(pld1)do
local digit = strsub(pld1,i,i)
print("LDJ_Changer_Digit_" .. digit)
TriggerEvent("LDJ_Changer_Digit_" .. digit, 18)
--- LDJ_girder_feed_back("LDJ_Changer_Digit_" .. digit)
end
TriggerEvent("LDJ_Changer_Postamble", 18)
--- LDJ_girder_feed_back("LDJ_Changer_Postamble")
end
--------------------------------------------------------------------------
After making these changes, it is working great on the NetRemote .99 Win32, but the PPC2k2 seems to be painfully slow. Looks like its choking on the image updates.
I have a collection of about 130 disks entered in via DVD profiler, and I am connected to the Sony 850D 200 disk mega changer by way of a USB-UIRT.
Its because of this software, that I actually got motivated to get the DVD changer!!
Thanks guys!!
brockgr
August 4th, 2003, 03:33 AM
sdellutri,
Thanks for persevering with LDJ - I'm glad it did work (sort of).
I think you are actually the first person to use this with a DVD changer - which would explain why the code was a bit rough!! I'll put those changes back into the distro - what kind of changer was it?
The image loading is something I have worked on. The problem is that the JPEG renderer sucks on the PPC (not Ben's fault). The latest, unreleased version of LDJ uses a program to preprocess all the images and convert and resize them. This works, but means that Girder takes an age to start up (Converting 300 Jpegs is not fun).
I'll release that version soon.
Gavin
Mastiff
August 4th, 2003, 07:02 AM
That wouldn't be a problem for me since I reboot my HTPC only when there's a thunderstorm or I change something major on it. It usually runs for weeks and weeks at a time. 8)
sdellutri
August 4th, 2003, 06:58 PM
I am using a Sony DVP-CX850D 200 disc mega changer. (http://www.audioreview.com/DVD,Players/Sony,DVP-CX850D/PRD_117379_1587crx.aspx)
Its an older model with only average picture quality, but the remote codes and changer interface is very simmilar (if not the same) as the new unit the 875P which I was thinking about getting when I fill up the 200 slots.
I am using a USB-UIRT to control the changer via Girder. The USB-UIRT is really really great!! I highly recommend it.
I have installed in my PC a Pixelview PlayTV PVR card as well which I plan to use to capture the svideo output of the DVD changer. The playTV card has very problematic software and drivers, so I have disabled the tuner capabilities and just use it for svideo capture (like an xcapture card). In addition to working with your LDJ, I am trying to see if there is a good way to integrate it with mtHTPC (www.myHTPC.net) for interactive viewing.
One of the things I am planning to change in my CCF is to limit the number of images it attempts to display at one time to reduce the effect of the performance problem.
hgys
August 6th, 2003, 03:03 AM
I'm having a problem getting LDJ.PlaySelected() to trigger a girder event w/ version .21. Girder detects LDJ.PlaySelectdDVD_CHANGER being issued, and the dvd location is being correctly parsed from the DVD Profiler export file, but the Play Changer Disk event doesn't appear to be triggering. I've substituted TriggerEvent("LDJ.PlaySelectedDVD_" .. dvd.type,18, dvd.location) for %Private.girder_feed_back(command,payload), and nothing happens with either command. I'm using netremote .99rc8 and the win32 version does everything but trigger playing video. I haven't gotten the PPC version doing much, but have been focusing on the win32 version, since it's more convenient to play w/ right now. Are there any tips anyone can give me on getting the LDJ.PlaySelected() trigger working?
Thanks,
Henry
sdellutri
August 6th, 2003, 06:30 PM
In my earlier post, I described that...
I need to change everywhere that the script was calling "LDJ_girder_feed_back" and replace it with "TriggerEvent"
I was having the same problem as you, but once I replaced with TriggerEvent, I was able to get it working...
Hope this helps
hgys
August 6th, 2003, 10:00 PM
I was able to get an earlier version working by using TriggerEvent, but substituting TriggerEvent in "luadvdjb.lua" version .21 hasn't had any effect. I'm currently using winluax 1.0.2. Then tried 1.06, and things got much worse. I'm also using netremote feedback .06, which I believe is the current version. The version of LDJ I downloaded which was packaged as .21, defines "girder_feed_back", not "LDJ_girder_feed_back". I see a LDJ_girder_feed_back in version .09 but not .21.
Henry
sdellutri
August 6th, 2003, 11:08 PM
I made my modification in two places.
1st: In the file LUADVDJB.lua, close to the bottom, in the function function Public.PlaySelected()
I Replaced this line
%Private.girder_feed_back("LDJ.PlaySelectedDVD_" .. dvd.type, dvd.location)
With this line
TriggerEvent("LDJ.PlaySelectedDVD_".. dvd.type, 18, dvd.location)
2nd: I opened up Girder and the LDJ GML and navigated to the "Play Changer Disk" command, and opened up the script. The complete script under this command now looks like this: (Basically the same thing replacing the LDJ_girder_feed_back functions with TriggerEvent functions)
print(pld1)
if (pld1) then
TriggerEvent("LDJ_Changer_Preamble", 18)
--- LDJ_girder_feed_back("LDJ_Changer_Preamble")
for i=1,strlen(pld1)do
local digit = strsub(pld1,i,i)
print("LDJ_Changer_Digit_" .. digit)
TriggerEvent("LDJ_Changer_Digit_" .. digit, 18)
--- LDJ_girder_feed_back("LDJ_Changer_Digit_" .. digit)
end
TriggerEvent("LDJ_Changer_Postamble", 18)
--- LDJ_girder_feed_back("LDJ_Changer_Postamble")
end
Hope this helps...let me know if you need any more help.
Gavin --- maybe you could include these changes in your package and post a 0.22 version of LDJ to assist others in getting started?
Steve
brockgr
August 8th, 2003, 12:01 AM
Eeek you guys are getting way ahead of me - let me go back hoem a look at the code.
I have a feeling it may be related to LDJ using the "Girder Internal" event type for the events it triggers. Teh problem is that it is inpossible to enter these in to the GML - it has to be learned by simulating an event. This may a 'correct' way to do it - but it is a pain.
Let me look when I get home.
Anyway - thanks for playing guys. More eyes on the code the better.
Gavin
brockgr
August 9th, 2003, 03:18 AM
Ok, here goes:
LDJ 1.22 (http://www.brock-family.org/luadvdjb/luadvdjb-0.22.zip) (This is hosted of my site which is a little slow - the netremote.org upload feature seems to be down at the moment)
This version should be up to the functionality of the 1.1x versions.
* Reimplemented filtering
* Fixed Changer event generation (see previous messages)
* Added Image conversion - currently use Image Magick "Convert"
* Since all images are GIFs, PPC performance should be better (but alpha trans is still ugly)
* If a DVD in Profiler and a media file on disk match titles - the info is combined
* For files found on disk, cover images can come from a central directory (files of the format title.jpg)
Installation is still nasty - sorry.
Put LUADVDJB.lua noimage.jpg and convert.exe in your girder32/lua directory and restart girder (may take a while to convert images). Load the luadvdjb.gml into girder and the luadvdjb.ccf in to NetRemote.
Edit: You will need to install Image Magick from the distribution (here (http://www.imagemagick.org/www/archives.html) - look for Win32 binaries) to make sure your registry is set up.
Let me know how you get on.
Gavin
Ben S
August 9th, 2003, 10:26 AM
(This is hosted of my site which is a little slow - the netremote.org upload feature seems to be down at the moment)
Sorry Gavin, it's back up. I had a bit of a database problem last night with the forum, and apparently didn't restart Tomcat to reinitialize it's connection pools.
I also finally added the ability to modify a file you've uploaded. Because of a small bug in the template system (http://www.webwingnut.org) I had to make separate options to modify description and option text as opposed to reupload the file.
I just download LDJ and am going to give it a run right now.
Thanks Gavin!
Ben S
August 9th, 2003, 10:55 AM
I think I need to download and install ImageMagick separately. It complains about missing registry keys and never creates any thumbnails.
Also, saw a few errors with Movie Titles such as "Benny & Joon" and "Bill and Ted's Excellent Adventure".
I'll go grab ImageMagick and see if it helps.
Ben S
August 9th, 2003, 11:20 AM
Downloading ImageMagick worked. It now converts correctly.
Gavin, is there any reason you can't create the it the images/THUMBNAILS directory in DVD Profiler, with the same ID's as the source? Then you can check if the file exists before adding it to the batch file. It would then only need to convert new files added.
In other news, I'm having trouble getting Feedback working.
I get
error: attempt to call a nil value
stack traceback:
1: function `AddEventHandlerName' [C]
2: main of file `...ogram Files\girder32\LUA\NetRemote Feedback.lua' at line 45
LUAEvents is downloaded and checked in the plugin screen. NR Feedback.lua is the newest version from the user uploads directory.
brockgr
August 9th, 2003, 11:37 AM
Uh-oh, feedback errors don't sound good. I always get the following two:
Loading LUADVDJB.lua
error: attempt to call a nil value
stack traceback:
1: function `AddEventHandlerName' [C]
2: main of file `C:\Program Files\girder32\LUA\LUADVDJB.lua' at line 1032
Loading NetRemote Feedback.lua
error: attempt to call a nil value
stack traceback:
1: function `AddEventHandlerName' [C]
2: main of file `...ogram Files\girder32\LUA\NetRemote Feedback.lua' at line 45
They are a known bug in the LUAEvents stuff. Does it all work apart from that?
Good catch with the Image Magick installation - didn't realise that convert.exe had those dependancies. I think I'll revisit IrfanView again.
Where and when to scale the images to is an interesting problem. I'm not sure if I want to assume that DVD Profiler is installed. Most people have it - but not everyone. I agree that not resizing the images if they are already there is a good idea, but if an image changes, it might be hard to pick up. Checksumming would help, but it's not build into LUA.
One other way would be to run the image scaling batch file in "the background" rather than waiting for it to finish. Anyone know how to execute a batch file in the background?
Gavin
Ben S
August 9th, 2003, 11:53 AM
They are a known bug in the LUAEvents stuff. Does it all work apart from that?
Unfortunately no. I watch the output in the script editor and I don't ever see it register the client. Of course (as usual) I'm using a newer version of NetRemote, so it's possible that something is messed up. When I step through the Girder driver I see it send NRREGISTER appropriately.
I can enable logging to see events come in, right?
Ben S
August 9th, 2003, 12:44 PM
Whoops! The password was wrong in Girder. The suite installer should set this, I'll need to check to see why it was not correct.
Fixing the password fixed the issue. I still see the errors but it works as expected. Nice!
hgys
August 10th, 2003, 01:17 PM
I got a bit closer w/ my problem. In "function Public.GirderEvent(command,payload)
TriggerEvent(command, 203, payload)
end", i changed the device number from 18 to 203 to use the Internet Event server. GirderEvent now triggers the girder event. I'm still passing the wrong payload, but that shouldn't be too hard to correct. I read the Girder developer page w/ indicated "device 18 InGirder Events (Girder 3.1)". Don't know enough about Girder or LUA to explain why 18 seems to work for some things under 3.2.
Henry
brockgr
August 10th, 2003, 04:46 PM
I think problems depend on how you have programmed (or reprogrammed) the events. Internet Events (203 I htink) are easy to program in (learn) since you can edit them through the GUI. The internal 18 events need to be learned by example. That's why I have an "Internal Event Creator" command in the LUADVDJB.gml. I just change the code in that command to match the event I want to learn, then select the event I need to teach, click "Learn Event" and then right-click test command on the "Internet Event Creator".
Gavin
hgys
August 10th, 2003, 08:21 PM
Brain fart. I don't play w/ Girder enough. I had the wrong type of event selected. A large number of my events are triggered using the Internet Event server. Changing to Girder events made everything work fine.
Henry
Promixis
August 15th, 2003, 11:19 AM
Gavin,
What is the problem/bug with the lua events plugin?
Mike
brockgr
August 15th, 2003, 12:33 PM
It's not a bug - just an spurious error. For some reason we get messages of the following type when a "LUA Event" is defined:
error: attempt to call a nil value
stack traceback:
1: function `AddEventHandlerName' [C]
2: main of file `...ogram Files\girder32\LUA\NetRemote Feedback.lua' at line 45
Where that line has:
AddEventHandlerName(203, "NRCLIENT.REGISTER", "GirderRegisterNRClient")
... Gavin
Promixis
August 15th, 2003, 05:55 PM
Thanks, I was having that problem even though the code worked. A little confusing...
Is Mark aware of it?
brockgr
August 15th, 2003, 11:57 PM
Is Mark aware of it?
Nope - I need to get back to the girder guys on this one.
brockgr
August 20th, 2003, 08:59 AM
LDJ 0.23 (http://www.netremote.org/WingNut/servlet/NRWorker/download.html?ID=38)
Main change is that I fixed a bug in the MPEG play events. I think this also may be the first release to use Ben's funky CCF loops to generate the image tables.
Gavin
Mark F
August 21st, 2003, 12:31 PM
Yes, getting back to the Girder guys on this would certainly get it fixed faster. :D
Sorry, I just learned of this forum and this bug/limitation/whatever it is. I'll take a look at it as I find time but I don't experience this on my system right now so it may take a while to recreate and fix.
I'm not sure if I'll remember to post the results here but I'll definitely post them in this thread (http://www.girder.nl/phpBB2/viewtopic.php?t=4636) over in Girderland.
brockgr
August 21st, 2003, 08:01 PM
Mark,
Welcome!! As you can see LUAEvents are being heavilly excersised over here. And although we get those warning messages, it is proving very stable.
One other weirdness we had was with Tor, who used to save/load registers on Girder restart and somehow this did not coexist with LUA Events. Again, no show stopper.
Let me know if I can provide you with anything to help.
Cheers,
Gavin
Mark F
August 22nd, 2003, 05:17 AM
Gavin,
Thanks for the welcome.
Are you using the latest version of Girder (3.2.9b) and the released version of LUAEvents or is this one of the LUAEvents BETA versions? The reason I ask is I thought I had fixed the last ordering problem in the latest LUAEvents code.
The Girder "Load Registers" function APPEARS to free the LUA global variable space of Girder. If so, this frees (undefines) all global functions (which are actually held in global variables), as well. IE. The functions and variables set up in the *.LUA files get trashed.
Depending on which executes first (the load command or the LUAEvents Enable processing), you may have a functioning system or you may not.
EDIT: After reading through some of the stuff here, I'm a bit confused. I have repeatedly read that Girder events (device ID 18) are somehow different than internet server events (device ID 203). I can't seem to understand this distinction. What are you talking about?
You can send either with a TriggerEvent() command or you can learn either by choosing the correct plugin from the dropdown next to the learn button, pressing the learn button and typing in a string. I'm obviously missing something. Sorry. :(
Ben S
August 22nd, 2003, 05:47 PM
I have to second that welcome, Mark.
With LuaEvents and WinLua you've made much of what NetRemote can do possible. Thanks for stopping by!
Gavin, does it make sense to move the Mouse movement, button, and scroll passthrough and Keyboard passthrough into a .lua file so people don't see them in the .gml file? I can't imagine someone wanting to override them, and they're almost entirely lua anyway (except for the keyboard passthrough).
brockgr
August 22nd, 2003, 07:43 PM
Mark - I think I'm using the LUA Events on the web site (1.0.0). Was there a later beta than that (I may have uninstalled for compatability with the rest of the guys here)? Girder is 3.2.9 (not b maybe - it's the one that the NetRemote Suite installer automatically grabs).
The event ID mix ups were becuase I had trained a few of my commands using IEvents - when they should have been internal events. From what I can see, a "Foo" internet event will trigger different commands to a "Foo" internal girder event, they are both not just a "Foo" event.
All events have a type as well as a string - right? I got the types mixed up mostly becuase the only way I can see to train internal events is to call "TriggerEvent" from LUA which involoves a lot of clicking between Commands - any chance of an "Internal" choice on the event type dropdown box? ;)
Ben - Yes that would probably be a good idea. Do you want to do it, or I can if you point me at your latest and greatest mouse stuff.
Thanks guys...
Gavin
Mark F
August 22nd, 2003, 10:51 PM
Internal event is already on the drop down list. It is spelled "Girder Event". ;)
When you choose Girder Event and press the Learn button, a dialog box appears. Type the event string into the top field and press select. All done. The event string you typed will be used along with ID 18 (internal or Girder).
You are right, events are matched using both the event string and the plugin/device ID. So you DO need the right plugin ID or they won't be matched correctly.
The latest LUAEvents is linked (http://prdownloads.sourceforge.net/girderplugins/LUAEvents.1.0.0.zip?download) from the Girder site. If that is the one you are using, then there is a definite problem with the plugin. :(
You may see releases of WinLUAEx and LUAEvents on the Girder site in the next couple of days. I have some new function and fixes to put out. I will continue to try to find the intermittent problem you are seeing but I currently don't have a good feeling about it.
Just to make sure I am not misunderstanding, when you see this:
error: attempt to call a nil value
stack traceback:
1: function `AddEventHandlerName' [C]
2: main of file `...ogram Files\girder32\LUA\NetRemote Feedback.lua' at line 45
The LUAEvents plugin is running the script due to a GirderEnable (startup) event, right?
Thanks for using my plugins, guys. Projects like this make the hours I spend on this stuff worth while. :D
It is currently 11pm and I've been up since 4am. I'm rambling and need sleep.
Mark F
August 26th, 2003, 07:53 AM
Just a quick update, I have not been able to recreate the "attempt to call a nil value" error using LUAEvents. :( I'll continue looking.
I uploaded a new version of th eLUAEvents plugin to fix the "GetDirectory()" bug that made initial loading of *.lua files break.
I also uploaded a new version of the WinLUAEx plugin that supports registry editing. This allows a user to save and restore values. I think of it as LUA scripts and event handlers can now have persistant configuration data. If the configuration needs to be changed from the default value, the new "default" value can be saved for next time without editing scripts.
I can see it being used for things like:
"Favorites" lists
"Most recently used files" lists
Driver configuration (MouseAcceleration = ON/OFF, etc.)
Hopefully, this will be useful. One warning: Willy-nilly editing of the registry can cause Windows to be unstable! Please use with care. :D
brockgr
August 26th, 2003, 09:51 AM
Mark
Thanks for looking into this. I just reinstalled 1.0.0 from the web site. I still get the warnings at script reset time (it may happen at load time, but I don't have an output window available to see them). To reconfirm - with NetRemote feedback and LDJ LUA files installed, I get:
Loading LUADVDJB.lua
error: attempt to call a nil value
stack traceback:
1: function `AddEventHandlerName' [C]
2: main of file `C:\Program Files\girder32\LUA\LUADVDJB.lua' at line 1032
Loading NetRemote Feedback.lua
error: attempt to call a nil value
stack traceback:
1: function `AddEventHandlerName' [C]
2: main of file `...ogram Files\girder32\LUA\NetRemote Feedback.lua' at line 45
LOAD
Scanning directories for DVDs..
<snip>
On a slightly related note - any way to do this?
local Public = {}
AddEventHandlerName(18, "NetRemote.Loaded", "Public.DelayedScan")
It currently doesn't seem to handle pointers to functions iside hashs, or have I got the syntax wrong.
Cheers,
Gavin
Mark F
August 26th, 2003, 10:58 AM
Thanks for the confirmation. I still don't see the failure here. :( I'll keep looking.
As for your question, you are right, there is no way to do what you want right now. Indirect addressing is not currently supported. I certainly COULD support this; but, before supporting this, I would need to know the expected behavior. Would this use a lazy binding (the function is bound in the event handler so the variable needs to be valid during the event handler processing) or immediate binding (the function is bound during the AddEventHandlerXXX() call).
Lazy binding appears easier to implement but has drawbacks (variable scope, type changes, etc.).
I'll look at this, too. :D
brockgr
August 28th, 2003, 01:34 AM
LDJ 0.24 (http://www.netremote.org/WingNut/servlet/NRWorker/download.html?ID=42)
Only change:
* Fixed calls to the error function - should fail better now :wink:.
Gavin
jeffl012
September 24th, 2003, 08:51 PM
Hello Gavin,
Great job on LDJ!
I'm trying to get this to work and am running into a couple of issues. I'm sure it's a result of bad configuration on my part, but these are the problems. When using the "luadvdjb.ccf" CCF:
1. Filtering (genre) is not functioning (button is pressed, girder event is triggered, no error is reported by girder, nothing happens)
2. Clicking the "Next" or "Previous" buttons don't work (same action as above)
3. The list of movies display the proper movie titles, but also displays the "VIDEO_TS" folders that exist under the movie title folder
My movies are ripped to "D:\DVDMovies\<Movie Title>\VIDEO_TS\". I've specified:
Private.dirs = {
"D:\\DVDMovies\\",
}
for the path in the "LUADVDJB.lua" file (this is probably what's wrong, right?). I believe I have all of the latest installation files based on this thread. If I can get this working, I'm going to ask my graphic designer to do a ccf that will have the same look and feel as the "NRMC19.ccf" (brushed metal) which I'll then submit to be posted. I also plan to modify the gml to work with TheaterTek too.
Thank a heap.
Jeff
brockgr
October 1st, 2003, 07:17 AM
Oops forgot to answer number 3 in the other thread - yes I'll look into adding a feature to do that. I guess I will make the IFO file type a pattern.
Gavin
kanman
October 9th, 2003, 06:31 PM
Hi Gavin
I am trying to get LDJ working and I feel like I am spinning my wheels now. Here is where I am at and where my files are.
I have installed DVD Profiler and have the cover art for my test DVD in the default locations and exported to c:\collections.xml
I have installed LUA scripting into grider and it is on
I have Zoom Player installed and it is functional
I have Girder 3.2.9 install and functional
I have put the following files into the c:\program files\girder32\LUA directory:
noimage.jpg
convert.exe
LUADVDJB.lua
Are there any files that I am missing?
I openned the LUADVDJB.lua file and edited the following lines to show where my movies are:
-- Private.dirs = The subdirs to search for DVD's - these will be recursed
Private.dirs = {
"c:\\media\\video\\",
}
and
-- If an image is not found with the media file, look in a shared place
Private.covers_dir= "c:\\media\\images\\";
The DVD profiler lines remained the same from this area as I installed that to the default locations
The problem is that I can not get any feedback or display to Netremote - I looked at the instructions on the site for setting up LDJ but they are a bit out of date from the code that I see (i.e. there is no longer a intialize in the gml) I test the rescan command and I get no errors so I assume from this that it is reading the locations correctly. My test movies are .avi but I see in the .lua file that you equate these to MPG so these should play correct?
The movies play fine in Zoom Player when I select them I just can not get anything to display and function on Netremote.
Have I missed something obvious? Please let me know how I can get some confirmation to see if girder/netremote are even getting a payload.
Any help you can give me would be great
Thanks
Kevin
kanman
October 12th, 2003, 12:52 PM
OK Here is where I am now.
I was having a problem getting the movie to acutally play. But after reading this post over o few more times I saw that the "LDJ.PlaySelectedDVD_MPG" was using the Internet Event Server in Girder. I tried changing the to a Girder Event as was mentioned in the post and it work - the movies are now playing - Zoom Player starts and the movie plays as it should.
Current problems I am still having are:
1) The Next and Prev buttons do not work - I tried changing these to a Girder Event also but that did not work.
2) Some of the movie files I have do not pull their cover art from DVD Profiler, I have my own cover art for them - where should the image file be? Currently I have it in the same folder as the movie...it is also named the same as the movie but it still does not get displayed...the images in DVD profiler work fine.
Kevin
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.