You could try the 3rd Party Plugins forum or the Developers forum to see if anyone would be interested. FYI, streamripper is written in C, not Perl, but that doesn't really matter.
I think I haven't been clear about the privileges issue. As you noted in your initial post, what is unique about this plugin idea is that it creates content, rather than just playing it. This is where it is completely different from the alarm plugin you mention. Where does SS get it's content? From the internet (radio, podcasts, etc.) or from the music library (ie, the directory specified on the first page of the server settings). In a secure system, the slimserver process cannot write to the music library, because it has no business doing so, and write privileges should be given on a need-to basis. All slimserver and current plugins do is read from the music library. It's not just protection from malicious hackers, but also for protection against coding mistakes. The plugin you propose would save the stream to somewhere on the hard disk. But if slimserver is set up securely, then it would have to write somewhere other than the music library. And that would be a problem when it came time to play the saved content. The automated scans only scan the user-specified music library directory, not the whole hard disk. One possible workaround did come to mind. That would be to give slimserver write privileges only to a SUB-directory of the main music directory, and not to any of the higher levels. That way the rest of the content in the music library would still be protected. I did this with my playlist directory for a while, before I realized there was a better way. The main remaining risk would be denial-of-service if you fill your hard disk if somehow streamripper didn't shut off when it was supposed to. But that risk exists whether you do it as a plugin or as a batch file/shell script. Good luck. -- aubuti ------------------------------------------------------------------------ aubuti's Profile: http://forums.slimdevices.com/member.php?userid=2074 View this thread: http://forums.slimdevices.com/showthread.php?t=29958 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
