Erland,

this is my MusicInfoSCR with your patch (and a few others). Could you please test this, whether it's still working for you? I haven't come up with a version of one of my other plugins to support this new API, yet :-)

1.
It calls getMusicInfoSCRCustomItems() during the initialization on all
2.
The getMusicInfoSCRCustomItem() will be called on the plugin each time
MusicInfoSCR wants to display text text and finds a custom item. The

I'll add these instructions to my web page when publishing this latest version. Ok?

It would probably be possible to retreive custom items every second
also, but I decided that it was enough to retreive them at screensaver
activate and at track change. I was not sure if it would result
performance problems if I retreived them too often, but I have not
tested this.

This depends on what you're doing in your code: displaying a rather static value won't hurt. But I was thinking about a simple plugin to display some file's content: if this opens a file, get's the content and closes it again every second (or even a few times per seconde), this would be a rather big hit on the server's performance. Let's keep it simple for now.

Thanks a lot for this contribution! It's a great experience to see other people spend time improving my work :-)

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

Attachment: MusicInfoSCR.pm
Description: Binary data

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

Reply via email to