|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
|||
|
|||
Thanks for the help guys - I'll let you know how I get on
Cheers, SidKnee |
#42
|
|||
|
|||
Hi guys, good news!
What worked for me was an upgrade from java 1.4.2 to 1.5. Both local and generic collection.xml now work! Cheers |
#43
|
|||
|
|||
hmm, just ran into another problem.
It so happens the foldernames are not exactly the same as the <title> tags in the xml (generated from imdb). Therefor I cannot use the 'generic' collection.xml, but place local xml files in each folder (per movie). This is actually my prefered method as well. But... The local xml file must have the same name as the movie file! Having it named as the folder doesn't work (while the folder name is used to look it up in the generic collection.xml and in the original sagemc thread it is said to work). This poses problems with full dvd's (VIDEO_TS) and movies split into more parts. Stanger is it possible to change this, so instead of just looking for a local xml file named as the movie file, it also looks for a local xml file named as the folder ? Or even better a local xml named collection.xml ignoring the title ? Thanks! |
#44
|
||||
|
||||
As for searching for something differently, I'll leave that to mlbdude, since it's part of the STV, not the java class.
As for the names, a couple of tips, I believe (not 100% sure since I don't remember how old the java class mlbdude is using is) the class should strip out bad characters from both the title before looking, so the folder/filename doesn't need to match exactly, here's what I do: I remove anything that's not one of these "a-zA-Z0-9$()#_'`~@{}%! &-". So if you take exactly whatever's in the XML, remove anything that's not in that list, and name it that it should find it. FWIW, here's a little newer build that may work better for finding stuff (should be case insensitive and remove bad characters). It should also be a bit faster, since I changed the way it searches. Make sure you backup your old files first, then just replace them with these (should go in the DVDPro2Sage folder in your SageTV directory). This is sort of my "personal" build, it works with nearly all my DVDs (except for the box sets which I haven't figured out a good way to do yet), but may not work with the STV (I don't think I changed anything important). |
#45
|
|||
|
|||
actually the same sort of behaviour as with the icon's/images:
1. specific local <name>.xml (<name>.jpg) for specific files 2. a local collection.xml (folder.jpg) as a default for all files in the folder 3. check for title in the generic collection.xml |
#46
|
||||
|
||||
Sweep, it should work fine for DVDs, that's all I have, it just looks for the DVD title matching the name of the folder containing the VIDEO_TS folder ie:
You've got: National Treasure\VIDEO_TS it will search for National Treasure. The only exception would be if it doesn't think that's a DVD file. |
#47
|
||||
|
||||
I think we're coming close to mailbombing here
Quote:
-edit Well technically I could, I could probably base it off the filename of the XML, but that would start adding specific behavior to the class, that really should be present in whatever is using the class. |
#48
|
|||
|
|||
Hi Stanger, thanks for the quick reply.
With DVD's, i just ment this is poses a problem with local xml files. With a generic xml file, my only problems remains with the titles not exactly matching. I'll have a go with your 'personal build' and hopefully mlbdude can help. cheers |
#49
|
|||
|
|||
Quote:
Quote:
if so, then its not that wrong a place for the exception ;-) |
#50
|
||||
|
||||
Quote:
|
#51
|
|||
|
|||
Quote:
Maybe mlbdude can help, for now I'll be using the <moviefilename>.xml |
#52
|
|||
|
|||
Attached a small app which will scans your movies folder (see .config) and tries to create an xml file per movie(folder).
It looks for IMDB links inside *.nfo or *.url files and optionaly (see .config), when not found, searches IMDB on the movie folder name. When an IMDB link is found it searches for the first .avi or .mpg and creates a <moviefilename>.xml Last edited by Sweep; 05-31-2005 at 04:24 AM. |
#53
|
|||
|
|||
Quote:
(the same as in http://forums.freytechnologies.com/f...66&postcount=1) Stanger any clues ? What java version are you using ? for now reverting back to 1.5.01 cheers |
#54
|
|||
|
|||
sorry, as it turns out it had nothing to do with the java version
With the installation of the new java version I also lost the included class xerces.jar (used with the XMLTV plugin) which apparently was causing a conflict, now movieInfo was working but my EPG was no longer updating. Downloaded a new xerces.jar (Xerces-J-bin.2.6.2.zip from http://xml.apache.org/xerces2-j/download.cgi) and everything seems to be working again. Hoping it stays that way, cheers Sweep |
#55
|
||||
|
||||
|
#56
|
||||
|
||||
Could you please post the xerces.jar file you use? I'm having problem getting it...
__________________
Oren Shapir - Architect |
#57
|
||||
|
||||
FWIW, you don't need that for the XML movie info/DVD Profiler stuff. At least you shouldn't.
|
#58
|
|||
|
|||
This is the one I'm using now (for xmltv as Stanger mentioned):
http://www.apache.org/dist/xml/xerce...-bin.2.6.2.zip (use the file: xercesImpl.jar) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|