afriend wrote: 
> 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...?

Strange, this is what I do in SQL Playlist plugin:
https://github.com/erland/lms-sqlplaylist/blob/5955592540b5c157518edf61a731b5ca484c8813/src/Plugin.pm#L1241

Can you see in the web browser if you hover above the link what it
points to ?



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins&p=998836&viewfull=1#post998836)
)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to