Writing CH-files for Channels plugin
Posted: Sun Aug 25, 2013 7:18 pm
I've been trying to write a ch-file for a popular online streaming service. The channels-plugin is perfect for my needs 
I'm trying to use the "recurse" function for folders since the list of media is divided into several pages "1,2,3 ... 35,36" and so on.
Below is and example of the structure of the folders for the channel. I'm curious abouthow the recurse type actually works.
In the example above the folder which I have commented with "#this is found" is matched and added as a folder correctly. However when the folder is opened by a client the matcher for the folder is evaluated again instead of the macro that is defined for the folder. Can someone shed some light on what I am doing wrong?

I'm trying to use the "recurse" function for folders since the list of media is divided into several pages "1,2,3 ... 35,36" and so on.
Below is and example of the structure of the folders for the channel. I'm curious abouthow the recurse type actually works.
Code: Select all
folder {
name=A-Z
type=ATZ
url=http://www.thesite.com/
folder {
matcher=a regexp
order=url,name
prop=peek
folder {
matcher=a regexp
order=url
type=empty
folder { #this is found
matcher=a regexp
order=url,name
type=recurse
prop=auto_media
macro=a macro with item and media
}
}
}
}