|
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
|
|||
|
|||
STV Import: STVi importer
Here's something I wrote which might be useful to someone else out there:
a plugin that allows you to load multiple plugin imports in one pass, making the re-import of plugins after a reinstall or during development easier. Just list the filenames of those plugins you want to import into the configuration file 'plugins.cfg', and import the importer STVi as usual. All listed plugins will get imported automatically, in the order they appear in the file. You'll find the download and installation instructions at http://forums.sagetv.com/forums/down...?do=file&id=71 Dirk |
#2
|
||||
|
||||
Great! Nice work...worked wonderfully.
|
#3
|
|||
|
|||
Does this result in a new XML file with all the imports in it, or does it dynamically load the imports when you start Sage?
|
#4
|
|||
|
|||
Quote:
Dirk |
#5
|
||||
|
||||
There is no plugins.cfg file in the archive... I'm gonna try this with building my own plugins.cfg from the example given...
imdb_search_import.stvi miniguide_plugin_0_94.stvi [...] Hopefully it works. Update: Worked perfectly... very nice, makes upgrading to the lastest betas a breeze! Thank You!! Last edited by Wheemer; 04-05-2006 at 12:29 AM. |
#6
|
||||
|
||||
What directory should the plugin.cfg file be in?
|
#7
|
|||
|
|||
I'm a little lost here as well. Should the plugin.cfg file be like this: Sage\Sage\plugin.cfg?
I take it that just writing the file in wordpad will get it? Thanks, MBrew |
#8
|
|||
|
|||
Quote:
Yeah, the file has to be in the SageTV\SageTV directory, and you can simply create it with notepad or any other text editor without formatting. Put any stvi you want to import (filename without path) into a separate line, and it should work - see Wheemers example above ... Dirk |
#9
|
|||
|
|||
Dirk,
Thanks for the quick reply. I had done just that and was just about to hit import when your message came in. It was good to have the verification though. I hit it, and I haven't had time to poke around much, but I know I've got part of the customizable menu stvi from what I did see. This is a slick deal and a real time saver. Your effort is really appreciated! To others, If I can pull this off anybody can. Just to add a note; on my system the .cfg file showed up with an outlook icon which threw me at first but it works like a charm Thanks, MBrew |
#10
|
|||
|
|||
Dirk, I just tried out this import and am having problems with it. Compatible with SageMC6.11a?
If I try to import the import, it makes one new updated .xml but none of the included imports work. |
#11
|
|||
|
|||
Quote:
Can you enable debug logging and send me the log files ? Dirk |
#12
|
|||
|
|||
Here is the debug txt.
I see this right at the begining, some Java errors. Quote:
edit: It looks like it might be related to this: Quote:
edit2: Yup, has to do with df_sageplugins.jar. I dropped a copy into my JAR folder, and it imports in now. Last edited by ke6guj; 09-14-2006 at 01:27 PM. |
#13
|
|||
|
|||
Quote:
Dirk |
#14
|
|||
|
|||
Nope, I dl'ed the latest version 0.3. opened up the xml, and it shows
Quote:
|
#15
|
|||
|
|||
Quote:
Dirk |
#16
|
||||
|
||||
Has anyone ever tried this with sage client?
It works fine on my server... but on the client it can't seem to find the STVI's. In the log file I see: Code:
Sun 10/1 12:14:18.986 ========== Importing Importer v0.3 ========== Sun 10/1 12:14:18.998 *** plugin dynamic_menu_import.stvi does not exist *** Sun 10/1 12:14:18.998 *** plugin infopopup_import.stvi does not exist *** Sun 10/1 12:14:18.999 *** plugin weather_report_suite_import.stvi does not exist *** Sun 10/1 12:14:18.999 *** plugin miniguide_plugin_0_96.stvi does not exist *** Sun 10/1 12:14:18.999 *** plugin imdb_search_import.stvi does not exist *** Sun 10/1 12:14:19.000 *** plugin Detailed_Info_import_0_86.stvi does not exist *** Sun 10/1 12:14:19.012 *** plugin ISO_mount_0_12.stvi does not exist *** Sun 10/1 12:14:19.051 STV contains 20411 widgets Sun 10/1 12:14:19.051 Import contains 45 widgets Sun 10/1 12:14:19.058 Setting UI context for import to SAGETV_PROCESS_LOCAL_UI Sun 10/1 12:14:19.059 Using import library version 1.6 Sun 10/1 12:14:19.074 ghost Main Menu removed Sun 10/1 12:14:19.075 *** removing previous import hook *** Sun 10/1 12:14:19.087 old import hook not found Sun 10/1 12:14:19.099 *** renaming STVImported Hook *** Sun 10/1 12:14:19.103 hook renamed Sun 10/1 12:14:19.103 *** removing import hook code *** Sun 10/1 12:14:19.127 import hook code removed Thoughts? Jim |
#17
|
|||
|
|||
Quote:
yes sure, it is supposed to work, I use it with my clients all the time. I see you are still using v1.6 of my import library, could you re-download the importer plugin (it contains the current version 1.9) and let me know if this makes a difference ? Dirk |
#18
|
||||
|
||||
Nope... No difference... I re-extracted the whole import zip file and wrote over everything except the config file..
Code:
Sun 10/1 16:09:05.725 ========== Importing Importer v0.3 ========== Sun 10/1 16:09:05.750 *** plugin dynamic_menu_import.stvi does not exist *** Sun 10/1 16:09:05.750 *** plugin infopopup_import.stvi does not exist *** Sun 10/1 16:09:05.750 *** plugin weather_report_suite_import.stvi does not exist *** Sun 10/1 16:09:05.751 *** plugin miniguide_plugin_0_96.stvi does not exist *** Sun 10/1 16:09:05.751 *** plugin imdb_search_import.stvi does not exist *** Sun 10/1 16:09:05.751 *** plugin Detailed_Info_import_0_86.stvi does not exist *** Sun 10/1 16:09:05.751 *** plugin ISO_mount_0_12.stvi does not exist *** Sun 10/1 16:09:05.824 STV contains 20411 widgets Sun 10/1 16:09:05.825 Import contains 45 widgets Sun 10/1 16:09:05.831 Setting UI context for import to SAGETV_PROCESS_LOCAL_UI Sun 10/1 16:09:05.832 Using import library version 1.9 Sun 10/1 16:09:05.844 ghost Main Menu removed Sun 10/1 16:09:05.845 *** removing previous import hook *** Sun 10/1 16:09:05.857 old import hook not found Sun 10/1 16:09:05.868 *** renaming STVImported Hook *** Sun 10/1 16:09:05.871 hook renamed Sun 10/1 16:09:05.871 *** removing import hook code *** Sun 10/1 16:09:05.894 import hook code removed |
#19
|
|||
|
|||
Quote:
Can you try it again with the attached JAR file ? It prints out in which directory it looks for the STVis. Did you by any chance change the current working directory of SageTV.exe ? Dirk |
#20
|
||||
|
||||
When I use this with a bunch of my imports, it leaves a 'ghost' main menu in my imported STV...
If I import the STVI's manually, I don't get a 'ghost' main menu. If I edit the importer_0_3.stvi, remove the main menu, save, and then use it to import a bunch of my imports, I also don't get a 'ghost' main menu... I guess some of the cleanup code is getting missed after doing so many imports... My plugins.cfg: Code:
CpuMotherBoardInfo_import.stvi IntelligentSuggestions.stvi MultiFunctionStop_import.stvi autoaspect_import.stvi dynamic_menu_import.stvi imdb_search_import.stvi infopopup_import.stvi multispeed_skip_import.stvi recpadding_import.stvi rssnews_import.stvi
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|