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 04-13-2009, 08:48 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Having touble calling current file info into screen

I am having trouble getting detailed info of video files into my screen.

I am using action widgets to call "current title" information am I going about this currectly?
Reply With Quote
  #2  
Old 04-13-2009, 10:19 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by PLUCKYHD View Post
am I going about this currectly?
No way for us to know unless you show us some code.
__________________
-- Greg
Reply With Quote
  #3  
Old 04-14-2009, 07:32 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
That would help huh Let me get it coded back in (deleted it since it didn't work) and I will post a screen cap.
Reply With Quote
  #4  
Old 04-15-2009, 06:58 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Okay my import is basically adjustments to video library.

I am trying to get detailed file (movie) info into the screen under the CurrentItem Widget

Current Item-
---------------ParentGroup-
----------------------------txt
-------------------------------theme
The above is the default and pulls the title. I have found the focused widgets that calls what parent group equals and refresh's current item. So I have added

ParentGroup1 = GetShowDescription (Show) into the focus gained before the refresh

Then in the Current Item I added

Current Item-
---------------ParentGroup-
----------------------------txt
-------------------------------theme
---------------ParentGroup1-
----------------------------txt
-------------------------------theme


But this doesn't appear to be working so I know I am off kelter somewhere.
Reply With Quote
  #5  
Old 04-21-2009, 09:42 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Help with calling description of video file

I am trying to call current title and description into an import at the same time

Below is the coding in the focus gained section


http://s714.photobucket.com/albums/w...ocusgained.jpg

Below is the coding where the output is displayed


http://s714.photobucket.com/albums/w...currenitem.jpg


I can get CurrentGroup to show whatever I want show description title etc

But I cannot get CurrentGroup2 to show any information

Any help is much appreciated.

* merged *
Reply With Quote
  #6  
Old 04-21-2009, 10:06 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Is the variable ParentGroup2 declared anywhere? I.e. is there an Attribute widget with that name in a scope where all uses of that variable can see it? If not, then you have two distinct local variables that just happen to have the same name, and there's no way for the information to get from one part of your code to the other.

Is there some reason you're putting your ParentGroup2 in a panel by itself (CurrentItem2) instead of adding it to some existing panel? What steps are you taking to make sure your new panel lays out correctly on screen and does not overlap other panels?

Also there seems to be some confusion in the false branch of your code where you're assigning ParentGroup instead of ParentGroup2, and you seem to have a pointless call to Fork() that goes nowhere.

Note that I'm not a SageMC user or developer and am not familiar with how this code is supposed to work when it's functioning normally. Hopefully you do have that familiarity, i.e. you understand what each line of the code you're trying to emulate is there for and how it does its job.
__________________
-- Greg
Reply With Quote
  #7  
Old 04-21-2009, 10:18 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
okAY

Parentgroup2 is in it's on panel because more items will be called to it once I can figure this out and it will be in a different location onscreen than ParentGroup.

As for a variable no it is not declared anywhere but nether it parentgroup and it works.

Yeah the blank fork that needs to be fixed but is not false right now so that shouldn't effect it.

I am at a total loss why parentgroup works and parentgroup2 doesn't
Reply With Quote
  #8  
Old 04-21-2009, 10:22 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Thank you thank you thank you.

ParentGroup was declared I just forget

After declaring ParentGroup 2 all is right with the world.

Can't thank you enough

Quote:
Originally Posted by GKusnick View Post
Is the variable ParentGroup2 declared anywhere? I.e. is there an Attribute widget with that name in a scope where all uses of that variable can see it? If not, then you have two distinct local variables that just happen to have the same name, and there's no way for the information to get from one part of your code to the other.

Is there some reason you're putting your ParentGroup2 in a panel by itself (CurrentItem2) instead of adding it to some existing panel? What steps are you taking to make sure your new panel lays out correctly on screen and does not overlap other panels?

Also there seems to be some confusion in the false branch of your code where you're assigning ParentGroup instead of ParentGroup2, and you seem to have a pointless call to Fork() that goes nowhere.

Note that I'm not a SageMC user or developer and am not familiar with how this code is supposed to work when it's functioning normally. Hopefully you do have that familiarity, i.e. you understand what each line of the code you're trying to emulate is there for and how it does its job.
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
Video file info scanner95 SageMC Custom Interface 5 02-19-2009 04:33 PM
What's the current state of IMDB info files? .my/xml/.properties?? ChuckSchick SageMC Custom Interface 2 07-22-2008 07:13 AM
File details in the Program Info screen? gveres SageMC Custom Interface 5 04-10-2008 05:19 PM
Queston on calling up info menu while watching ripple SageTV Beta Test Software 5 04-20-2004 09:23 AM
Current Recording info Crowdx42 SageTV Software 2 03-05-2004 12:38 PM


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


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