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 02-19-2013, 11:57 PM
IVB's Avatar
IVB IVB is offline
Sage Icon
 
Join Date: Sep 2003
Location: Oak-town, CA
Posts: 1,083
Default grouping, sort order

I've been on stock UI since, oh, 2003, but Stuckless' G+ post made me curious about Phoenix. (I tried a few different things a few years ago but massive "OMFG YOU CHANGED IT" from wife/kids had me quickly back out.)

Anyhow; i've been reading various threads, want to make sure I've got this right. For TV shows & movies, I always want to have no grouping (by show), and always sort by date added (desc). In order to accomplish this, I *think* I need to manipulate the files on the server, is that correct? I tried making a manual change via the HD200, but when I exit the menu it resets itself.

thx
__________________
------------------------------------
My Home Automation YouTube channel
Reply With Quote
  #2  
Old 02-20-2013, 05:26 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by IVB View Post
I've been on stock UI since, oh, 2003, but Stuckless' G+ post made me curious about Phoenix. (I tried a few different things a few years ago but massive "OMFG YOU CHANGED IT" from wife/kids had me quickly back out.)

Anyhow; i've been reading various threads, want to make sure I've got this right. For TV shows & movies, I always want to have no grouping (by show), and always sort by date added (desc). In order to accomplish this, I *think* I need to manipulate the files on the server, is that correct? I tried making a manual change via the HD200, but when I exit the menu it resets itself.

thx
I'm not 100% sure, but I don't think the View changes in Phoenix (done from the UI are sticky) (Brian can correct me if I'm wrong).

So, yeah, typically the vfs changes if you want them to be sicky, you will need to manually create a new view file on the server.

The easiest way to do this, is to simply override our default TV view with your own. TO do this,
1. create a file called "phoenix.view.default.TV.xml" in "SAGE_HOME/userdata/Phoenix/vfs/" (create the directory if necessary)
2. in that file paste the following...
Code:
<!DOCTYPE vfs SYSTEM "vfs.dtd">
<vfs>
	<views>
		<view name="phoenix.view.default.TV" label="TV Shows" flat="true">
			<tag value="tv" />
			<tag value="default" />
			<view-source name="phoenix.view.primary.recordedtv" />
			
			<!-- If you don't want imported tv, ie downloads, rips, etc then remove this line -->
			<view-source name="phoenix.view.primary.importedtv" />

			<presentation level="1">
				<sort by="recentactivity">
					<option name="sort-order" value="desc" />
				</sort>
			</presentation>
		</view>
	</views>
</vfs>
3. In BMT web ui, click "Refresh -> Refresh Configurations" (should get an OK message)

Then in BMT web UI, click on the TV Shows view from the Browse menu and see if it's showing what you like.

Now when you go into Phoenix (ie, TV) and you click TV Shows, then you'll see the TV shows view that you just created.

You should NEVER edit the x-vfs.xml file directly, because we will override that file. Any VFS chagnes should go in the userdata/Phoenix/vfs/ directory to ensure that you can easily add your own views that do not get overwritten, and you can easily remove views later, if you no longer want them.
Reply With Quote
  #3  
Old 02-20-2013, 12:39 PM
IVB's Avatar
IVB IVB is offline
Sage Icon
 
Join Date: Sep 2003
Location: Oak-town, CA
Posts: 1,083
cool thx!
__________________
------------------------------------
My Home Automation YouTube channel
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
Sort Order voorhees Batch Metadata Tools 9 07-07-2011 12:43 PM
Changing Default Sort Order/ Jump to Letter Function scm Phoenix 4 06-21-2011 03:25 PM
Best order to sort sky EPG data John@TunerUK SageTV United Kingdom 10 12-28-2008 06:58 PM
Sort order in Videos nissse SageTV Customizations 1 08-19-2008 11:51 PM


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


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