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 07-27-2008, 05:22 PM
Nebruin Nebruin is offline
Sage User
 
Join Date: Jan 2004
Posts: 48
SageMC/DVDProfiler and SageTV 6.4.5

I recently upgraded to SageTV 6.4.5 and did a complete wipe of my old Sage installation in the process. The only thing I copied over was my wiz.bin. Everything else is brand new. I then installed the latest version of SageMC (sagemc_6_3_7a_full) and then copied over the latest DVDPro2Sage.class to the DVDPro2Sage folder so it would have the multi disc fix. I then set the paths for the database to C:\DVD Profiler\Databases\Default\ and the collection.xml to C:\DVD Profiler\collection.xml. I then restarted SageTV and tried to refresh my metadata, but this does not seem to be working. When I try to go to each title and refresh it there, is just says that it can't find the collection.xml. Has anyone been able to get DVDPro2Sage to work with SageTV 6.4.5, or is this a known issue that I just wasn't aware of?

Thanks for any help.

-Zipper
Reply With Quote
  #2  
Old 07-27-2008, 08:40 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
It works fine in 6.4.5. Both in SageMC and the default Sage. Those aren't the default paths so I assume you specified those during setup of DVD Profiler. Did you set those paths in Settings-SageMC-Paths?

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #3  
Old 07-27-2008, 10:36 PM
Nebruin Nebruin is offline
Sage User
 
Join Date: Jan 2004
Posts: 48
Yes the paths I mentioned in my first post are in the Settings-SageMC-Paths. I have a slightly different setup than most. Because my HTPC is only accessible by remote or VNC, I do all my DVD entry stuff on my main PC. This is done through DVDProfiler to a network share. Then once a day and on starter there is a script that automatically replicates the collection.xml and the entire DVD Profiler directory (databases, filters, flags, etc....) to the local HTPC. I've checked the files and they are good and there is no lock on them from any other program. This is the exact same setup I had with my old SageTV instance so I know that the DVDProfiler database/collection.xml is good. The only thing that is odd is that even though the collection.xml can't be found it still finds all the dvd covers just like it did before, but I think that when I moved over the wiz.bin instance it kept all that information in there. Is there anyway to remove all the metadata associated with the DVDs and start fresh?
Reply With Quote
  #4  
Old 07-27-2008, 11:12 PM
Nebruin Nebruin is offline
Sage User
 
Join Date: Jan 2004
Posts: 48
Well I actually figured out part of the problem. I am using the newer DVDPro2Sage.class that has the multi disc fix in it, but that is what appears to be causing the issue. When I go back to the original file everything works except for the multi disc support, which is expected. I'm looking in to why this newer one breaks. The newer file I am using is located here (http://www.mediafire.com/?zmjswbgdtnm).

-Zipper
Reply With Quote
  #5  
Old 07-28-2008, 01:15 AM
ryttingm ryttingm is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 144
you seem to be using the latest file. Can you PM me a pointer to your log. Maybe I can see something obvious.

-Mike
Reply With Quote
  #6  
Old 07-28-2008, 07:46 AM
Nebruin Nebruin is offline
Sage User
 
Join Date: Jan 2004
Posts: 48
Which log file do you want, and does it need to be increased logging or just the normal level of logging?

Thanks.

-Zipper
Reply With Quote
  #7  
Old 07-28-2008, 12:42 PM
ryttingm ryttingm is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 144
Quote:
Originally Posted by Nebruin View Post
Which log file do you want, and does it need to be increased logging or just the normal level of logging?

Thanks.

-Zipper
normal is fine. If you are running in service mode I'll need sagetvclient.log, if not sagetv.log. Send me your collection.xml as well.
Reply With Quote
  #8  
Old 07-28-2008, 03:26 PM
Nebruin Nebruin is offline
Sage User
 
Join Date: Jan 2004
Posts: 48
The SageTV.log was not created, but I did turn on debug logging which then created the sagetv_0.txt, and found this error message:

Mon 7/28 17:35:57.024 java.lang.reflect.InvocationTargetException
Mon 7/28 17:35:57.024 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Mon 7/28 17:35:57.025 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
Mon 7/28 17:35:57.025 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
Mon 7/28 17:35:57.025 at java.lang.reflect.Constructor.newInstance(Unknown Source)
Mon 7/28 17:35:57.025 at sage.e$d.a(Unknown Source)
Mon 7/28 17:35:57.025 at sage.a.m$b.a(Unknown Source)
Mon 7/28 17:35:57.025 at sage.a.m.a(Unknown Source)
Mon 7/28 17:35:57.025 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.025 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.026 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.026 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.026 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.026 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.026 at sage.b2.J(Unknown Source)
Mon 7/28 17:35:57.026 at sage.UIManager.a(Unknown Source)
Mon 7/28 17:35:57.026 at sage.UIManager.a(Unknown Source)
Mon 7/28 17:35:57.026 at sage.UIManager.if(Unknown Source)
Mon 7/28 17:35:57.026 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.027 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.027 at sage.a9.new(Unknown Source)
Mon 7/28 17:35:57.027 at sage.a9.mouseReleased(Unknown Source)
Mon 7/28 17:35:57.027 at sage.bh.if(Unknown Source)
Mon 7/28 17:35:57.027 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.027 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.027 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.027 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.027 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.027 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.027 at sage.bo.do(Unknown Source)
Mon 7/28 17:35:57.028 at sage.bo.mouseReleased(Unknown Source)
Mon 7/28 17:35:57.028 at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
Mon 7/28 17:35:57.028 at java.awt.Component.processMouseEvent(Unknown Source)
Mon 7/28 17:35:57.028 at java.awt.Component.processEvent(Unknown Source)
Mon 7/28 17:35:57.028 at java.awt.Component.dispatchEventImpl(Unknown Source)
Mon 7/28 17:35:57.028 at java.awt.Component.dispatchEvent(Unknown Source)
Mon 7/28 17:35:57.028 at java.awt.EventQueue.dispatchEvent(Unknown Source)
Mon 7/28 17:35:57.028 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
Mon 7/28 17:35:57.028 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
Mon 7/28 17:35:57.028 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
Mon 7/28 17:35:57.029 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Mon 7/28 17:35:57.029 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Mon 7/28 17:35:57.029 at java.awt.EventDispatchThread.run(Unknown Source)
Mon 7/28 17:35:57.029 Caused by: java.lang.NullPointerException
Mon 7/28 17:35:57.029 at DVDPro2Sage.DVDPro2Sage.<init>(DVDPro2Sage.java:100)
Mon 7/28 17:35:57.029 ... 42 more
Mon 7/28 17:35:57.029 java.lang.NullPointerException
Mon 7/28 17:35:57.029 at DVDPro2Sage.DVDPro2Sage.<init>(DVDPro2Sage.java:100)
Mon 7/28 17:35:57.029 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Mon 7/28 17:35:57.030 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
Mon 7/28 17:35:57.030 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
Mon 7/28 17:35:57.030 at java.lang.reflect.Constructor.newInstance(Unknown Source)
Mon 7/28 17:35:57.030 at sage.e$d.a(Unknown Source)
Mon 7/28 17:35:57.030 at sage.a.m$b.a(Unknown Source)
Mon 7/28 17:35:57.030 at sage.a.m.a(Unknown Source)
Mon 7/28 17:35:57.030 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.030 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.030 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.030 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.030 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.031 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.031 at sage.b2.J(Unknown Source)
Mon 7/28 17:35:57.031 at sage.UIManager.a(Unknown Source)
Mon 7/28 17:35:57.031 at sage.UIManager.a(Unknown Source)
Mon 7/28 17:35:57.031 at sage.UIManager.if(Unknown Source)
Mon 7/28 17:35:57.031 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.031 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.031 at sage.a9.new(Unknown Source)
Mon 7/28 17:35:57.031 at sage.a9.mouseReleased(Unknown Source)
Mon 7/28 17:35:57.031 at sage.bh.if(Unknown Source)
Mon 7/28 17:35:57.031 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.032 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.032 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.032 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.032 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.032 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.032 at sage.bo.do(Unknown Source)
Mon 7/28 17:35:57.032 at sage.bo.mouseReleased(Unknown Source)
Mon 7/28 17:35:57.032 at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
Mon 7/28 17:35:57.032 at java.awt.Component.processMouseEvent(Unknown Source)
Mon 7/28 17:35:57.032 at java.awt.Component.processEvent(Unknown Source)
Mon 7/28 17:35:57.033 at java.awt.Component.dispatchEventImpl(Unknown Source)
Mon 7/28 17:35:57.033 at java.awt.Component.dispatchEvent(Unknown Source)
Mon 7/28 17:35:57.033 at java.awt.EventQueue.dispatchEvent(Unknown Source)
Mon 7/28 17:35:57.033 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
Mon 7/28 17:35:57.033 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
Mon 7/28 17:35:57.033 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
Mon 7/28 17:35:57.033 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Mon 7/28 17:35:57.034 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Mon 7/28 17:35:57.034 at java.awt.EventDispatchThread.run(Unknown Source)
Mon 7/28 17:35:57.035 EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of new_DVDPro2Sage_DVDPro2Sage of java.lang.reflect.InvocationTargetException for:new_DVDPro2Sage_DVDPro2Sage(CollectionLocation)
Mon 7/28 17:35:57.035 sage.a.e: Error in method reflection of new_DVDPro2Sage_DVDPro2Sage of java.lang.reflect.InvocationTargetException
Mon 7/28 17:35:57.035 at sage.e$d.a(Unknown Source)
Mon 7/28 17:35:57.035 at sage.a.m$b.a(Unknown Source)
Mon 7/28 17:35:57.035 at sage.a.m.a(Unknown Source)
Mon 7/28 17:35:57.035 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.036 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.036 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.036 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.036 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.036 at sage.e.a(Unknown Source)
Mon 7/28 17:35:57.036 at sage.b2.J(Unknown Source)
Mon 7/28 17:35:57.036 at sage.UIManager.a(Unknown Source)
Mon 7/28 17:35:57.036 at sage.UIManager.a(Unknown Source)
Mon 7/28 17:35:57.036 at sage.UIManager.if(Unknown Source)
Mon 7/28 17:35:57.036 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.037 at sage.a9.a(Unknown Source)
Mon 7/28 17:35:57.037 at sage.a9.new(Unknown Source)
Mon 7/28 17:35:57.037 at sage.a9.mouseReleased(Unknown Source)
Mon 7/28 17:35:57.037 at sage.bh.if(Unknown Source)
Mon 7/28 17:35:57.037 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.037 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.037 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.037 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.037 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.038 at sage.bo.a(Unknown Source)
Mon 7/28 17:35:57.038 at sage.bo.do(Unknown Source)
Mon 7/28 17:35:57.038 at sage.bo.mouseReleased(Unknown Source)
Mon 7/28 17:35:57.038 at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
Mon 7/28 17:35:57.038 at java.awt.Component.processMouseEvent(Unknown Source)
Mon 7/28 17:35:57.038 at java.awt.Component.processEvent(Unknown Source)
Mon 7/28 17:35:57.038 at java.awt.Component.dispatchEventImpl(Unknown Source)
Mon 7/28 17:35:57.038 at java.awt.Component.dispatchEvent(Unknown Source)
Mon 7/28 17:35:57.038 at java.awt.EventQueue.dispatchEvent(Unknown Source)
Mon 7/28 17:35:57.038 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
Mon 7/28 17:35:57.039 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
Mon 7/28 17:35:57.039 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
Mon 7/28 17:35:57.039 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Mon 7/28 17:35:57.039 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Mon 7/28 17:35:57.039 at java.awt.EventDispatchThread.run(Unknown Source)

Let me know if you need the entire file

Thanks for the help.

-Zipper

Last edited by Nebruin; 07-28-2008 at 08:49 PM. Reason: I'm an idiot
Reply With Quote
  #9  
Old 07-28-2008, 09:29 PM
Nebruin Nebruin is offline
Sage User
 
Join Date: Jan 2004
Posts: 48
Well I did some more research tonight and I found the call that is causing the issue:

String currDvdTitle = currDvd.getElementsByTagName( "Title" ).item( 0 ).getFirstChild().getNodeValue();

I found it by adding this code in to the function:

temp.write("Line 102, iteration: " + i + "\n");
temp.flush();
Element currDvd = (Element) dvdElements.item( i );
temp.write("Line 105, iteration: " + i + "\n");
temp.flush();
NodeList currDvdDiscs = currDvd.getElementsByTagName( "Disc" );
temp.write("Line 108, iteration: " + i + "\n");
temp.flush();
String currDvdTitle = currDvd.getElementsByTagName( "Title" ).item( 0 ).getFirstChild().getNodeValue();
temp.write("Line 111, iteration: " + i + "\n");
temp.flush();

and then checking the log which ended at line 108 iteration 55

Line 102, iteration: 55
Line 105, iteration: 55
Line 108, iteration: 55

I'm looking in to this further to see if I can find out why this is occuring. I noticed that getNodeValue can throw a DOMException, so I'm adding some try catch blocks to see if that is causing the issue.
Reply With Quote
  #10  
Old 07-29-2008, 05:38 PM
Nebruin Nebruin is offline
Sage User
 
Join Date: Jan 2004
Posts: 48
Well I figured out what was causing the issue. I thought my XML was fine, and it was for the most part, but one of my DVDs had the title missing and it caused the title to be </title> instead of <title>TITLE HERE</title>. Which is what was causing my main issue. I also found what looks like another bug where when making a safe dvd title we remove the ',' character as being unsafe which on Windows it is a safe character to use in a pathname. So I fixed that as well, now everything works like I would expect it to. Although I don't know if the comma character is safe on *nix. If you're interested in any of the stuff I did just let me know and I can pass the code to you.

-Zipper
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to decide on buying SageTV... issues giving me pause... IncredibleHat SageTV Software 15 05-08-2006 02:56 PM
DVD to Mpeg converted video Crashed SageTV / Client v4.1.3 TheSuper SageTV Software 3 01-18-2006 11:30 PM
Different Graphs for mpegs recorded by SageTV ? basset SageTV Software 0 01-07-2006 02:30 PM
SageTV service + UNC pathnames neilbradley SageTV Software 5 11-29-2005 02:40 AM
SageTV Version 4.0 Now Available dkardatzke Announcements 0 11-02-2005 08:05 AM


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


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