|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
SageMC: XML movie info
Mlbdude, thanks a lot for your great stv.
I got a question though, probably for stranger89. I'm trying to get movie info to show up using collection.xml and DVDPro2Sage. I've placed a general collection.xml in the STVs\OriginalV2\SageMCE folder and tried placing individual .xml files per movie, but no luck. The java debug console window says: di 1/25 22:56:17.986 Caused by: java.lang.NullPointerException di 1/25 22:56:17.988 at DVDPro2Sage.DVDPro2Sage.getTitle(DVDPro2Sage.java:220) di 1/25 22:56:17.992 at DVDPro2Sage.DVDPro2Sage.findDVD(DVDPro2Sage.java:182) di 1/25 22:56:17.996 ... 44 more di 1/25 22:56:17.999 at DVDPro2Sage.DVDPro2Sage.getTitle(DVDPro2Sage.java:220) di 1/25 22:56:18.003 at DVDPro2Sage.DVDPro2Sage.findDVD(DVDPro2Sage.java:182) di 1/25 22:56:18.006 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) di 1/25 22:56:18.010 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) di 1/25 22:56:18.014 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) Does anyone know what's going on, or has any clue as on how to fix this ? Thanks Sweep |
#2
|
||||
|
||||
Can you post the XML that's causing you trouble?
|
#3
|
|||
|
|||
Hello Stanger,
I've tried using the sample .xml from mlbdude http://forums.freytechnologies.com/f...&postcount=636 and with something generated myself using DVDProfiler (attached). Thanks Sweep |
#4
|
|||
|
|||
I was going to wait until Watter was back off holiday to ask this question, but as we're talking xml...
I'm in a similar position to Sweep - I've been trying to create either a collection xml or individual xml files for my video collection (not ripped DVD's), but the information will not display. As these are videos and not ripped DVD's I'm not using DVD Profiler, hence the need to create the xml myself. I've tried adapting the sample xml, and searched for other examples to use but each time the information just refuses to show up. Most of the information I've found deals with DVD Profiler so it isn't much help if you're not using this app. If anyone has a simple xml file that works I should be able to edit the titles to suit... BTW This is on the Sage server PC - I wanted to get it showing up there first before I tried anything on a client. Cheers, SidKnee |
#5
|
|||
|
|||
SidKnee, You should look into DVDProfiler again. It has nothing to do with weather a DVD is ripped or not.
|
#6
|
|||
|
|||
Thanks for the suggestion Briands - I'd just assumed from the name that this only dealt with DVD's and nothing else. Looking at the website it does look like you can enter data about films that it doesn't know about - this should cover the manual recordings that I have to document.
Cheers, SidKnee |
#7
|
||||
|
||||
Re: not showing up
Are you sure the filename/foldername matches the title EXACTLY? |
#8
|
||||
|
||||
Just curious: what happens if the file name contains a colon ':'? Those are not permitted in folder names are they?
JUC |
#9
|
||||
|
||||
From my extensive testing in trying to get my server to show the xml data I can safely say there is definately a bug somewhere in the coding. With the exact same setup on my client the info showed up perfectly. With every possible setup configuration on my server the info is blank and the debug window doesn't give any errors.
|
#10
|
||||
|
||||
Quote:
|
#11
|
||||
|
||||
Quote:
Make sure that the path to the xml/library is EXACTLY the same on both machines, make sure the server has permission to access the filesystem (it better) and make sure, that if you're using a monolithic XML, you have it stored on the server in a location it can find. |
#12
|
|||
|
|||
Re: not showing up
Quote:
yes, did some testing with an extremely easy title to prevent the slightest mistakes, types or translations. Cheers Sweep Last edited by Sweep; 01-27-2005 at 02:52 PM. |
#13
|
|||
|
|||
Hi SidKnee,
i was gonna try MovieTrack, a simple free prog, to generate the XML, but first it has to show up at all ;-) cheers Sweep |
#14
|
||||
|
||||
Quote:
Where is your XML and what is it called? |
#15
|
|||
|
|||
Quote:
C:\Program Files\Frey Technologies\SageTV\STVs\OriginalV2\SageMCE and an individual file in the movie folder with the exact same name (without extension) as the movie. btw are you parsing the XML yourself or using some lib ? maybe it has to do with the installed msxml version ? Cheers Sweep |
#16
|
||||
|
||||
I use a standard java lib to do the parsing.
Oh, did you enable caching of metadata? IIRC you need to enable that for SageMC to look for the local cached files. |
#17
|
|||
|
|||
Quote:
|
#18
|
|||
|
|||
I created a single entry using DVDProfiler to confirm that this cleared my problem - but unfortunately it didn't.
Just out of curiosity I enabled the Jave debugger console and by the look of it I have some problem or other when I try and access either the DVDPro2Sage class or within my Java install itself. If I disable the metadata and go to the imported video that should display information I get no errors. If I enable the metadata and do the same thing I get a host of errors showing up in the console - but they don't appear to be complaining about not finding the XML file, or its format (sorry can't remember the exact errors at the moment). From the install instructions the DVDPro2Sage folder is placed in the SageTV directory. Is this correct? Do I need to install any other java classes/files for this to work? Is this Java specific in any way? I'll try and catch the errors I'm seeing and post them when I get home. EDIT - added example console output. Cheers, SidKnee Last edited by SidKnee; 01-28-2005 at 01:14 PM. Reason: Addition of information |
#19
|
||||
|
||||
Unfortunately, that doesn't tell me anything. The console doesn't appear to have anything related to the import in it.
What do you get if you try this: http://forums.sage.tv/forums/showthr...&postcount=866 |
#20
|
|||
|
|||
I managed to try the debugging version of the STV and here are the results along with the xml file (I renamed an entry for 'love actually' so ignore most of the content of the file).
As far as I can see it finds the xml OK, and the entry for the file (Phoenix Nights Series 1 Episode 1) but still doesn't display the data - am I missing something obvious here Cheers, SidKnee |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|