Writing CH-files for Channels plugin
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Writing CH-files for Channels plugin
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
}
}
}
}
Re: Writing CH-files for Channels plugin
Hi tubby....
Did u get any insights on this? I'm also considering making a script for a site and will have the same problem (maybe the same site
. Have you found any documentation at all how to do write the scripts? The regex part is the easy one but what about the rest? Is it some language or a propriatary script format?
Edit: Found the description how to write ch files here:
https://github.com/SharkHunter/Channel/ ... ter/README
Pen
Did u get any insights on this? I'm also considering making a script for a site and will have the same problem (maybe the same site

Edit: Found the description how to write ch files here:
https://github.com/SharkHunter/Channel/ ... ter/README
Pen
Server Ubuntu 12.04, Renderer Samsung 46D6300