xmltv/filter/augment augment.conf, 1.1, 1.2 augment.rules, 1.1, 1.2
Geoff <[email protected]> Thu, 10 Dec 2015 08:47:24 +0000
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/filter/augment In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1591 Modified Files: augment.conf augment.rules Log Message: Add processing rule #15 - Add specified categories to all programmes on a channel Index: augment.conf =================================================================== RCS file: /cvsroot/xmltv/xmltv/filter/augment/augment.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** augment.conf 12 Jul 2015 16:46:09 -0000 1.1 --- augment.conf 10 Dec 2015 08:47:22 -0000 1.2 *************** *** 145,148 **** --- 145,151 ---- process_translate_genres = 1 + # Rule #15 - Add specified categories to all programmes on a channel + process_add_genres_to_channel = 1 + Index: augment.rules =================================================================== RCS file: /cvsroot/xmltv/xmltv/filter/augment/augment.rules,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** augment.rules 12 Jul 2015 16:46:09 -0000 1.1 --- augment.rules 10 Dec 2015 08:47:22 -0000 1.2 *************** *** 181,184 **** --- 181,201 ---- # "The Guns of Navarone" category "Action Adventure" + "War" # + # 15) process_add_genres_to_channel + # The content contains a channel id followed by replacement + # category(-ies) separated by a tilde (~). + # Use case: this can add a category if data from your supplier is always + # missing; e.g. add "News" to a news channel, or "Music" to a music + # vid channel. + # e.g. + # 15|travelchannel.co.uk~Travel + # "World's Greatest Motorcycle Rides" category "Motoring" --> + # "World's Greatest Motorcycle Rides" category "Motoring" + "Travel" + # 15|cnbc.com~News~Business + # "Investing in India" category "" --> + # "Investing in India" category "News" + "Business" + # You should be very careful with this one as it will add the category you + # specify to EVERY programme broadcast on that channel. This may not be what + # you always want (e.g. Teleshopping isn't really "music" even if it is on MTV!) + # # ############################################################################### *************** *** 216,219 **** --- 233,238 ---- 14|Soccer~Football 14|NFL~American Football + 15|travelchannel.co.uk~Travel + 15|smashhits.net~Music # # (the sample rules shown here are in sorted order but that is not necessary ------------------------------------------------------------------------------