erland wrote:
> If your structure looks like your github repo you should probably also
> have html in the path, like: -plugins/RatingsLight/html/rated.html-
> Dont remember if you also need to call
> Slim::Web::Pages->addPageFunction in the webPages function for the page
> for it to be exposed.
I've added
Code:
--------------------
Slim::Web::Pages->addPageFunction('plugins/RatingsLight/html/rated.html', sub {
return
Slim::Web::HTTP::filltemplatefile('plugins/RatingsLight/html/rated.html');
} );
--------------------
and now I can call
-127.0.0.1:9000/plugins/RatingsLight/html/rated.html-
But if I put -plugins/RatingsLight/html/rated.html- into the
url-parameter of a DPL playlist definition it still gives me that 404.
But it is possible to call this url from within DPL, no? Or does DPL
just expect something else or another webroot or...?
------------------------------------------------------------------------
afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=113344
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins