SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-06-2006, 10:43 PM
aperry's Avatar
aperry aperry is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 680
Help Me With My Import

I've released the MovieTimes import, but I have two nagging problems.

I'm using nielm's generic importer, but if I try and import it a second time (like to import a new version), it gets all messed up, with orphans all over the place, etc.

The other problem is that I'm using the generic CenteredDirectoryBrower in there, and it seems to work fine when I'm using just my import in testing. Once I import it though, I get this:

Directory-Problem.png

Each of those items should be a directory name.

Nielm, or any other Studio experts out there, can you offer any help on these two issues?

Thanks!!!!!
Reply With Quote
  #2  
Old 07-06-2006, 11:06 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by aperry
The other problem is that I'm using the generic CenteredDirectoryBrower in there, and it seems to work fine when I'm using just my import in testing.
I don't know what is happening, but check the after-import code to see what that CenteredDirectoryBrower OptionsMenu actually contains. It looks like the table is somehow trying to draw a listing of recordings instead of folder names.

While that dialog is on the screen, you can use Debug -> UI Components to help find where those items are getting drawn & what theme might be affecting them.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 07-07-2006, 04:54 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by aperry
but if I try and import it a second time (like to import a new version), it gets all messed up, with orphans all over the place, etc.
my generic importer's 'delete widget tree' code is pretty crap and does not handle loops, so you will end up with circularities and orphans...

I generally only import once into the SageTV3.xml stv, and don't try to make my imports re-installable...

flachbar's import utility functions are much better than mine (writting in Java not studio) and might help fix your problem...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #4  
Old 07-07-2006, 06:51 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
What I've done in my imports is create a unique widget name for each import that I put immediately above a loop link point. So it might be called: "REM ImportName Loop Unlink" for instance. Then the first thing the import code does is find all those "REM ImportName Loop Unlink" widgets and unlink them from the loop back point. Then when you call NIELM's delete widget tree routine you don't get circularities. Also for any themes that I have created and are not already in the STV I give them a name like: 'Rename: MyCustomTheme'. Then after NIELM's code that replaces Themes I find all imported themes that begin with "Rename: " and rename it to "MyCustomTheme". That allows me to import custom themes correctly. The default themes already included in the STV don't need this of course.

BobP.

Edit: Although I have since switched to using flachbar's import utility functions myself.

Last edited by BobPhoenix; 07-07-2006 at 08:49 AM.
Reply With Quote
  #5  
Old 07-08-2006, 11:13 PM
aperry's Avatar
aperry aperry is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 680
I'll look into flachbar's import utilities, thanks for the pointer.

Regarding the directory browser, I'm still researching that (thanks for the tips on debugging it Opus).
Reply With Quote
  #6  
Old 07-19-2006, 03:59 AM
alon24 alon24 is offline
Sage Aficionado
 
Join Date: Jun 2004
Posts: 351
you can also take alook at my small TK, if something is missing in your opinion I can add it.

http://forums.sagetv.com/forums/showthread.php?t=18604
__________________
Server
SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1
Client
SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1

Using Nielm's Web server 2.22
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


All times are GMT -6. The time now is 05:53 PM.


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