SageTV Community  

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

Notices

Phoenix This forum is for discussing the user-created Phoenix custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-10-2011, 09:33 PM
Gustovier Gustovier is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: Chicago
Posts: 460
Request to add Movies on Now

I figure the dev team is working hard on getting the next release ready, so I thought I would throw this feature request. It would be awesome if there was a facility to view which Movies were playing "Now" and have a filter for HD on it as well. It would probably be nice to also see the movies that would be upcomming too. There is a plugin for the default STV that accomplishes this, and I know the goal is to have this new STV accomplish everything without the need for addon plugins..
Reply With Quote
  #2  
Old 04-11-2011, 05:51 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Here's a view that I use for my needs... It basically shows all movies that are starting now for the next 24 hours and filters it by my TMN channel numbers (I don't want to see movies with commercials).

Code:
		<view name="upcomingmovies-TMN" label="Upcoming TMN Movies" visible="prop:server:phoenix/core/enableAdvancedViews">
			<description>Upcomming TMN Movies</description>
			<tag value="epg"/>
			<source name="expression">
				<option name="expression">
					GetAiringsOnViewableChannelsAtTime(java_lang_System_currentTimeMillis(), java_lang_System_currentTimeMillis() + (24 * 60 * 60 * 1000), true)
				</option>
			</source>

			<filter by="channel" value="1251,1254,1254,1256,1258,1259"/>
		</view>
While I'm filtering by <channel> you can easily <filter by="hd" value="true"/>

I'm not sure if Phoenix has support for epg views, ie, that it knows that they are epg items and as a result allows you to schedule a recording for them or not. But, in bmt, this view would show up and you'd be able to browse it and record a movie from bmt.

A couple of notes...
1. You probably don't want the visible attribute.
2. When you create a view from an expression, you can use any valid expression as long as it returns an array/list of MediaFile or Airing objects. Since the api, GetAiringsOnViewableChannelsAtTime, returns Airing objects, then it works nicely. You may want to check out the javadocs for AiringAPI for more Airing related apis.
Reply With Quote
  #3  
Old 04-11-2011, 06:32 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
There are two views that ship with phoenix that you can pull up in the UMB - both are tagged 'EPG'. One is upcoming recordings, the other upcoming movies. Both work fine in the UMB.

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #4  
Old 04-11-2011, 07:06 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bialio View Post
There are two views that ship with phoenix that you can pull up in the UMB - both are tagged 'EPG'. One is upcoming recordings, the other upcoming movies. Both work fine in the UMB.

btl.
Cool... And it appears that you've detected they are airings and added "Record" and "Record as Favorite" buttons. Very cool.

@Gustovier - just in case it wasn't obvious... to get a list of all views, just select any view from the landing zone (TV for example) which will take your to browser. When in the browser, bring up the options menu, then select Change Media View. This will bring up a categorized list of all views in the system.
Reply With Quote
  #5  
Old 04-11-2011, 12:22 PM
Gustovier Gustovier is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: Chicago
Posts: 460
Quote:
Originally Posted by bialio View Post
There are two views that ship with phoenix that you can pull up in the UMB - both are tagged 'EPG'. One is upcoming recordings, the other upcoming movies. Both work fine in the UMB.

btl.
Hmm... I seem to be missing the 2 views you mentioned. When I pull up the View Selector I don't have any views listed under EPG (I see EPG, just no views in that category). What should their names be? Or maybe this just isnt in the version I have (I believe it to be 309 or whatever the one that most recently released to this forum)

@Stuckless.. Thanks for that example! I see how I could use that to personalize this.
Reply With Quote
  #6  
Old 04-11-2011, 12:58 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Gustovier View Post
Hmm... I seem to be missing the 2 views you mentioned. When I pull up the View Selector I don't have any views listed under EPG (I see EPG, just no views in that category). What should their names be? Or maybe this just isnt in the version I have (I believe it to be 309 or whatever the one that most recently released to this forum)

@Stuckless.. Thanks for that example! I see how I could use that to personalize this.
Many views in the x-vfs.xml are hidden by default and never show up unless they are explicitly created. This is done because otherwise, we'll have too many views to manage. So, if you look in the x-vfs.xml and see a view that you like, and it's visible="false", then copy it to your custom view file and set visible="true".

I have lots of different views in my custom view area. I tend to customize the views (ie, like I did for the TMN movies) to suit my personal needs. I even have mine setup to only show certain views on certain clients, etc. The tweaking is endless
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
Where have all the movies gone? darcilicious Diamond 11 03-05-2011 10:40 AM
Feature Request (Hide Movies / TV shows) mguebert SageTV Beta Test Software 5 11-06-2010 09:02 PM
My Movies Add-In for WHS kevine General Discussion 24 10-09-2009 11:33 AM
What movies are on right now? rykr SageTV Software 3 09-04-2009 08:23 AM
can I group all recorded movies into a MOVIES group Deacon Crusher SageMC Custom Interface 5 06-05-2008 12:22 PM


All times are GMT -6. The time now is 07:49 PM.


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