I was experimenting on writing plugins with Groovy. FUN! It worked out quite well, and I think it could be quite useful. I 'd rather write future plugins with Groovy, or at least have the option. Of course, as demonstrated, it can be done even now, but with a cost: you need to embed groovy to your plugin, which is clumsy and makes the jar quite large. Solution would be embed groovy runtime dependency to PMS.
Groovy embedded version of PMS: https://github.com/glebb/ps3mediaserver ... y_embedded. It should be ok to be merged if so wanted.
I think adding Groovy should not be a big problem. It will increase the size of the PMS, but other than that I don't see many negative side effects. I don't think PMS itself should be modified / written in Groovy, but (us) plugin developers might like it.
Here's the plugin written in Groovy: https://github.com/glebb/pms-osx-smartfolder for example.
