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 08-21-2011, 12:58 PM
rtengvad rtengvad is offline
Sage Aficionado
 
Join Date: Jul 2005
Location: Copenhagen, Denmark
Posts: 425
Folders with o items showing up in my view..

Hi guys

I've worked hard trying to get my views fine-tuned, but I have one problem. I use the "prune-single-item-groups" option and it works fine for some of my recordings. Others however are showing up as 0-item folders.

I wonder if it has anything to do with my meta data. None of the movies tagged as movies shows up like this.

My view for my sage recordings looks like this:

<view name="rte_recordedtv" label="Recorded TV RTE" visible="${GetProperty(&quot;phoenix/core/enableAdvancedViews&quot;, true)==true}">
<description>Sage Recordings ALL</description>
<tag value="primary"/>
<tag value="tv" />
<view-source name="phoenix.view.source.sagerecordings"/>
<presentation>
<group by="title">
<option name="prune-single-item-groups" value="true"/>
</group>
<sort by="title">
<option name="sort-order" value="asc"/>
<option name="folders-first" value="false"/>
</sort>
</presentation>
</view>

Any help appreciated

Thanks Rasmus
__________________
Server: Win7 • SageTV v7.1.9 • GA-MA785GM-US2H • Athlon 64 X2 BE-2350 • 2 Gb RAM • 4x 1Tb WD RE-2 GP in RAID5, Adaptec 5405 Raid controller • 2x firewire DVB-C FloppyDTV C/CI, 1x TechnoTrend CT-3650 CI via the LM Smart DVB Recorder plug-in.

Clients: HD300 to a Samsung PS50C7705 (PN50C8000) via a DVDO Edge • HD200 • Placeshifter

Remote: Universal Remote Control MX-980

Last edited by rtengvad; 08-21-2011 at 01:01 PM.
Reply With Quote
  #2  
Old 08-21-2011, 06:44 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
What I'd do is get rid of the sort from the presentation, and see what your results are there. You can always apply a simple sort like that from the UI.

It appears that you are going for a view that is similar to the 'TV Shows' view (phoenix.view.default.TV) - you could try copying that and modifying it so that it has the 'prune-single-item' which I think is the main difference.....

On another note, I think generally you'll have the best luck using the *.primary.* views as the basis for building custom views - most of the default views build their content based on the one of the primary views.

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #3  
Old 08-22-2011, 12:24 PM
rtengvad rtengvad is offline
Sage Aficionado
 
Join Date: Jul 2005
Location: Copenhagen, Denmark
Posts: 425
Hi bialio, thanks for your time.

I followed your advice and copied the "recordings" view and used that. Used directly as it is written wih no changes, I see lot of single-item folders. But if I correct that apparent spelling mistake in the prune option. ie I add an "L" to singe so that

<option name="prune-singe-item-groups" value="true"/>
becomes
<option name="prune-single-item-groups" value="true"/>

Some single recordings shows up correctly, others as 0-item folders.

Rasmus
__________________
Server: Win7 • SageTV v7.1.9 • GA-MA785GM-US2H • Athlon 64 X2 BE-2350 • 2 Gb RAM • 4x 1Tb WD RE-2 GP in RAID5, Adaptec 5405 Raid controller • 2x firewire DVB-C FloppyDTV C/CI, 1x TechnoTrend CT-3650 CI via the LM Smart DVB Recorder plug-in.

Clients: HD300 to a Samsung PS50C7705 (PN50C8000) via a DVDO Edge • HD200 • Placeshifter

Remote: Universal Remote Control MX-980
Reply With Quote
  #4  
Old 08-22-2011, 12:40 PM
rtengvad rtengvad is offline
Sage Aficionado
 
Join Date: Jul 2005
Location: Copenhagen, Denmark
Posts: 425
Quote:
Originally Posted by bialio View Post
On another note, I think generally you'll have the best luck using the *.primary.* views as the basis for building custom views - most of the default views build their content based on the one of the primary views.

btl.
The problem with the primary view "recorded tv" is that it filters out movies. But here where I live the epg data is incomplete and often tagged wrong. So I have shows where some episodes are tagged as "series", some as "movies", and some as "other". So the filter option just mess up. Then its better just to have all recordings together in one view.

Rasmus
__________________
Server: Win7 • SageTV v7.1.9 • GA-MA785GM-US2H • Athlon 64 X2 BE-2350 • 2 Gb RAM • 4x 1Tb WD RE-2 GP in RAID5, Adaptec 5405 Raid controller • 2x firewire DVB-C FloppyDTV C/CI, 1x TechnoTrend CT-3650 CI via the LM Smart DVB Recorder plug-in.

Clients: HD300 to a Samsung PS50C7705 (PN50C8000) via a DVDO Edge • HD200 • Placeshifter

Remote: Universal Remote Control MX-980
Reply With Quote
  #5  
Old 08-22-2011, 12:45 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Try something like this - this started as the .TV view I mentioned earlier, and I've modified it based on what it looks like you are going for:

Code:
		<view name="phoenix.view.default.RTE RECORDINGS" label="TV Shows RTE" flat="true">
			<tag value="tv" />
			<tag value="default"/>
			<view-source name="phoenix.view.primary.recordedtv"/>
			<view-source name="phoenix.view.primary.recordedmovies"/>

			<presentation>
				<group by="title">
					<option name="prune-single-item-groups" value="true"/>
				</group>
				<sort by="title">
					<option name="folders-first" value="false"/>
					<option name="sort-order" value="asc"/>
				</sort>
			</presentation>		
		</view>
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient

Last edited by bialio; 08-22-2011 at 12:56 PM.
Reply With Quote
  #6  
Old 08-22-2011, 12:55 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
If you want even more of your recorded content in there add

Code:
<view-source name="phoenix.view.primary.recordedtvarchived"/>
No everyone uses archive to do stuff, but that's the other place where you might have recorded content other than the two in the view above.
btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #7  
Old 08-22-2011, 12:56 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
And I have just now (1:56 PM Central time) finished tweaking the code snippet above, so if you've looked at it before look one more time

Edit : Just noticed you're in Denmark - should be 8:56 PM your time.

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #8  
Old 08-22-2011, 01:10 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I'm trying to get my head around how we'd end up with an empty folder when creating the view. With prune-single-item-folder=false, do you end up with a folder with 1 item or still 0 items?
Reply With Quote
  #9  
Old 08-22-2011, 01:40 PM
rtengvad rtengvad is offline
Sage Aficionado
 
Join Date: Jul 2005
Location: Copenhagen, Denmark
Posts: 425
I've posted the views with the option set to false and true

false.jpg
true.jpg

As you can set the option set to false gives the expexted 1-item folders

I'll try your suggestion bialio. Time is now 21.36 so the window is open just bit longer (a father of three small kids has to go early to bed)

Thanks both of you for your help.

Rasmus
__________________
Server: Win7 • SageTV v7.1.9 • GA-MA785GM-US2H • Athlon 64 X2 BE-2350 • 2 Gb RAM • 4x 1Tb WD RE-2 GP in RAID5, Adaptec 5405 Raid controller • 2x firewire DVB-C FloppyDTV C/CI, 1x TechnoTrend CT-3650 CI via the LM Smart DVB Recorder plug-in.

Clients: HD300 to a Samsung PS50C7705 (PN50C8000) via a DVDO Edge • HD200 • Placeshifter

Remote: Universal Remote Control MX-980

Last edited by rtengvad; 08-22-2011 at 01:43 PM. Reason: spelling
Reply With Quote
  #10  
Old 08-22-2011, 01:56 PM
rtengvad rtengvad is offline
Sage Aficionado
 
Join Date: Jul 2005
Location: Copenhagen, Denmark
Posts: 425
Quote:
Originally Posted by bialio View Post
Try something like this -
Hmm, no that did not help unfortunately.

None of the 0-item recordings are tagged as movies. I don't know if that has any significans.

Rasmus
__________________
Server: Win7 • SageTV v7.1.9 • GA-MA785GM-US2H • Athlon 64 X2 BE-2350 • 2 Gb RAM • 4x 1Tb WD RE-2 GP in RAID5, Adaptec 5405 Raid controller • 2x firewire DVB-C FloppyDTV C/CI, 1x TechnoTrend CT-3650 CI via the LM Smart DVB Recorder plug-in.

Clients: HD300 to a Samsung PS50C7705 (PN50C8000) via a DVDO Edge • HD200 • Placeshifter

Remote: Universal Remote Control MX-980
Reply With Quote
  #11  
Old 08-22-2011, 02:10 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
So, when there are zero item folders, does the show appear as well at the top level... or the show completely missing?
Reply With Quote
  #12  
Old 08-22-2011, 02:23 PM
rtengvad rtengvad is offline
Sage Aficionado
 
Join Date: Jul 2005
Location: Copenhagen, Denmark
Posts: 425
No, the shows are not missing, I can access the files through the 0-items folders that are in fact not empty. But somehow the prune option does not seem to work for certain shows, that instead are placed in folders that states they are empty.

Rasmus
__________________
Server: Win7 • SageTV v7.1.9 • GA-MA785GM-US2H • Athlon 64 X2 BE-2350 • 2 Gb RAM • 4x 1Tb WD RE-2 GP in RAID5, Adaptec 5405 Raid controller • 2x firewire DVB-C FloppyDTV C/CI, 1x TechnoTrend CT-3650 CI via the LM Smart DVB Recorder plug-in.

Clients: HD300 to a Samsung PS50C7705 (PN50C8000) via a DVDO Edge • HD200 • Placeshifter

Remote: Universal Remote Control MX-980

Last edited by rtengvad; 08-22-2011 at 02:27 PM.
Reply With Quote
  #13  
Old 08-22-2011, 02:32 PM
rtengvad rtengvad is offline
Sage Aficionado
 
Join Date: Jul 2005
Location: Copenhagen, Denmark
Posts: 425
Correction: When I select one of these 0-item folders, I jump directly to the play option menu, as you do when you select a file.
__________________
Server: Win7 • SageTV v7.1.9 • GA-MA785GM-US2H • Athlon 64 X2 BE-2350 • 2 Gb RAM • 4x 1Tb WD RE-2 GP in RAID5, Adaptec 5405 Raid controller • 2x firewire DVB-C FloppyDTV C/CI, 1x TechnoTrend CT-3650 CI via the LM Smart DVB Recorder plug-in.

Clients: HD300 to a Samsung PS50C7705 (PN50C8000) via a DVDO Edge • HD200 • Placeshifter

Remote: Universal Remote Control MX-980
Reply With Quote
  #14  
Old 08-22-2011, 02:44 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
One thing you can try is to do some other browsers (besides the Single List as you have pictured) and see if the issue exists anywhere else. You can change the default browser in the options menu.
btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #15  
Old 08-23-2011, 03:49 AM
rtengvad rtengvad is offline
Sage Aficionado
 
Join Date: Jul 2005
Location: Copenhagen, Denmark
Posts: 425
Quote:
Originally Posted by bialio View Post
One thing you can try is to do some other browsers (besides the Single List as you have pictured) and see if the issue exists anywhere else. You can change the default browser in the options menu.
btl.
Thanks for the suggestion.

In banner flow all items in the flow are treated as folders, no matter if they in single list shows up as single item or a 0-folder. I.e., when I select a show from the root I get to a folder structure to choo-se again the actual file/show, no matter the number of files.

In grid flow however everything seems to work correctly. If I select a show in the root I jump to the play option menu if there is just one file/show. Shows with several episodes are correctly treated as folders. Ie., when I select that show it opens a folder structure to choose the actual episode.

I'm not sure what conclusion can be drawn from this. but in any case, since I lack banners on most of my recordings due to local translations, I would prefer the list browser.

Rasmus
__________________
Server: Win7 • SageTV v7.1.9 • GA-MA785GM-US2H • Athlon 64 X2 BE-2350 • 2 Gb RAM • 4x 1Tb WD RE-2 GP in RAID5, Adaptec 5405 Raid controller • 2x firewire DVB-C FloppyDTV C/CI, 1x TechnoTrend CT-3650 CI via the LM Smart DVB Recorder plug-in.

Clients: HD300 to a Samsung PS50C7705 (PN50C8000) via a DVDO Edge • HD200 • Placeshifter

Remote: Universal Remote Control MX-980
Reply With Quote
  #16  
Old 08-23-2011, 06:05 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Well, we've narrowed it down to the Single List - which helps.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
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
Folders view like MMFolder? gabrielcab Diamond 2 06-19-2011 12:49 PM
Fresh build and BMT not showing all folders in TV folder mark_g_1275 Batch Metadata Tools 3 04-06-2011 01:47 PM
How to dim non-focused items in wall view evilpenguin SageTV Studio 2 11-12-2010 02:42 PM
Top level photo folders not showing thumbnails popechild SageMC Custom Interface 0 01-28-2009 12:43 PM
Library items showing up multiple times Worf SageTV Software 1 12-17-2003 01:51 PM


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


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