|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
API Changes in 5.0 ?
I am trying to track down why certain functionality of SageMC does not work any more in 5.0. Did anything change in the implementation of the SageAPI, and if so, is there a changelog somewhere ?
Thanks, Dirk |
#2
|
||||
|
||||
The Studio changes should be listed in the release notes throughout the beta; links to all of those are in the sticky beta progress report thread.
My guess about the DateFormat() error that you mentioned in the MC thread would be that the variable "Date" isn't set to anything yet at the point it is being used. Maybe toss it into the debug log to see what the value is when the error occurs. - 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. |
#3
|
|||
|
|||
Quote:
Regarding the error, I am actually looking at a different issue, the deletion/set watched/ don't like does not work in the recording list when you sort by title, if you sort by date it is fine. It seems like (I still haven't fully understood the code) it is caused by a variable 'Airing' (TableComponent) which has type 'MediaFile' when sorted by date, and type 'String' when sorted by Title... Dirk |
#4
|
||||
|
||||
This is certainly an issue that came about via changes in the SageTV core. I know during the early 4.x releases it was working fine. flachbar, if you figure it out and fix it I can post the updated STV on the SageTV FTP drop.
__________________
Check out SageMC16x9 - Where form is function . Don't forget the check out the SageMC16x9 Wiki if you have any configuration or general usage questions. New content is being added all the time! |
#5
|
|||
|
|||
Yeah, I'm not familiar with how table widgets work in Studio yet, so I have to catch up on this, but if I manage to figure out the problem I'll let you know ...
Dirk |
#6
|
||||
|
||||
Are you sure that worked previously? It is using GroupByMethod, grouping by GetAiringTitle, on the line:
Groups = GroupByMethod(RecordedFiles, "GetAiringTitle") Maybe that GroupByMethod() was a newer line? This uses the show title for each group key, which is also what is used for the "Recording" TableComponent... which is what "Airing" is set to. I don't think you could ever translate a title into its matching airing, because there is no one-to-one translation possible there. You can check the default STV's "SageRecordings w/ Optional Preview & AutoCategories" menu to see how it handles the recording list by groups vs. non-groupings. You're going to have to note whether the list sent to the Table widget is a group or not, then set the Airing value appropriately. - 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. |
#7
|
||||
|
||||
Quote:
__________________
Check out SageMC16x9 - Where form is function . Don't forget the check out the SageMC16x9 Wiki if you have any configuration or general usage questions. New content is being added all the time! |
#8
|
||||
|
||||
Hmmm... now that I thought about it again, I could be wrong -- maybe it would work to translate a string title into an Airing if there turns out to be only a single match & that part changed. I'll have to check on that, since I don't know enough about the core to know if that was ever possible.
- 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. |
#9
|
|||
|
|||
Quote:
Dirk |
#10
|
||||
|
||||
OK, I checked -- it never worked to send to send a string when an Airing or MediaFile was needed. So, either that part of the STV didn't work before or that grouping call is new.
If you'll notice, the table already deals with groupings to get the actual airing when an item is selected & it is about to go to a new screen. You'll have to do something similar in order to set the Airing variable to begin with for purposes of the Watched command, etc. - 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. |
#11
|
|||
|
|||
Quote:
And yep, I noticed this too, so the fix shouldn't be too difficult ... Thanks again, Dirk |
#12
|
|||
|
|||
Quote:
Dirk |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|