Kodi Community Forum
[feature request] specify plugin that receives link - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: Kodi Remote for Android Official Forum (https://forum.kodi.tv/forumdisplay.php?fid=129)
+---- Thread: [feature request] specify plugin that receives link (/showthread.php?tid=298717)



[feature request] specify plugin that receives link - gedisony - 2016-12-03

Can you add a setting to customize the plugin that receives a "send to" link?

Right now, kore parses the video id from a youtube/vimeo link then calls the youtube/vimeo plugin.

I'd like to use my plugin to parse the links (using youtube_dl).

so instead of:
Code:
videoUrl = "plugin://plugin.video.youtube/play/?video_id=" + videoId;

can be customized to:
Code:
videoUrl = "plugin://my.plugin.name/?mode=play&url=" + videoUri;

where: "plugin://my.plugin.name/?mode=play&url=" is a customizeable setting