2020-04-19, 14:46
Hi,
I am having troubles with my Confluence (v4.6.9) on Kodi v18.6 LibreELEC 9.2.1 running on RPI4. I would like to add a UPNP path to a custom button like this:
<control type="button" id="90194">
<include>ButtonHomeSubCommonValues</include>
<label>DivX</label>
<onclick>ActivateWindow(10028,"upnp://b0a2ea39-717e-dca8-e2dd-85a8d09ca8a6/special://profile/playlists/video/MoziDivX.xsp", return)</onclick>
</control>
This section is located in the following file: IncludesHomeMenuItems.xml, but when I do this, and I navigate my Kodi there and push enter, Kodi restarts.
Why i am searching for this solution: I have a Pi2 with Kodi as well installed and sharing Libraries/files/etc over UPNP. So I am using the same Confluence customised menu on that Pi2 (which i created years ago), since I have a lot special buttons in the main/home screen of the Confluence. The only difference is that on this Pi2 in the IncludesHomeMenuItems.xml I have this:
<control type="button" id="90194">
<include>ButtonHomeSubCommonValues</include>
<label>DivX</label>
<onclick>ActivateWindow(10025,"special://profile/playlists/video/MoziDivX.xsp", return)</onclick>
</control>
Of course this does not have the UPNP section in it, because in this case the xsp file is stored in the PI2 Kodi directly. I simply copied over the Confluence xml files to create the same menu in RPI4 as well and I tried to edited the path, then i realised this is a bit more complicated...
At the moment I am a bit stuck, because i have no idea how can i add my UPNP shared libraries to my Confluence skin special buttons. If i go to Videos-->Files and start Add videos... then i am selecting the UPNP source and the library from there I can recreate all my libraries in here, but then I cannot map them to the Skin button section.
I also tried to manually create all xsp files in this new RPI4 so then my path would be special://profile/playlists/video/MoziDivX.xsp this works then, and it will be a "smart playlist" but after this in the smart playlist I cannot specify the UPNP playlist anymore so I am stuck again.
Does anybody has a good idea how to edit UPNP path inside the IncludesHomeMenuItems.xml or link the UPNP shared libraries in a different way?
Thank you in advance!
I am having troubles with my Confluence (v4.6.9) on Kodi v18.6 LibreELEC 9.2.1 running on RPI4. I would like to add a UPNP path to a custom button like this:
<control type="button" id="90194">
<include>ButtonHomeSubCommonValues</include>
<label>DivX</label>
<onclick>ActivateWindow(10028,"upnp://b0a2ea39-717e-dca8-e2dd-85a8d09ca8a6/special://profile/playlists/video/MoziDivX.xsp", return)</onclick>
</control>
This section is located in the following file: IncludesHomeMenuItems.xml, but when I do this, and I navigate my Kodi there and push enter, Kodi restarts.
Why i am searching for this solution: I have a Pi2 with Kodi as well installed and sharing Libraries/files/etc over UPNP. So I am using the same Confluence customised menu on that Pi2 (which i created years ago), since I have a lot special buttons in the main/home screen of the Confluence. The only difference is that on this Pi2 in the IncludesHomeMenuItems.xml I have this:
<control type="button" id="90194">
<include>ButtonHomeSubCommonValues</include>
<label>DivX</label>
<onclick>ActivateWindow(10025,"special://profile/playlists/video/MoziDivX.xsp", return)</onclick>
</control>
Of course this does not have the UPNP section in it, because in this case the xsp file is stored in the PI2 Kodi directly. I simply copied over the Confluence xml files to create the same menu in RPI4 as well and I tried to edited the path, then i realised this is a bit more complicated...
At the moment I am a bit stuck, because i have no idea how can i add my UPNP shared libraries to my Confluence skin special buttons. If i go to Videos-->Files and start Add videos... then i am selecting the UPNP source and the library from there I can recreate all my libraries in here, but then I cannot map them to the Skin button section.
I also tried to manually create all xsp files in this new RPI4 so then my path would be special://profile/playlists/video/MoziDivX.xsp this works then, and it will be a "smart playlist" but after this in the smart playlist I cannot specify the UPNP playlist anymore so I am stuck again.
Does anybody has a good idea how to edit UPNP path inside the IncludesHomeMenuItems.xml or link the UPNP shared libraries in a different way?
Thank you in advance!