PDA

View Full Version : anyone got ldj 0.27 working?



cdebuhr
February 1st, 2005, 10:45 AM
hi there,

i am trying to get ldj 0.27 running.

ldj 0.27 installed ok
gml integrated ok
ldj lua script finishes with no errors

so far so good - but canīt any covers and so on...

plz help

chris

Rob H
February 1st, 2005, 11:04 AM
In girder\lua\lib you should find a file called ConfigLDJ.lua

You'll need to integrate the contents of that with your CCF's lua file. If you don't already have one then you can rename ConfigLDJ.lua accordingly.

If you take a look at the example CCF and lua included in the install then you'll see what I mean.

Earlier versions of LDJ didn't require this, but I made this change so that you can have multiple copies of NR each with different sizes and numbers of DVD covers.

cdebuhr
February 1st, 2005, 11:34 AM
hi rob,

thx for your fast help.

i copied that function into my lua. hm... no change.

the images are in the ldj-temp folder.
the id-tag of my "preview"-button is called IMG:LDJ_DVD_Cover_<LoopIndex>
but nothing is displayed.

which example ccf do you mean?

thx
chris

Rob H
February 1st, 2005, 11:43 AM
Did you call it from OnCCFLoad()?

The example CCF is "Dan V2-6.ccf" in the Girder directory.

cdebuhr
February 1st, 2005, 11:47 AM
the example ccf doesnīt show covers aswell.

any hints?

Rob H
February 1st, 2005, 11:57 AM
You do have IrfanView installed I take it? And in the default location?

If so then you'll need to install the logger pluging (version 1.0.8 not 1.0.9 which you can get from http://sourceforge.net/projects/girderplugins/) and see if there are any errors.

cdebuhr
February 1st, 2005, 12:15 PM
wooha...there is something wrong...
i installed the logger -> while looking up dvds i get thousands of lua-msgs:

LUA: --> --> --> --> return C index tag-method
LUA: --> --> --> --> call C index tag-method
LUA: --> --> --> --> return C item field
LUA: --> --> --> --> call C item field
LUA: --> --> --> --> return C index tag-method
LUA: --> --> --> --> call C index tag-method
LUA: --> --> --> --> return C index tag-method
LUA: --> --> --> --> call C index tag-method
LUA: --> --> --> --> return C index tag-method
LUA: --> --> --> --> call C index tag-method
LUA: --> --> --> --> return C index tag-method
LUA: --> --> --> --> call C index tag-method
LUA: --> --> --> --> return C item field
LUA: --> --> --> --> call C item field
LUA: --> --> --> --> return C index tag-method
LUA: --> --> --> --> call C index tag-method


21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> call C index tag-method
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> return Lua TextOf field
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> --> return Lua xml_to_text field
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> --> --> return C strfind global
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> --> --> call C strfind global
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> --> call Lua xml_to_text field
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> --> return C index tag-method
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> --> call C index tag-method
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> call Lua TextOf field
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> return C getn global
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> call C getn global
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> return C index tag-method
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> call C index tag-method
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> return C item field
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> call C item field
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> return C index tag-method
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> call C index tag-method
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> return C index tag-method
21:06:16 Tuesday, February 01, 2005 LUA: --> --> --> --> --> --> call C index tag-method

Rob H
February 1st, 2005, 12:17 PM
Turn off the internal LUA messages (press the LUA button on the logger window and uncheck the 'Add LUA' box)

Make sure that the two Usurp boxes are checked.

cdebuhr
February 1st, 2005, 12:17 PM
You do have IrfanView installed I take it? And in the default location?

irfan is installed but in "c:\programme\...". but i already changed the path in your lua.
and the images are in the ldj-temp folder.
that seems to work.

but these images are not shown in NR.

Rob H
February 1st, 2005, 12:17 PM
Oh, and are you seeing the titles at least?

cdebuhr
February 1st, 2005, 12:21 PM
no nothing.

cdebuhr
February 1st, 2005, 12:25 PM
21:22:04 LUA: --> --> --> --> --> --> --> --> --> --> call C _ERRORMESSAGE global
21:22:04 ALERT: error: attempt to index global `dvd' (a nil value)
21:22:04 ALERT: stack traceback:
21:22:04 ALERT: 1: method `RefreshTitles' at line 811 [file `C:\Programme\girder\lua\lib\LDJClient.lua']
21:22:04 ALERT: 2: method `Filter' at line 684 [file `C:\Programme\girder\lua\lib\LDJClient.lua']
21:22:04 ALERT: 3: method `InitFilters' at line 351 [file `C:\Programme\girder\lua\lib\LDJClient.lua']
21:22:04 ALERT: 4: method `InitFiltering' at line 1165 [file `C:\Programme\girder\LUA\LUADVDJB.lua']
21:22:04 ALERT: 5: method `Rescan' at line 1286 [file `C:\Programme\girder\LUA\LUADVDJB.lua']
21:22:04 ALERT: 6: main of (none)
21:22:04 LUA: return C _ERRORMESSAGE global


these lines come up after a million of these lua-msgs i mentioned above.

Rob H
February 1st, 2005, 12:25 PM
This is what I get when I fire up NetRemote - what do you get?



20&#58;18&#58;27 Tuesday, February 01, 2005 EVENT&#58; Dev&#58; 203 Incoming connection Pld1&#58; 192.168.0.138
20&#58;18&#58;27 Tuesday, February 01, 2005 EVENT&#58; Dev&#58; 203 Accepted connection Pld1&#58; 192.168.0.138
20&#58;18&#58;27 Tuesday, February 01, 2005 LUA EVENTS&#58; 'Name' type event processing using&#58; 'GirderRegisterNRClient'
20&#58;18&#58;27 Tuesday, February 01, 2005 PRINT&#58; Registering 192.168.0.138&#58;30000
20&#58;18&#58;27 Tuesday, February 01, 2005 PRINT&#58; Connected
20&#58;18&#58;27 Tuesday, February 01, 2005 EVENT&#58; Dev&#58; 203 NRCLIENT.REGISTER Pld1&#58; 192.168.0.138 Pld2&#58; 30000
20&#58;18&#58;28 Tuesday, February 01, 2005 EVENT&#58; Dev&#58; 203 LDJ.Configure Pld1&#58; 192.168.0.138 Pld2&#58; 24,24,42,256,135,93,
20&#58;18&#58;28 Tuesday, February 01, 2005 PRINT&#58; Created client for 192.168.0.138
20&#58;18&#58;28 Tuesday, February 01, 2005 PRINT&#58; Set number of thumbnails per page to 24 for clientAddress 192.168.0.138
20&#58;18&#58;28 Tuesday, February 01, 2005 PRINT&#58; Set number of titles per page to 24 for clientAddress 192.168.0.138
20&#58;18&#58;28 Tuesday, February 01, 2005 PRINT&#58; Set number of filters per page to 42 for clientAddress 192.168.0.138
20&#58;18&#58;28 Tuesday, February 01, 2005 PRINT&#58; Set cover height to 256 for clientAddress 192.168.0.138
20&#58;18&#58;28 Tuesday, February 01, 2005 PRINT&#58; Set thumbnail height to 135 for clientAddress 192.168.0.138
20&#58;18&#58;28 Tuesday, February 01, 2005 PRINT&#58; Set title max length to 93 for clientAddress 192.168.0.138
20&#58;18&#58;28 Tuesday, February 01, 2005 PRINT&#58; UpdateConfiguration called
20&#58;18&#58;28 Tuesday, February 01, 2005 PRINT&#58; RefreshTitles called from InitClient

Rob H
February 1st, 2005, 12:31 PM
Aha, I see the problem.

In LDJClient.lua you need to change lines 807 to 815 to the following :-



-- Display extra titles
for n=self.CoversPerPage+1, self.TitlesPerPage do
if &#40;current+n <= count&#41; then
local dvd = dvds&#91;current+n&#93;
self&#58;SendTitle&#40;dvd, n&#41;
self&#58;SendDVDType&#40;n, dvd.type&#41;
else
self&#58;ClearTitle&#40;n&#41;
end
end


I hadn't tested that version with more titles than DVD covers

cdebuhr
February 1st, 2005, 12:33 PM
this is what i get when startin nr: (sorry ...)

21:28:04 EVENT: Dev: 203 Incoming connection Pld1: 192.168.2.103
21:28:04 EVENT: Dev: 203 Accepted connection Pld1: 192.168.2.103
21:28:04 LUA EVENTS: 'Name' type event processing using: 'GirderRegisterNRClient'
21:28:04 LUA: call main
21:28:04 LUA: --> call Lua GirderRegisterNRClient global
21:28:04 LUA: --> --> call Lua Register field

Rob H
February 1st, 2005, 12:34 PM
Please turn off the LUA internal messages as described earlier. They really just obscure what's happening.

cdebuhr
February 1st, 2005, 12:41 PM
ok then this is my log:

21:38:40 EVENT: Dev: 203 Incoming connection Pld1: 192.168.2.103
21:38:40 EVENT: Dev: 203 Accepted connection Pld1: 192.168.2.103
21:38:40 LUA EVENTS: 'Name' type event processing using: 'GirderRegisterNRClient'
21:38:40 PRINT: Registering 192.168.2.103:30000
21:38:40 PRINT: Connected
21:38:40 EVENT: Dev: 203 NRCLIENT.REGISTER Pld1: 192.168.2.103 Pld2: 30000
21:38:40 EVENT: Dev: 203 NR.StartUp Pld1: 192.168.2.103 Pld2: NR.StartUp
21:38:40 EVENT: Dev: 203 Weather.SetDay
21:38:40 PRINT: 2
21:38:40 EVENT: Dev: 203 Weather.Current
21:38:41 PRINT: Dusseldorf, Germany
21:38:41 PRINT: Current Temp 39 F / 4 C
21:38:41 PRINT: Feels Like 32 F / 0 C
21:38:41 PRINT: Currently Meist bewũlkt, Icon Number 27
21:38:41 PRINT: Wind Speed 10 mph, Direction WNW
21:38:41 PRINT: Humidity 87 %, Visability 6.2 mi
21:38:41 PRINT: 2/1/05 9:20 PM Local Time
21:38:41 EVENT: Dev: 203 Weather.Forecast

Rob H
February 1st, 2005, 12:45 PM
Can you post your CCF's LUA file. It doesn't look as though ConfigureLDJ is being called.

cdebuhr
February 1st, 2005, 12:49 PM
thats the beginning of my lua:

batteryimgdata = {};
batteryimgdataloaded = 0;
currentbatteryimg= -1;

--currentweatherimg = -1;
weatherimgdata = {};
weathertoday = "";
weatherimgdataloaded = 0




--Execute Girder actions or get info from Girder when NR starts
function OnCCFLoad()
NetRemote.SetVariable("Connected","0");
NetRemote.ExecuteAction(-1,0,1,"NR.StartUp");
NetRemote.ExecuteAction(-1,0,1,"LDJ.Configure("..thumbnailsPerPage..',' ..
titlesPerPage..',' ..
filtersPerPage..',' ..
coverHeight..',' ..
thumbnailHeight..',)');

end;


function OnVariableChange(varname,varvalue)
....

Rob H
February 1st, 2005, 12:55 PM
Ah, that explains it!


NetRemote.ExecuteAction&#40;-1,0,1,"LDJ.Configure&#40;"..thumbnailsPerPage..',' ..
titlesPerPage..',' ..
filtersPerPage..',' ..
coverHeight..',' ..
thumbnailHeight..',&#41;'&#41;;

That should be in it's original function and you then call it from OnCCFLoad passing in the relevant parameters.

Here's mine :-



function ConfigureLDJ&#40;thumbnailsPerPage, titlesPerPage, filtersPerPage, coverHeight, thumbnailHeight&#41;
NetRemote.ExecuteAction&#40;-1,0,1,"LDJ.Configure&#40;"..thumbnailsPerPage..',' ..
titlesPerPage..',' ..
filtersPerPage..',' ..
coverHeight..',' ..
thumbnailHeight..',&#41;'&#41;end ;



function OnCCFLoad&#40;&#41;
ConfigureLDJ&#40;24, 24, 42, 256, 135&#41;
end

cdebuhr
February 1st, 2005, 01:11 PM
i copied the code from your post above. but i get an "unexpected symbol near `)`" error.

whats wrong again?

Rob H
February 1st, 2005, 01:13 PM
Can you try the copy and paste again, you might have got it before I edited it to remove the extra quote.

cdebuhr
February 1st, 2005, 01:17 PM
ok. no erreor anymore. but still no covers/titles.

22:17:47 EVENT: Dev: 203 LDJ.Configure Pld1: 192.168.2.103 Pld2: 4,4,12,215,120,
22:17:47 PRINT: Client=192.168.2.103
22:17:47 PRINT: Params=4,4,12,215,120,
22:17:47 PRINT: Got param
22:17:47 PRINT: 4
22:17:47 PRINT: Got param
22:17:47 PRINT: 4
22:17:47 PRINT: Got param
22:17:47 PRINT: 12
22:17:47 PRINT: Got param
22:17:47 PRINT: 215
22:17:47 PRINT: Got param
22:17:47 PRINT: 120
22:17:47 PRINT: Only got 5 parameters

what can i do next?

thx a lot for your help.
chris

Rob H
February 1st, 2005, 01:20 PM
Try this one instead :-



function ConfigureLDJ&#40;thumbnailsPerPage, titlesPerPage, filtersPerPage, coverHeight, thumbnailHeight, maxTitleLen&#41;
NetRemote.ExecuteAction&#40;-1,0,1,"LDJ.Configure&#40;"..thumbnailsPerPage..',' ..
titlesPerPage..',' ..
filtersPerPage..',' ..
coverHeight..',' ..
thumbnailHeight..','..
maxTitleLen..',&#41;'&#41;
end ;

function OnCCFLoad&#40;&#41;
ConfigureLDJ&#40;24, 24, 42, 256, 135, 93&#41;
end


I'd got the versions mixed up

cdebuhr
February 1st, 2005, 01:27 PM
hurra, rob. ;-)
it works now. only filtering makes my ppc crash.
and i have to try to get vlc running instead of zp.

thx a lot for your patience.
chris

Rob H
February 1st, 2005, 01:31 PM
I can't think of any reason why filtering would make the PPC hang.

At what point does it hang?

And what's VLC?

cdebuhr
February 1st, 2005, 02:01 PM
vlc is a superb videoplayer that i use for video-streaming. (all my videos are on a "video-on-demand"-server in the basement. that works fine now.

---
after switching throu different filters - nr stopps resonding - only soft-reset helps there.

---
but more interesting: at dan 2.6 movie screen -> the 2nd row of thumbnails: the top 3mm of the pictures show the top 3mm of the pic shown there before. (difficult to describe in english). thats weird.

any help with that? :-(

Rob H
February 1st, 2005, 02:18 PM
I remember seeing that problem with Dan's CCF - not sure if I can remember the solution - Dan?

Which version of NR are you using? And does it do it in the Win32 version too?

cdebuhr
February 1st, 2005, 02:31 PM
i use the newest bulid 31.1.05.

i donīt have the win32 client installed. :-(

Rob H
February 1st, 2005, 03:12 PM
I'll see if I can reproduce this tomorrow. Time for bed now.

danward79
February 4th, 2005, 09:08 AM
I remember seeing that problem with Dan's CCF - not sure if I can remember the solution - Dan?

Which version of NR are you using? And does it do it in the Win32 version too?

Hi, Sorry for the delay I have been away, for 4 days.

I never got roumd to working out why that happens, it only happens on the ppc version thou, may be worth asking ben s

cdebuhr
February 4th, 2005, 11:44 AM
may be worth asking ben s

thx dan, i send him a pm.

Ben S
February 4th, 2005, 01:18 PM
Sounds like girder may not be sending the images properly? I'll setup LDJ for myself in the next few days and see if I can replicate.

Rob H
February 4th, 2005, 01:34 PM
I'm not sure about that Ben. As far as I can tell it works fine on the Win32 version with the same CCF.

One possibility is a difference in behaviour in the AvidUtils edit box between the Win32 and PPC versions.

In Dan's CCF there's a frame that's 130px tall, containing an image that is 118px tall, and a transparent scrolling AvidUtils edit box that's 25px tall which starts at y=113px. The theoretical height is therefore 138px.

My theory is that when AvidUtils grabs the background when the label is updated it's grabbing the image under the label and outside the enclosing frame. It then paints this on top of the newly loaded image.

Does this sound plausible? Brian?

danward79
February 4th, 2005, 02:06 PM
Sounds like girder may not be sending the images properly? I'll setup LDJ for myself in the next few days and see if I can replicate.

I can confirm that it works fine on win32, using the same ccf

cdebuhr
February 4th, 2005, 02:47 PM
Does this sound plausible? Brian?

i also send him an pm.

soon, we will have all the proīs here in this thread. ;-)

big thanks for your super-fast responses...

avid
February 5th, 2005, 01:47 AM
I'm not sure about that Ben. As far as I can tell it works fine on the Win32 version with the same CCF.

One possibility is a difference in behaviour in the AvidUtils edit box between the Win32 and PPC versions.

In Dan's CCF there's a frame that's 130px tall, containing an image that is 118px tall, and a transparent scrolling AvidUtils edit box that's 25px tall which starts at y=113px. The theoretical height is therefore 138px.

My theory is that when AvidUtils grabs the background when the label is updated it's grabbing the image under the label and outside the enclosing frame. It then paints this on top of the newly loaded image.

Does this sound plausible? Brian?

Rob,

Just to clarify. My understanding is that you have a transparent scrolling "text button" within a frame, but the frame crops the button (the button overhangs the frame) so that it is only partially visible. Is this right?

I doubt I currently handle this case properly, but I can fix it. If this is the case, I will experiment with a simple CCF with this problem and see what I can do.

Brian

cdebuhr
February 5th, 2005, 01:56 AM
but I can fix it. If this is the case, I will experiment with a simple CCF with this problem and see what I can do.

that sounds great, brian. if i can be of any help, just let me know. (i.e. a dvd-profiler xml + images, in case you donīt use dvd-profiler already)

if you install the 0.27 ldj - you will see that strange image-bug by using the dan v2.6 ccf, which comes with ldj.

thx
chris

avid
February 5th, 2005, 02:09 AM
but I can fix it. If this is the case, I will experiment with a simple CCF with this problem and see what I can do.

that sounds great, brian. if i can be of any help, just let me know. (i.e. a dvd-profiler xml + images, in case you donīt use dvd-profiler already)

if you install the 0.27 ldj - you will see that strange image-bug by using the dan v2.6 ccf, which comes with ldj.

thx
chris
Thanks Chris.

But I don't use dvd-profiler. If Rob believes this is the underlying problem, it will be far easier for me to construct a simple CCF with a text button and frame and get that working. That's my plan anyway.

But is anyone in a position to send me a screenshot of the problem on the PPC (and one of the same CCF on a PC, where I believe it works?).

Brian

cdebuhr
February 5th, 2005, 02:13 AM
how do i make a screenshot on ppc?

avid
February 5th, 2005, 02:23 AM
how do i make a screenshot on ppc?
MS used to have a free program for that, but it's no longer on their site. Otherwise, it needs someone with MS Embedded Visual C++ or something like SnapShot (commercial).

That's what I meant by "anyone in a position to ..."

Brian

Rob H
February 5th, 2005, 02:24 AM
Just to clarify. My understanding is that you have a transparent scrolling "text button" within a frame, but the frame crops the button (the button overhangs the frame) so that it is only partially visible. Is this right?

Yes, that's correct.


I doubt I currently handle this case properly, but I can fix it. If this is the case, I will experiment with a simple CCF with this problem and see what I can do.

You'll probably need to have a button with an image directly below the frame. The image and the text on the button both need to change to see the bug.

danward79
February 5th, 2005, 03:11 AM
here is a screen shot of the problem on ppc

you may of picked up, the problem is now showing on win32... So I take back what I said before!

danward79
February 5th, 2005, 08:29 AM
Hi,

I had a play based on Rob's suggestion it appears that Rob is right, I think! I have managed to fix the problem with the images.

It required the text using avids drivers to be jiggled around a bit.

cdebuhr
February 5th, 2005, 08:36 AM
hi dan,

great that you fixed it. but could describe me (beginner) how to fix it with my ccf? plz...

thx
chris

danward79
February 5th, 2005, 08:58 AM
Easy copy my ccf!

cdebuhr
February 5th, 2005, 12:16 PM
thx a lot - it works perfectly. problem solved.

avid
February 5th, 2005, 12:33 PM
Try this attached new AvidUtils.

I'm not really in a position to do a proper new release of AvidUtils, as I have applied the fix to my "work in progress" version, which is getting ready to support the new designer tool.

But I believe it is backward compatible and should fix the painting problem.

I should be creating a fresh distribution of all my drivers soon - I'm just waiting on some changes from Ben.

Brian

danward79
February 5th, 2005, 02:29 PM
Cheers Brian

danward79
February 13th, 2005, 06:25 AM
Hi,

Feature request!

- Multi Level Grouping
- Multiple Groups

You asked for requests!

What do you recon?

:wink:

Rob H
February 13th, 2005, 06:32 AM
Can you expand on that Dan?

You can already have multi-level groups (in 0.31) ie groups within groups

danward79
February 13th, 2005, 06:43 AM
That's it, what mean about multiple groups, it to be able to have a movie in several groups

Rob H
February 13th, 2005, 06:47 AM
I'll have to think about that one - how do you see it being used?

danward79
February 13th, 2005, 06:52 AM
Well I have several animations which I would like to have in "Kid's Movies", but I would also like to have them in say "cartoons" or / and "Animations". As an example.

How do I use multi level groups, at the moment?

Sorry I wrote such a brief message befor I only had one hand, I had a baby in the other... :)

Rob H
February 13th, 2005, 07:04 AM
For file based media you can just use the directory structure and use a SERIES.TXT file in each directory.

For DVD's in DVD Profiler you can edit the notes field and put e.g.

GROUP=level1\level2\level3

That will create groups called level1, 2 and 3 which will be nested.

If a group already exists then it will be used rather than created. The SERIES.TXT file is probably a better option since you can supply more information there. There is nothing to stop you combining the two methods, e.g. use SERIES.TXT files and the directory structure but no media files, then the group entry in the notes field to assign a DVD to a group.

I'm not quite sure what will happen if you use a different hierarchy in the 'GROUP=' line from that in the directory structure.

Group names do have to be unique though, so you can't currently have say CSI\Series 1 and Babylon 5\Series 1. That might end up being a bit confusing.

danward79
February 13th, 2005, 07:24 AM
Sounds good, I will try it some time.

I just noticed, my series do not have dvd profiler info, I mean details of what it is about.

Is that right?

Rob H
February 13th, 2005, 07:29 AM
You mean things like the overview and easter eggs etc?

That's probably not right, no.

I'll give it some thought.

danward79
February 13th, 2005, 07:39 AM
yep

danward79
February 13th, 2005, 08:51 AM
You mean things like the overview and easter eggs etc?

That's probably not right, no.

I'll give it some thought.

do you get these?

Rob H
February 13th, 2005, 10:33 AM
Yes, but then my rips are straight ISOs.

Can you give me an example that's failing?

danward79
February 13th, 2005, 11:33 AM
Ok,

CSI, I have the series ripped to avi's, I am using series.txt and folder.jpg.

I have the CSI listed in dvd profiler.

It is stored in "f:\TVSeries\CSI\Season 1\" This directory contains the avi's JPG and series.txt


Title=CSI
EpisodeExp=%.s&#40;%d+&#41;e&#40;%d+&#41;%.
EpisodeTitleExp=CSI%.s%d+e%d+%.&#40;.+&#41;
EpisodeTitleTransform=%.
Genres=TV,Crime
Group=1

Now I am just thinking does the Title field in series.txt have to match DVD profiler?... Just a thought.

this is the listed Sort Title in DVD profiler


C.S.I.: Crime Scene Investigation - Season 1.1

does that help?

Rob H
February 13th, 2005, 11:37 AM
Yes, the titles need to match

danward79
February 13th, 2005, 11:43 AM
Ah that will be the problem then!

so my updated series.txt should look like....

Title=C.S.I.&#58; Crime Scene Investigation - Season 1.1
EpisodeExp=%.s&#40;%d+&#41;e&#40;%d+&#41;%.
EpisodeTitleExp=C.S.I.&#58; Crime Scene Investigation - Season 1.1%.s%d+e%d+%.&#40;.+&#41;
EpisodeTitleTransform=%.
Genres=TV,Crime
Group=1

Will that work?

Rob H
February 13th, 2005, 12:30 PM
Should do, yes.

danward79
February 13th, 2005, 12:48 PM
Thanks, will let you know

danward79
February 14th, 2005, 12:27 PM
Hi Again!

It is still not showing me the info about the series.

It is also not showing the episode title, currently a show title is displaying as "Season 1 #1"

the series txt is as follows


Title=C.S.I. Crime Scene Investigation - Season 1.1
EpisodeExp=%.s&#40;%d+&#41;e&#40;%d+&#41;%.
EpisodeTitleExp=C.S.I. Crime Scene Investigation - Season 1.1%.s%d+e%d+%.&#40;.+&#41;
EpisodeTitleTransform=%.
Genres=TV,Crime
Group=1

I am sure it is that that is the problem, I have probably done something stupid... Again, I hear you cry! :(

Rob H
February 14th, 2005, 01:38 PM
Title=C.S.I. Crime Scene Investigation - Season 1.1
EpisodeExp=%.s&#40;%d+&#41;e&#40;%d+&#41;%.
EpisodeTitleExp=C.S.I. Crime Scene Investigation - Season 1.1%.s%d+e%d+%.&#40;.+&#41;
EpisodeTitleTransform=%.
Genres=TV,Crime
Group=1


The title should be

C.S.I.&#58; Crime Scene Investigation - Season 1.1

i.e. there's a colon missing

The EpisodeTitleExp is only used to extract the title so should be something like

%.s%d+e%d+%.&#40;.+&#41;

danward79
February 14th, 2005, 01:49 PM
Hi,

I took the colons out, as they are not allowed for filenames. I removed that from the DVD Profiler xml export as well.


%.s%d+e%d+%.(.+)

That is what I have got, my EpisodeTitleExp is


EpisodeTitleExp=C.S.I. Crime Scene Investigation - Season 1.1%.s%d+e%d+%.(.+)

I think that is right? I have been kicked off the htpc so can't experiment....

:roll:

Thanks for the help

danward79
February 14th, 2005, 02:06 PM
Just double checked, I have removed the colons and my episode expresion is


EpisodeTitleExp=C.S.I. Crime Scene Investigation - Season 1.1%.s%d+e%d+%.&#40;.+&#41;

Rob H
February 14th, 2005, 02:09 PM
I took the colons out, as they are not allowed for filenames. I removed that from the DVD Profiler xml export as well.

Not really necessary as there aren't any filenames involved here.



That is what I have got, my EpisodeTitleExp is


EpisodeTitleExp=C.S.I. Crime Scene Investigation - Season 1.1%.s%d+e%d+%.(.+)

I think that is right?

No, delete everything before the first %, unless your filenames match that form exactly.

danward79
February 14th, 2005, 02:19 PM
Ah ok thanks, I did not know the title could be different to the filename.

Cheers I will try it, in the morning, I have to go to bed now.

danward79
February 15th, 2005, 11:56 AM
Hi,

Sorry it took me so long to try it. It is still does not work thou. I don't get the DVD overview text.

I have edited the series txt as you suggested to match the sort title.

It now looks like this.


Title=C.S.I. Crime Scene Investigation - Season 1.1
EpisodeExp=%.s&#40;%d+&#41;e&#40;%d+&#41;%.
EpisodeTitleExp=%.s%d+e%d+%.&#40;.+&#41;
EpisodeTitleTransform=%.
Genres=TV,Crime
Group=1

The filenames look like this.


C.S.I. Crime Scene Investigation - Season 1.1.s01e13.Boom.avi

The sort Title listed in DVD profiler is


C.S.I. Crime Scene Investigation - Season 1.1

the title in dvd profiler is


C.S.I. Crime Scene Investigation - Season 1.1

Do you have any ideas?

Rob H
February 15th, 2005, 12:16 PM
It may not be setting the properties of the children of the group.

Can you try something for me :-

In UpdateSelectedDVD() change the line

self&#58;SendLabelAndVisibility&#40;self.Labels.SelectedOv erview, dvd.overview&#41;

to

self&#58;SendLabelAndVisibility&#40;self.Labels.SelectedOv erview, dvd.overview or dvd.parent.overview&#41;

danward79
February 15th, 2005, 12:45 PM
It may not be setting the properties of the children of the group.

Can you try something for me :-

In UpdateSelectedDVD() change the line

self&#58;SendLabelAndVisibility&#40;self.Labels.SelectedOv erview, dvd.overview&#41;

to

self&#58;SendLabelAndVisibility&#40;self.Labels.SelectedOv erview, dvd.overview or dvd.parent.overview&#41;


Thanks that sorted it again! You are a star. :wink:

Rob H
February 15th, 2005, 12:52 PM
No problem.

You'll probably want to do something similar for the easter eggs

danward79
February 15th, 2005, 12:56 PM
No problem.

You'll probably want to do something similar for the easter eggs

Eventually yes, will it be a bug fix?

Now does the title in Series.txt, have to match the "Sort Title" in DVD Profiler or the "Title"?

Rob H
February 15th, 2005, 01:05 PM
It needs to match the title.

You can override the sort title in the series.txt file if the one in the profile doesn't suit you.

danward79
February 15th, 2005, 01:09 PM
If you override it do you still get dvd profiler overviews etc?

Rob H
February 15th, 2005, 01:15 PM
Yes, the sort title is only used to determine the order in which covers are displayed.

danward79
February 15th, 2005, 01:19 PM
Cool, thanks for the info.

I have almost run out of harddisk space, might buy one of those 400Gig drives soon

Rob H
February 15th, 2005, 01:27 PM
:)

I take it Wendy won't let you build a RAID-5 server like mine?

danward79
February 15th, 2005, 01:32 PM
I have thought about it...

Do you think it is wise to use a that sort of pc as your normal day to day pc, as well as a media server?

Also, What is Raid 5 the best choice?

I am giving serious consideration to building one. I just have to work out how to break it, to her!! :-? :roll:

Rob H
February 15th, 2005, 01:54 PM
Oh, that isn't my day-to-day PC. The main workstation is a dual Athlon-MP box. The media server uses an old dual PII board

Not sure on the best choice of RAID card - I went with an Adaptec 2810SA, I couldn't really justify the extra cost of a 21610SA unfortunately.

I did see a 12-port card though, but couldn't find a supplier.

Does Cassie cry a lot? Saw an item on Richard and Judy yesterday about a technique for calming a crying baby. Quite amazing, the guy calmed down several babies in under a minute. There's a book and a DVD

http://www.amazon.co.uk/exec/obidos/ASIN/0141007915/qid=1108504316/ref=sr_8_xs_ap_i1_xgl/026-7068391-9485212

Couldn't find the DVD on amazon.co.uk, but it is on amazon.com

If Cassie cries a lot then that would probably buy you loads of hardware credits :)

danward79
February 15th, 2005, 02:13 PM
Thanks she does, a lot......... That is the reason I have not done much recently...

Rob H
February 15th, 2005, 02:17 PM
Seriously, check the book out - and the DVD if you can find it.

It's really very, very impressive.

The idea is to replicate as closely as possible the conditions in the womb where the baby felt secure. Seems to work.

I think we might be straying from the topic though :)

danward79
February 15th, 2005, 10:00 PM
LOL :D

danward79
February 16th, 2005, 10:55 AM
Hi Rob,

I seem to be having problems with multi-level groups. They don't show up in them as specified below.


Group=TV\CSI
Group=TV\Band of Brothers

CSI, just shows as CSI, and in the top level no tv group, is created.

My series txt, is as per before.


Title=C.S.I. Crime Scene Investigation - Season 1.1
EpisodeExp=%.s&#40;%d+&#41;e&#40;%d+&#41;%.
EpisodeTitleExp=%.s%d+e%d+%.&#40;.+&#41;
EpisodeTitleTransform=%.
Genres=TV,Crime
Group=1

Do you have any more ideas!

Thanks again... :-?

Rob H
February 16th, 2005, 11:13 AM
Hmm..

Multi-level groups certainly work with DVD changer disks.

Silly question, but you did re-export the XML from DVD Profiler after editing the notes field didn't you?

danward79
February 16th, 2005, 11:38 AM
Evening,

That is not a silly question, I think we can all say whoops to that.

But I did. Sorry to disappoint!

I also did it twice, reset all variables in girder and rescaned at least 4 times some of which included, reloading NR.

One thing I forgot to say was, when I rescanned after the first time, some of the images were reworked.

Rob H
February 16th, 2005, 12:17 PM
Can you mail me your collection.xml and the series.txt file and I'll see if I can figure out what's going on.

danward79
February 16th, 2005, 12:39 PM
No worries, Thanks It is on it's way

danward79
February 17th, 2005, 11:41 AM
Hi Rob,

Looks like I got you with this one!

:wink: :P

Rob H
February 17th, 2005, 11:46 AM
Not had a chance to look yet. Work intervened and also the graphics plugin.

danward79
February 17th, 2005, 11:49 AM
graphics plugin? whats that for? :D

Rob H
February 17th, 2005, 12:02 PM
Mostly to replace IrfanView in LDJ, but it should be useable for other things as well.

See http://www.promixis.com/phpBB2/viewtopic.php?p=112004#112004

danward79
February 17th, 2005, 12:18 PM
Sound good, I am sure it will be another of your master pieces.

Is there any plan to add some error checking to the series.txt? I just made one which caused a parse error

Rob H
February 17th, 2005, 12:48 PM
Yes, I'll make it a protected call in the next version.

danward79
February 17th, 2005, 01:27 PM
I got another question! Sorry...

Do you have any ideas why one movie may not be showing in my James Bond Group?

it is Die Another Day

All the other 19 Bonds show in the group. I checked and Double and triple checked several times the name of the file, the group, etc. I noticed it about a week ago. Did not mention it yet because I was sure it would be asilly mistake on my part.

it is in the xml file I sent you as well.

Rob H
February 17th, 2005, 01:38 PM
I'd guess that it's because there are two discs, which doesn't seem to be the case with any of the others.

I'll add it to the list of things to check on :)

danward79
February 17th, 2005, 02:16 PM
Thanks that was the reason

Rob H
February 17th, 2005, 02:29 PM
When did you progress to being a 'Long-time user' then? I've only just noticed it.

danward79
February 17th, 2005, 10:01 PM
Dunno a about 10 posts ago

danward79
February 19th, 2005, 02:17 AM
I'd guess that it's because there are two discs, which doesn't seem to be the case with any of the others.

I'll add it to the list of things to check on :)

Rob,

Did you manage to work out why this is a problem? is it a bug?

Rob H
February 19th, 2005, 02:32 AM
Sorry, not had a chance to look at this yet.

My brain isn't working terribly well at the moment - I've caught a bit of a cold and I'm dosed up with Day Nurse.

danward79
February 19th, 2005, 02:36 AM
Hope you feel better soon!

I prefer "Night Nurse" :D :P :o :o :o

Rob H
February 19th, 2005, 03:03 AM
Thanks Dan.