|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
xml2my Malore xml to Mlbdude my converter (1.1.0 July 14)
Here is a converter that takes the xml file that can be generated from Malore's STV, and creates an info.my that can be imported into mlbdude's STV.
Installation Extract the xml2my.class and the xml2my.bat file from the attached zip into <some location> edit the .bat and replace "c:/myjavaclasses" with the full path to the location where you put the xml2my.class file. Make sure this location is quoted to avoid problems with filenames with spaces! run the tool with Code:
xml2my.bat file.xml [outputfilename.my] If not present, the generated .my files will be called "title - subtitle.my" (if subtitle is not present, and if multiple shows are present in the xml, a number will be used instead). Existing files with the same name will be overwritten without warning!! You can also drag/drop a single shows.xml files onto the batch file, or onto a short-cut to the batch file, and the .my file(s) will be created in the same location as the .xml file. The window will stay open when completed showing the generated file name(s) -- to disable this, remove or comment out the 'pause' line in the batch file. Notes:
v 1.1.0 14-July 2004
Last edited by nielm; 07-14-2004 at 04:12 AM. |
#2
|
||||
|
||||
If you can get it to dump out .my files that match the file names for the video files it will work. My STV first looks for that then defaults to info.my.
Ex. Gundam Seed 1.avi Gundam Seed 1.my |
#3
|
||||
|
||||
Quote:
|
#4
|
|||
|
|||
Copied from nielm's post in the Maldude thread.
Quote:
I'll have to look into using the app from Alex0230 to see about running it(xml2my) as a exe. Nothing against Java*, I just like the convience of an exe. It would be great if the combo of the two will allow me to use Window's style drap and drop as well. If not I guess I'll write up some batch to make mass conversions easier. *I'm guessing this method will you/others to reuse the code more easily, than if you rolled an exe. Thanks again, /justme |
#5
|
||||
|
||||
The multiple show in one my format is not suppored by the current mlbdude/maldude STV's... Hence the following modifications:
Uploaded version 1.1.0 which:
Example output: Code:
converting C:\temp\shows.xml Creating C:\temp\Dalziel and Pascoe - The Unwanted.my Creating C:\temp\Dalziel and Pascoe - Walls of Silence.my Creating C:\temp\Dalziel and Pascoe - Truth and Consequences.my Creating C:\temp\Dalziel and Pascoe - Secrets of the Dead.my Quote:
Last edited by nielm; 07-14-2004 at 04:11 AM. |
#6
|
|||
|
|||
1.1.0 update
Thanks for adding drag and drop. I was thinking last night and was going to request the .my file be created in the same location as the source xml, but it seems you're 2 steps ahead of me again.
PS:I love the default naming convention for .my files. I just went thru all my shows in my library this weekend and renamed(using PowerDesk) all the shows to use that exact naming format. So I couldn't be happier to see this. That format does seem to be a defacto standard on the web. The only variation is that many sites use a "_" instead of a " ". But I always group rename them using PowerDesk Pro(best filemanager around) to use a " " instead. Thanks for the new version, /justme |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|