Hi,
New version of Channels (1.75) is out. It contains some bug fixes to make the RTMPlists parsing work better. It also contains the new feature illegal/code. Illegal/code allows you to customize access to certain folders/media. To activate creat a .ch file in you channels dir (I call mine illegal.ch but it can be called whatever). In it add sections of format:
- Code: Select all
illegal {
type=name|url
matcher=...
prop=...
}
code {
type=name|url
matcher=...
prop=...
}
The keyword
- Code: Select all
illegal
and
- Code: Select all
code
is what is diffrent between the two. This is how it works:
The type can be name or url meanin that the rule applies to name (that the string you see in the XMB) or to the url (thats where Channels will fetch the stuff from).
The matcher is a regexp that will be applied to the name or url. If it matches the rule is forfilled and the action (code or illegal) will be applied.
prop is as usual optional properties.
If an
illegal rule matches the entry will simply be discarded. If a
code rule matches the folder/media will be hidden behind a code folder and the real content of the folder/media will only be visible if the correct code is entered.
The correct code should be added to the PMS.conf by adding
channels.code=<code>.
What's this good for? It's origin comes from the RTMPLists which contains loads of channels perhaps some which shouldn't be seen by soem family members? So now those channles can be locked behind a code or be filtered out completly.
To filter out all sport chanels add this (why would you do this?)
- Code: Select all
illegal {
type=name
matcher=.*sport.*
}
The properties that are defined are
no_case and
string. If
string is set the matcher is considered to be a string (not a regexp) and if
no_case is set case is ignored meaning that "abc" matches "abc" as well as "AbC" or any other comination.
There are some bugs in this (I know of one) but those will be fixed shortly.