Kodi Community Forum

Full Version: Link menu item to favorite?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've had a quick google on this one but couldn't work it out...

Is there any way to link to a specific favorite from the Estuary Main menu?

So far I have this in my main menu (copied from the livetv main menu item) but wondering how I link to a favorite that I have saved under my favorites called "Basketball".

<item>
     <label>Basketball</label>
      <property name="menu_id">$NUMBER[12000]</property>
      <onclick>ActivateWindow(TVChannels)</onclick>
      <thumb>icons/sidemenu/livetv.png</thumb>
      <property name="id">livetv</property>
</item>
(2018-03-20, 22:15)docwra Wrote: [ -> ]I've had a quick google on this one but couldn't work it out...

Is there any way to link to a specific favorite from the Estuary Main menu?

So far I have this in my main menu (copied from the livetv main menu item) but wondering how I link to a favorite that I have saved under my favorites called "Basketball".

<item>
     <label>Basketball</label>
      <property name="menu_id">$NUMBER[12000]</property>
      <onclick>ActivateWindow(TVChannels)</onclick>
      <thumb>icons/sidemenu/livetv.png</thumb>
      <property name="id">livetv</property>
</item>
Try opening your favourites.xml and using just the 'ActivateWindow' part of the favourite to create a link to that specific favourite. For instance I have Netflix added as a favourite, so my Onclick to this link would now be:-

<onclick>ActivateWindow(10025,&quot;plugin://plugin.video.netflix/&quot;,return)</onclick> 

This is how I've achieved this result in the past.
Nice one! Thanks Smile