Hi Patrick,
I ran into some issues installing the plugin on Serviio.
The plugin must be installed at the plugin directory, this works on my Synology. In the logs of Serviio, there is a record saying:
[PluginCompilerThread] Added Web Resource plugin TvheadendChannels (TvHeadendChanndels.groovy), version: 1
So the plugin must be installed correctly. But when I add the URL of Serviio's Web interface, the logging says:
[FeedUpdaterWorker] An error occured while trying to parse an online resource requiring a plugin, provider the plugin or remove the resource: No plugin for web resource http://zas:23423 has been found.
'Zas' is my Synology NAS hostname. I also tried
http://zas:9981; same error message. I thought you mean that you add the TVHeadend webinterface.
Do I need to tell Serviio which plugin must be used for the Web Resource? I can only change the Media type.
Also when I scan through your plugin, I see some things I cannot understand.
In the function 'main', there is a def:
def realTvheadendUrl = new URL("http://10.0.2.5:9981/tvheadend")
My IP is not 10.0.2.5, it is 192.168.1.100. Should I change this? I tried it, but it doesn't work. Or should I restart Serviio for this change to make it work?