SageTV Community  

Go Back   SageTV Community > SageTV Customizations > SageTV Studio

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 10-30-2006, 01:21 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,742
IsChannelViewable()

Question regarding 'IsChannelViewable()' API:

What exactly determines if a channel is 'viewable' or not ?


Thanks,
Dirk
Reply With Quote
  #2  
Old 10-30-2006, 04:01 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,074
My reading of the docs is that IsChannelViewableOnLineup returns true if the channel is enabled in that lineup, false if it's disabled. So IsChannelViewable would then presumably return true if there is any lineup in which that channel is enabled, false if there is no such lineup.

That's my interpretation anyway. I haven't actually tested to see if it holds water.
__________________
-- Greg
Reply With Quote
  #3  
Old 10-30-2006, 07:57 PM
BobPhoenix BobPhoenix is offline
Sage Icon
 
Join Date: Oct 2004
Posts: 2,230
Quote:
Originally Posted by GKusnick
My reading of the docs is that IsChannelViewableOnLineup returns true if the channel is enabled in that lineup, false if it's disabled. So IsChannelViewable would then presumably return true if there is any lineup in which that channel is enabled, false if there is no such lineup.

That's my interpretation anyway. I haven't actually tested to see if it holds water.
What he said.

I use IsChannelViewable in my FCL plugin and it appears to work this way when I do a FilterByMethod with it.

Bobp.
Reply With Quote
  #4  
Old 10-31-2006, 06:33 AM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,742
Quote:
Originally Posted by BobPhoenix
What he said.

I use IsChannelViewable in my FCL plugin and it appears to work this way when I do a FilterByMethod with it.

Bobp.
Thanks to both of you for the info !


Dirk
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 08:20 PM.


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2003-2005 SageTV, LLC. All rights reserved.