@buhric
I've tried your modified wdext.app.bin but my wdtvlive doesn't boot up



var pfile = new File("| /usr/bin/find " + path + " -iname *.plugin.js");var pfile = new File("| /usr/bin/find " + path + " -maxdepth 4 -iname *.plugin.js");
I'm not sure if there are others in the same situation; if anyone is interested, I can post a patched WDTVExt.app.bin

Eugen1968 wrote:@monkmad, post patched WDTVExt.app.bin, I wont try.

Plugin.collectPlugins = function(path, level) {
if(!level) var level=0;
var c = new File(path);
var l;
if(level==1) l = c.list(/\.plugin\.js$|^plugins$/i);
else l = c.list();
for (var idx=0; idx<l.length; idx++) {
if (l[idx].isDirectory) {
if(level<3) Plugin.collectPlugins(l[idx].path, level+1)
}
else if (l[idx].isFile && l[idx].name.endsWith(".plugin.js")) {
Plugin.pluginsPath.push(l[idx].path)
}
}
}




Users browsing this forum: No registered users and 2 guests