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 06-26-2011, 06:22 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Edit default views

What's the recommended way to edit default views? Just about all of the default views are great and work well for my needs but I prefer to ignore leading articles in all views.
Do I need to copy all views to the userdata folder and add this line to each view?
Code:
<option name="ignore-all" value="true"/>
Or is there a better way?
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #2  
Old 06-26-2011, 06:44 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
That is the recommended method so that your views will not be overwritten in future updates.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #3  
Old 06-26-2011, 11:43 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Ok, I seem to have it working for Movies but I can't get it working for TV.

I've copied the x-vfs.xml file to userdata\vfs and edited the "TV Shows" view to look like this:
Code:
<view name="phoenix.view.default.TV" label="TV Shows" flat="true">
			<tag value="tv" />
			<tag value="default"/>
			<view-source name="phoenix.view.primary.recordedtv"/>
			<view-source name="phoenix.view.primary.importedtv"/>

			<presentation level="1">
				<group by="show">
					<option name="prune-single-item-groups" value="false"/>
				</group>
				<sort by="title">
					<option name="folders-first" value="false"/>
					<option name="sort-order" value="asc"/>
					<option name="ignore-all" value="true"/>
				</sort>
			</presentation>		
			
			<presentation level="2">
				<sort by="originalairdate" />
			</presentation>
		</view>
I reload the Reload the views from the GUI (have also restarted SageTV) but the view does not seem to change within Sage. However, it does change it in BMT web UI. What am I doing wrong? Am I editing the wrong view?
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #4  
Old 06-27-2011, 07:11 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by alfi33 View Post
Ok, I seem to have it working for Movies but I can't get it working for TV.

I've copied the x-vfs.xml file to userdata\vfs and edited the "TV Shows" view to look like this:
Code:
<view name="phoenix.view.default.TV" label="TV Shows" flat="true">
			<tag value="tv" />
			<tag value="default"/>
			<view-source name="phoenix.view.primary.recordedtv"/>
			<view-source name="phoenix.view.primary.importedtv"/>

			<presentation level="1">
				<group by="show">
					<option name="prune-single-item-groups" value="false"/>
				</group>
				<sort by="title">
					<option name="folders-first" value="false"/>
					<option name="sort-order" value="asc"/>
					<option name="ignore-all" value="true"/>
				</sort>
			</presentation>		
			
			<presentation level="2">
				<sort by="originalairdate" />
			</presentation>
		</view>
I reload the Reload the views from the GUI (have also restarted SageTV) but the view does not seem to change within Sage. However, it does change it in BMT web UI. What am I doing wrong? Am I editing the wrong view?
While you can replace our views by duplicating them, it may lead to this type of confusion, where you think you are editing/changing the right view, but turns out your are not. Plus if we change the view id again, then it will stop working for you as well, since you'll no longer be "duplicating" our view.

A better approach, which wrems has documented in examples quite well, is to create your own views with your own ids/names. ie,

Code:
<view name="alfi.default.TV" label="Alfi TV" ...>
You can then test the view in BMT (and since you've given it a unique label, you'll know you are hitting the right view). Once you have it right, then create a new menu entry that references that view, and then using the Phoenix menu editor you can hide our view, and position your view where you want it.

This takes a little more effort, but the good news is that you'll be better protected against issues that crop up because we change things.
Reply With Quote
  #5  
Old 06-27-2011, 11:15 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
We will likely be adding some additional options to modify views from within the UI such as ignoring leading articles and grouping folders at the top of the list. That should help alleviate some difficulties.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #6  
Old 06-27-2011, 11:47 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by MeInMaui View Post
We will likely be adding some additional options to modify views from within the UI such as ignoring leading articles and grouping folders at the top of the list. That should help alleviate some difficulties.

Aloha,
Mike
I think another good idea might be to update the menu editor with a "Insert View MenuItem" that would allow you to select the view name, and display type (ie, banner, grid, etc), and it would build the menu item and insert it at the given location.
Reply With Quote
  #7  
Old 06-27-2011, 12:40 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
I agree.
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #8  
Old 06-28-2011, 09:58 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Thanks for all the help. I'm really loving this VFS and custom menu stuff! Great work!

Alfie
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #9  
Old 06-29-2011, 06:16 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by alfi33 View Post
Thanks for all the help. I'm really loving this VFS and custom menu stuff! Great work!

Alfie
Glad you like it... and it's only going to get better from here on in
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
Editing Views stuckless Phoenix 71 05-20-2013 05:51 AM
Can you have Custom TV views wayner Diamond 2 04-10-2011 09:29 PM
VFS Views - What's missing? stuckless Phoenix 20 03-12-2011 06:26 PM
.properties files still in default sage views PLUCKYHD Sage My Movies 1 02-18-2011 09:34 AM
Edit default aspect ratio for some tuners BFisher Hardware Support 4 08-20-2008 07:41 AM


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


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