|
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
|
|||
|
|||
GetRecentlyWatched() in 6.0 beta
Did the parameter semantics for GetRecentlyWatched() change ? In 5.x, it would return the whole watched-history when 0 is passed in, now it doesnt return any shows. Of course I can pass in Long.MAX_VALUE, just wanted to check if this is intended ...
Dirk |
#2
|
||||
|
||||
It is possible -- the docs don't say anything about a parameter of 0 having a special meaning & I know there was some sort of fix regarding how it handles its parameter.
- 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:
The method seems to only allow Integer values as a parameter (up to 2147483647), any value larger than that returns an empty list. Max Integer only allows up to 24 days (in milliseconds), but it shows me shows older than 24 days (up to 8/16/06). On the other hand, if i use 7*24*60*60*1000, it shows me the last 7 days... Dirk |
#4
|
||||
|
||||
Are you making sure to send a long instead of an integer?
Try sending Time(), to go back to the beginning of time as we know it. - 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. |
#5
|
|||
|
|||
Quote:
Is there a specific syntax for long values in Studio code ? I tried 2147483648, 2147483648L, and new_java_lang_Long(2147483648), but neither worked ... Quote:
So it's an issue of how to specify real long values in Studio. Hmm, wait, this still doesnt answer why 2147483647 shows me more than 24 days ... Dirk |
#6
|
||||
|
||||
Quote:
Quote:
- 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:
Quote:
Dirk |
#8
|
||||
|
||||
Quote:
I'll have to double check on specifying large longs. - 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
|
||||
|
||||
new_java_lang_Long("2147483648") works in Expression Evaluator. Just typing 2147483648 as a bare number does not. (Parsing Error: Can't parse "2147483648")
Try submitting a bug report on it. Can't hurt, and we are in Beta.
__________________
-- Greg |
#10
|
||||
|
||||
Quote:
new_java_lang_Long("2147483648") java_lang_Long_parseLong("2147483648") "2147483648" * 1 So, converting them from strings worked, but this did not work: new_java_lang_Long(2147483648) 2147483648 It seems to try making a straight number like this to always be an integer. Oh, I see there's another reply about it while I was typing this & got called away from my desk. - 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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|