indexing and the include exclude option in the options file
#1
I have set up ( i think) some include and exclude options in the options file

Code:
indexmaxconn 10
type tv,radio
refreshexcludegroupsradio regional,local
refreshexcludegroupstv local,regional
refreshexclude bbcnews,bbcparliament,s4c,cbeebies,bbc world service,BBC Radio 5 live,BBC Asian Network,BBC Radio 1Xtra,BBC Radio 6 Music,BBC Radio 1, bbc alba
refreshinclude Radio 2,Radio 3,Radio 4,BBC 1, BBC One,BBC Two,BBC Four,CBBC,bbcthree
commandradio ffmpeg -i "<filename>" -c:v copy -c:a libmp3lame -b:a 128k -id3v2_version 3 -write_id3v1 1 -y "<dir>/<fileprefix>.mp3" && del "<filename>"
tvmode good
radiomode better
refreshfuture 1
output F:\Media\Television
nopurge 1

but when running the PVR scheduler it appears that channels that are excluded still appear in the TV.cache and radio.cache files

Code:
get_iplayer 3.00-windows.0, Copyright (C) 2008-2010 Phil Lewis
 This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
 This is free software, and you are welcome to redistribute it under certain
 conditions; use --conditions for details.

 NOTE: A UK TV licence is required to legally access BBC iPlayer TV content

INFO: Scheduling the PVR to run every 14400 secs
Running PVR Searches:
# a dummy account

INFO: Getting radio Index Feeds (this may take a few minutes)
INFO: Using concurrent indexing
......
Added: 13264:   BBC Radio 1 and 1Xtra's Stories: Music by Numbers - Kings of Leon, b088dhtm

I would have included a longer list but this is the second time I have run the scheduler today.


Also if using the --refresh option from the CLI does it take account of what is in the options file?
as if I do that everything seems to be included
#2
The options file is obeyed with --refresh, and I can't replicate the problem with Radio 1.

A couple of things:
  • You only need refreshinclude in this case. If you set refreshinclude, it implies an exclusion of anything else.
  • Don't put spaces adjacent to commas in the exclude list. It will break the name matching.
#3
right I have removed the exclude list and removed the space after the commas
do you mean I should also remove the local,regional options as well

Code:
indexmaxconn 10
type tv,radio
refreshexcludegroupsradio regional,local
refreshexcludegroupstv local,regional
refreshinclude Radio 2,Radio 3,Radio 4,BBC One,BBC Two,BBC Four,CBBC,bbcthree
commandradio ffmpeg -i "<filename>" -c:v copy -c:a libmp3lame -b:a 128k -id3v2_version 3 -write_id3v1 1 -y "<dir>/<fileprefix>.mp3" && del "<filename>"
tvmode good
radiomode better
refreshfuture 1
output F:\Media\Television
nopurge 1

however as you can see from the attached file BBC World Service,BBC Asian Network,BBC Radio 5 live,BBC Radio 6 Music,CBeebies,
programs have also been added along with the ones I have on the include option


Attached Files
.txt   indexed.txt (Size: 20.03 KB / Downloads: 147)
#4
No need for group options, but no harm in leaving them in.
#5
I should point out that you are partially negating the effect of the group exclusions by having generic "BBC One" in --refresh-include. You're indexing all the regional and local variants of BBC One, which you probably don't want. Use "BBC One$" to limit to the national listings. If you don't know why that works, google yourself into the wonderful world of regular expressions.
#6
(04-05-2017, 09:15 AM)dinky Wrote: I should point out that you are partially negating the effect of the group exclusions by having generic "BBC One" in --refresh-include. You're indexing all the regional and local variants of BBC One, which you probably don't want. Use "BBC One$" to limit to the national listings. If you don't know why that works, google yourself into the wonderful world of regular expressions.

cheers for that, I will add the $ to bbc one and two and see how it goes tomorrow.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Struggling with saving presets (to replace options file) Gio300ZX 3 2,532 03-01-2019, 08:02 PM
Last Post: Gio300ZX
  How do I stop get_iplayer indexing programmes? rob_does_iplayer 4 3,807 10-10-2018, 04:42 PM
Last Post: rob_does_iplayer
  can you add --whitespace to the options file InAFlap 2 2,766 01-09-2017, 02:59 PM
Last Post: InAFlap
  Will weekly indexing occur with PVR? InAFlap 1 2,465 01-05-2017, 11:54 PM
Last Post: dinky