SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-12-2016, 06:35 PM
cdw2000 cdw2000 is offline
Sage User
 
Join Date: Feb 2016
Posts: 8
Request: Bolean logic for keywords in Favorites?

For setting up Favorites using keywords it looks like we can only use wild card characters.

It would be a great enhancement to add the AND, OR and NOT (!) logic to be able to better refine the keyword criteria.

For instance I have a keyword for Formula 1 to capture all the races, but I'm not interested in the practices or qualification presentations, so it would be nice to be able to indicate:

"Formula 1" AND !"Practice" AND !"Qualification"

Or does this capability already exist and I just don't know the syntax?
Reply With Quote
  #2  
Old 02-13-2016, 09:12 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Check out pages 71 and 72 in the manual - they may give you the info you are seeking.

http://download.sage.tv/SageTV_Manual.pdf

Additionally, there is an "Anti-Favorites" plugin that I know folks like to use to further filter.
Reply With Quote
  #3  
Old 02-13-2016, 11:43 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by cdw2000 View Post
For setting up Favorites using keywords it looks like we can only use wild card characters.

It would be a great enhancement to add the AND, OR and NOT (!) logic to be able to better refine the keyword criteria.

For instance I have a keyword for Formula 1 to capture all the races, but I'm not interested in the practices or qualification presentations, so it would be nice to be able to indicate:

"Formula 1" AND !"Practice" AND !"Qualification"

Or does this capability already exist and I just don't know the syntax?
You can use regular expressions.

https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #4  
Old 02-13-2016, 05:41 PM
cdw2000 cdw2000 is offline
Sage User
 
Join Date: Feb 2016
Posts: 8
I looked at the manual and it only says you can use * and ? wildcards.

I will take a look at the Anti-Favorites plugin, though.

Not sure how I would apply the regular expressions. Looks like I can use them to filter based on a character only, not a word.

Do you have an example syntax I could use to filter on "Formula 1" but exclude programs with "Practice" or "Qualification"?
Reply With Quote
  #5  
Old 02-13-2016, 06:01 PM
cdw2000 cdw2000 is offline
Sage User
 
Join Date: Feb 2016
Posts: 8
I just checked out the ant-Favorites plugin but found it won't work for what I am looking for. You can only select a program from the guide, you can't select by keywords.

The problem is that for sports like Formula 1, the program name is not the same from week to week because the name includes the location of the race. So I have a favorite setup using the keyword "Formula 1". Likewise the programs that are practice laps or qualification laps are not the same from week to week. So I can't filter them out and therefore have to manually delete the recordings once complete (you can't cancel a Favorite recording - that would be a nice new feature as well).

Any other ideas or suggestions?

Thanks.
Reply With Quote
  #6  
Old 02-13-2016, 06:51 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Is there anything unique about the EPG showname regarding the Race specifically? I don't have any Formula 1 showing in my EPG, so can't really help much yet.
Reply With Quote
  #7  
Old 02-13-2016, 06:55 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by KryptoNyte View Post
Is there anything unique about the EPG showname regarding the Race specifically? I don't have any Formula 1 showing in my EPG, so can't really help much yet.
Exactly what I was about to say I have no Formula 1 on my epg either with over 300 channels.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #8  
Old 02-14-2016, 06:01 PM
cdw2000 cdw2000 is offline
Sage User
 
Join Date: Feb 2016
Posts: 8
True, no Formula 1 yet so bad example to work with. Try NASCAR: "Sprint Cup". Same problem. I end up with about 3-4 three hour recordings per weekend. Daytona 500 is next weekend so should show up.

I do limit recordings to Saturday and Sunday which cuts out practices on Friday.

Thanks for taking a look.
Reply With Quote
Reply

Tags
favorites


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
Keywords issue with Favorites theguru SageTV Customizations 3 02-11-2010 11:28 PM
Feature Request: One-Time Favorites Fuzzy SageTV Software 6 10-31-2009 08:17 AM
how to Search keywords dvd_maniac SageTV Software 0 08-28-2008 06:48 AM
Request for keyword favorites WhollyMindless SageTV Software 1 02-20-2005 01:03 AM
Favorites Feature Request UniKyrn SageTV Beta Test Software 5 04-11-2004 09:35 PM


All times are GMT -6. The time now is 02:07 AM.


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