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 05-22-2011, 07:46 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
PQL in VFS

I've been playing around with some PQL filters in some views.

I made a statement that runs fine in BMT:

Code:
Genre contains 'Animation' or Genre contains 'Children' and MediaType = 'TV' and ParentalRating <> 'TV14'
When I put this into a VFS filter I get an error.

I'm toying with the idea of pulling all of the Kid's related shows into it's own menu item lookup. While genre for children mostly works not all media is stamped with this code. Animation works well but then one gets South Park and Family Guy to crop up. Is there a better way, or did I compose the statement wrong in the first place?
Reply With Quote
  #2  
Old 05-22-2011, 12:28 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wrems View Post
I've been playing around with some PQL filters in some views.

I made a statement that runs fine in BMT:

Code:
Genre contains 'Animation' or Genre contains 'Children' and MediaType = 'TV' and ParentalRating <> 'TV14'
When I put this into a VFS filter I get an error.

I'm toying with the idea of pulling all of the Kid's related shows into it's own menu item lookup. While genre for children mostly works not all media is stamped with this code. Animation works well but then one gets South Park and Family Guy to crop up. Is there a better way, or did I compose the statement wrong in the first place?
Because <> are xml reserved characters.. you'll need to use &lt;&gt; instead of <>
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


All times are GMT -6. The time now is 04:06 AM.


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