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 11-18-2008, 11:23 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
DVD Profiler 3.5 Problems

It seems that the new DVD Profiler has somehow broken compatibility with SageMC. A least for me categories are no longer showing up. I have a few movies that whenever I do a media scan they show back up in Unassigned. But whenever I do a DVD Profiler import on any movie the catagories show up as "Untitled".

Any ideas or does SageMC need to be updated somehow?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD

Last edited by Taddeusz; 11-18-2008 at 11:27 AM.
Reply With Quote
  #2  
Old 11-18-2008, 12:09 PM
ryttingm ryttingm is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 144
Quote:
Originally Posted by Taddeusz View Post
It seems that the new DVD Profiler has somehow broken compatibility with SageMC. A least for me categories are no longer showing up. I have a few movies that whenever I do a media scan they show back up in Unassigned. But whenever I do a DVD Profiler import on any movie the catagories show up as "Untitled".

Any ideas or does SageMC need to be updated somehow?
They most likely changed the xml format of the exported database in dvd profiler 3.5. This is causing the DVDPro2Sage class that parses the xml to choke. Stanger has been maintaining the DVDPro2Sage up till now. I'd be happy to look at it though to see if there's an easy fix. Please PM me a copy of your collection.xml.

-Mike
Reply With Quote
  #3  
Old 11-18-2008, 12:42 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Ok, here is my Collection.xml file.
Attached Files
File Type: zip Taddeusz Collection-xml.zip (496.4 KB, 3873 views)
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #4  
Old 11-18-2008, 12:45 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by Taddeusz View Post
It seems that the new DVD Profiler has somehow broken compatibility with SageMC.
What version of DVD Profiler are you using? I think I'm using the latest version and it's working for me with SageMC.
Reply With Quote
  #5  
Old 11-18-2008, 12:47 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by Brent View Post
What version of DVD Profiler are you using? I think I'm using the latest version and it's working for me with SageMC.
Version 3.5. It just came out on the 15th.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #6  
Old 11-18-2008, 01:09 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by Taddeusz View Post
Version 3.5. It just came out on the 15th.
I think I have the 3.5 beta version that was out on the 7th. I'll check when I get home this evening.
Reply With Quote
  #7  
Old 11-18-2008, 03:28 PM
ryttingm ryttingm is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 144
genre parsing fixed

There is definitely a change in 3.5. It is now generating empty genre fields. The code wasn't properly handling it. I have updated the code and created a new class file. In addition, I have created a code.google.com project to let me check in changes and for people to download updates. Just download the latest class file and put it into your SageTV/DVDPro2Sage directory.

http://code.google.com/p/dvdpro2sage

-Mike
Reply With Quote
  #8  
Old 11-18-2008, 03:34 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Man I'm really not fond of that code, pretty ugly

(Not your changes, the whole thing)
Reply With Quote
  #9  
Old 11-18-2008, 04:15 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Thank you for fixing that. Seems to be working much better now.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #10  
Old 12-11-2008, 08:11 PM
ewelin ewelin is offline
Sage Advanced User
 
Join Date: Sep 2008
Location: Cambridge, MA
Posts: 165
Send a message via AIM to ewelin Send a message via MSN to ewelin Send a message via Yahoo to ewelin
Quote:
Originally Posted by ryttingm View Post
There is definitely a change in 3.5. It is now generating empty genre fields. The code wasn't properly handling it. I have updated the code and created a new class file. In addition, I have created a code.google.com project to let me check in changes and for people to download updates. Just download the latest class file and put it into your SageTV/DVDPro2Sage directory.

http://code.google.com/p/dvdpro2sage

-Mike
Mike, Thanks a bunch for this fix!
Reply With Quote
  #11  
Old 12-28-2008, 01:03 AM
sam99 sam99 is offline
Sage Advanced User
 
Join Date: May 2007
Posts: 98
I was finally getting around to synching my sagetv and dvd profiler and got everything working except for loading genres. In reading the boards, I was led to this thread and downloaded and replaced my class file in the appropriate folder on my server. But still no genres? The others who did this just seemed to work, so not sure what my problem is.

Sagetv 6.5.5.198
Dvd profiler 3.5.0 build 1240

server says Sagemc 6.3.8a
client says Sagemc 6.3.6b
is this right? should I see the difference because of the client?

Upon further testing, it seems that I can load genres one movie at a time by individually importing the profile on the server, but the full profiler refresh does not affect genre. And neither has any affect on the client.

When I look in the dvdpro2sage folder, should I see the .class file as well as a .java file? I am just trying to figure out if something got left over when I upgrade my server.

Thanks for any help.
__________________
SageTV user since 04/07!
Server: Athlon 64 3000+ 2g, 2x500m mem, 80g OS, 4x500gb in hotswap enclosure, 3x1tb sata2, 2xHVR1600 dual tuners. Splitters on cable SD line (channels 1-99) and attic antenna for OTA HD
Client1: HD300, 60" Samsung 60A3000 great room
Client2: HD200, 40" Samsung LCD bedroom
Client3: HD100, 42" Panasonic Plasma kid's playroom; Client4: MVP, 36" CRT basement workout area; Client5: MPV 13" CRT garage workbench
Reply With Quote
  #12  
Old 12-28-2008, 10:02 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by sam99 View Post
I was finally getting around to synching my sagetv and dvd profiler and got everything working except for loading genres. In reading the boards, I was led to this thread and downloaded and replaced my class file in the appropriate folder on my server. But still no genres? The others who did this just seemed to work, so not sure what my problem is.

Sagetv 6.5.5.198
Dvd profiler 3.5.0 build 1240

server says Sagemc 6.3.8a
client says Sagemc 6.3.6b
is this right? should I see the difference because of the client?

Upon further testing, it seems that I can load genres one movie at a time by individually importing the profile on the server, but the full profiler refresh does not affect genre. And neither has any affect on the client.

When I look in the dvdpro2sage folder, should I see the .class file as well as a .java file? I am just trying to figure out if something got left over when I upgrade my server.

Thanks for any help.
You should upgrade your client also, both SageMC and dvdpro2sage.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #13  
Old 12-28-2008, 10:07 AM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Quote:
Originally Posted by sam99 View Post
When I look in the dvdpro2sage folder, should I see the .class file as well as a .java file?
You only need the .class file, that's the compiled code that SageMC will run/use to load the XML.

I just did this all yesterday and can vouch that it works (also using 3.5 Build 1240).
Reply With Quote
  #14  
Old 12-28-2008, 10:10 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
The only thing odd I've noticed about the new version is that DVD Profiler includes HTML tags for italics and such. the plugin doesn't follow these so you get
Code:
<i></i>
in the middle of descriptions.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #15  
Old 12-28-2008, 10:13 AM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Yup, I noticed the same, but mostly only for a few movies. A lot of mine stayed pure-plain-text even after doing a full profile refresh and update on my whole collection.

I was tossing around the idea of writing up a small .exe to post that would strip out any HTML from the .xml file...or, if I could modify the Java code to do it probably. I'll look at doing that today.
Reply With Quote
  #16  
Old 12-28-2008, 11:56 AM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Quote:
Originally Posted by ryttingm View Post
There is definitely a change in 3.5. It is now generating empty genre fields. The code wasn't properly handling it. I have updated the code and created a new class file. In addition, I have created a code.google.com project to let me check in changes and for people to download updates. Just download the latest class file and put it into your SageTV/DVDPro2Sage directory.

http://code.google.com/p/dvdpro2sage

-Mike
Here is a new class file to strip HTML out of the Overview as it is imported as meta-data. I also cleaned up unused imports and variables and parameterized all the Vectors.

[file moved to http://dvdpro2sage.googlecode.com]

Last edited by KJake; 01-12-2009 at 07:06 AM.
Reply With Quote
  #17  
Old 12-28-2008, 10:30 PM
sam99 sam99 is offline
Sage Advanced User
 
Join Date: May 2007
Posts: 98
Thanks guys, yes, I had not upgraded my client. I have left my sage setup alone for almost a year, ever since I received my HD100 in the first batch. Why fix what isn't really broken? So I had looked for a sagemc client and had not found one, having forgotten that I simply load the same sagemc onto my client that i loaded on the server. That and replacing the .class file did in fact fix my problem with the client, so all is good here again. Only reason I had gone through all this was to get my new HD200 running. Gotta love the sagetv/sagemc/HD100x2/mvpx2 combination when I have not had to reload or do any real tinkering over the last 12 months! I do keep looking at these UI screenshots with a good bit of jealousy and keep telling myself to set aside some time to really get into customization. But with the WAF so high, I am a little hesitant to mess.

Anyway, thanks for setting me straight. I had noticed the html tags on some of the movies as well, i will have to try the new provided .class file.
__________________
SageTV user since 04/07!
Server: Athlon 64 3000+ 2g, 2x500m mem, 80g OS, 4x500gb in hotswap enclosure, 3x1tb sata2, 2xHVR1600 dual tuners. Splitters on cable SD line (channels 1-99) and attic antenna for OTA HD
Client1: HD300, 60" Samsung 60A3000 great room
Client2: HD200, 40" Samsung LCD bedroom
Client3: HD100, 42" Panasonic Plasma kid's playroom; Client4: MVP, 36" CRT basement workout area; Client5: MPV 13" CRT garage workbench
Reply With Quote
  #18  
Old 12-30-2008, 02:48 PM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
DVDProfiler 3.5.1 is out now.

Changes to the XML file are minimal:
* Empty Genre tags are no longer output
* MediaPublisher is now a full node called MediaCompanies with 0-n MediaCompany children.

I've tested the current .class from my post on the 28th and everything seems fine with this new version of DVDProfiler.
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
weird aspect ratio problems with dvd playback dalroth SageTV Software 4 07-01-2009 06:39 PM
DVD Region Error playing from Hard Drive mike500hp SageTV Software 1 01-02-2007 12:01 AM
Bonus DVD and also general plugin question. traker1001 SageTV Software 1 12-11-2006 01:35 PM
XCARD DVD Playback problems jptaz Hardware Support 2 01-03-2005 10:33 AM


All times are GMT -6. The time now is 03:03 AM.


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