SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations > SageMC Custom Interface
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-25-2005, 04:46 PM
Sweep Sweep is offline
Sage User
 
Join Date: Jan 2004
Location: Netherlands
Posts: 58
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
Reply With Quote
  #2  
Old 01-25-2005, 06:27 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Can you post the XML that's causing you trouble?
Reply With Quote
  #3  
Old 01-26-2005, 02:02 AM
Sweep Sweep is offline
Sage User
 
Join Date: Jan 2004
Location: Netherlands
Posts: 58
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
Attached Files
File Type: txt collection.xml.txt (9.1 KB, 550 views)
Reply With Quote
  #4  
Old 01-26-2005, 07:22 AM
SidKnee SidKnee is offline
Sage Advanced User
 
Join Date: Aug 2004
Location: East Midlands, UK
Posts: 94
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
Reply With Quote
  #5  
Old 01-26-2005, 10:15 AM
briands briands is offline
Sage Icon
 
Join Date: Aug 2004
Location: Bloomington, IN
Posts: 1,093
SidKnee, You should look into DVDProfiler again. It has nothing to do with weather a DVD is ripped or not.
Reply With Quote
  #6  
Old 01-27-2005, 04:54 AM
SidKnee SidKnee is offline
Sage Advanced User
 
Join Date: Aug 2004
Location: East Midlands, UK
Posts: 94
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
Reply With Quote
  #7  
Old 01-27-2005, 12:30 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Re: not showing up

Are you sure the filename/foldername matches the title EXACTLY?
Reply With Quote
  #8  
Old 01-27-2005, 12:42 PM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
Just curious: what happens if the file name contains a colon ':'? Those are not permitted in folder names are they?
JUC
Reply With Quote
  #9  
Old 01-27-2005, 01:03 PM
Wheemer's Avatar
Wheemer Wheemer is offline
Sage Icon
 
Join Date: Dec 2004
Location: Deer Lake, NL, Canada
Posts: 1,493
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.
Reply With Quote
  #10  
Old 01-27-2005, 02:20 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by JUC
Just curious: what happens if the file name contains a colon ':'? Those are not permitted in folder names are they?
JUC
AFIAK, mlb is using my GetSafeTitle function for filename matching, in which case the ':' is simply removed. I posted a while back the regexp I use to remove certain characters.
Reply With Quote
  #11  
Old 01-27-2005, 02:22 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Wheemer
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.
I'm not 100% sure what mlb did, but...

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.
Reply With Quote
  #12  
Old 01-27-2005, 02:50 PM
Sweep Sweep is offline
Sage User
 
Join Date: Jan 2004
Location: Netherlands
Posts: 58
Re: not showing up

Quote:
Originally Posted by stanger89
Are you sure the filename/foldername matches the title EXACTLY?
Hello Stanger,
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.
Reply With Quote
  #13  
Old 01-27-2005, 02:52 PM
Sweep Sweep is offline
Sage User
 
Join Date: Jan 2004
Location: Netherlands
Posts: 58
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
Reply With Quote
  #14  
Old 01-27-2005, 04:36 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Sweep
Hello Stanger,
yes, did some testing with an extremely easy title to prevent the slightest mistakes, types or translations.

Cheers
Sweep
Question 2

Where is your XML and what is it called?
Reply With Quote
  #15  
Old 01-28-2005, 01:51 AM
Sweep Sweep is offline
Sage User
 
Join Date: Jan 2004
Location: Netherlands
Posts: 58
Quote:
Originally Posted by stanger89
Question 2
Where is your XML and what is it called?
I've place a 'collection' XML file named collection.xml in
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
Reply With Quote
  #16  
Old 01-28-2005, 09:30 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
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.
Reply With Quote
  #17  
Old 01-28-2005, 09:34 AM
Sweep Sweep is offline
Sage User
 
Join Date: Jan 2004
Location: Netherlands
Posts: 58
Quote:
Originally Posted by stanger89
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.
Yes, tried with and without local caching of the files.
Reply With Quote
  #18  
Old 01-28-2005, 10:57 AM
SidKnee SidKnee is offline
Sage Advanced User
 
Join Date: Aug 2004
Location: East Midlands, UK
Posts: 94
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
Attached Files
File Type: txt console.txt (16.5 KB, 478 views)

Last edited by SidKnee; 01-28-2005 at 01:14 PM. Reason: Addition of information
Reply With Quote
  #19  
Old 01-28-2005, 05:06 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
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
Reply With Quote
  #20  
Old 01-31-2005, 07:18 AM
SidKnee SidKnee is offline
Sage Advanced User
 
Join Date: Aug 2004
Location: East Midlands, UK
Posts: 94
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
Attached Images
File Type: jpg pic1.JPG (27.1 KB, 594 views)
File Type: jpg pic2.JPG (55.6 KB, 587 views)
Attached Files
File Type: txt collection.xml.txt (23.5 KB, 475 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.