![]() |
|
Phoenix This forum is for discussing the user-created Phoenix custom interface for SageTV. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Multiple filters to a VFS view
All,
I seem to have a problem when creating a view multiple filters setup. For some reason phoenix doesn't like it. I'm trying to use the following 2 filters. But I see this happen whenever I use more than 1 filter no mater what type of filter it is. <filter by="mediatype" scope="exclude" value="TV"/> <filter by="missingmetadata" scope="exclude"/> |
#2
|
||||
|
||||
Two filters are not supported. You need to use a filter group instead. Look up in the filters sections for examples.
btl.
__________________
PHOENIX 3 is here! Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient |
#3
|
||||
|
||||
The reason for not allowing multiple filters at the root level is really an issue of how do you interpret them.
Code:
<filter by="channel " value="1234"/> <filter by="mediatype value="Movie"/> The reason for PQL was to solve this issue and to also offer other types of filtering. Currently PQL only support filtering on metadata fields, but it will be extended to support the existing filters as well. I could add a new tag to <view> for <item-group> and then allow you to define filter groups inline in the view, but you can do that now in the <filters> section, so i haven't really put much effort into do that, since it'll be one more thing I need to parse/store about the view ![]()
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
|||
|
|||
well did try some pql cause at the time i couldnt figure out a solution.But its not working how i thought. Im trying to filter out unmatched and TV content. this didnt seem to filter out the tv content
Code:
<filter by="pql" value="MediaType is null or MediaTitle is null or MediaType = 'TV'"/> |
#5
|
||||
|
||||
Quote:
I think you might want Code:
<filter by="pql" value="MediaType is null or (MediaTitle is null and MediaType = 'TV')"/>
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#6
|
|||
|
|||
I'm trying to filter out all unmatched(aka missing metadata) videos and media that's been tagged as TV
|
#7
|
||||
|
||||
Quote:
The following Code:
MediaType = 'TV' and EpisodeNumber = 0 A better approach would be to create a view of all recordings, and TV files (we probalby have that view already), and then just use the PQL Code:
EpisodeNumber = 0 I hope this helps.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#8
|
||||
|
||||
I created a multi-filtered view by creating a view with one filter then creating another view bringing in the original view and adding my second filter worked great!
I'd share what I did, but on vacation in sunny california! ![]() |
#9
|
||||
|
||||
Quote:
![]()
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Request: Folder & View Filters to TV Menu | disco340 | Diamond | 1 | 03-12-2011 06:27 AM |
View multiple channels on same transponder on a DVB-S card | helmi | Hardware Support | 5 | 02-12-2011 04:02 PM |
Saving filters for a view | pvrpenguin | Sage My Movies | 4 | 09-10-2010 06:46 PM |
Multiple Vista View Saber 2020 Update | ARMYB77 | Hardware Support | 2 | 10-26-2006 12:33 PM |
multiple dscaler filters at once? | Sailn | SageTV Software | 1 | 08-04-2003 08:43 PM |