- Moderator
- #81
Thanks a lot, it already works with this dll!
I have one small problem with this version:
I need to give the full path to the settings file. As this button is "skin only" with no code behind, I don't know that full path
a) in the skin I don't know where the path to the "Installer" is (I think)
b) I don't want to put the version number in the parameter as this would have to be changed in the skin xml everytime a different version is installed
Would it be possible to only pass the GUID and the MPEI plugin finds the path and installed version on its own?
Button in OnlineVideos' hidden menu that directly opens the MPEI plugin's Settings Window, where you can configure OnlineVideos
I have one small problem with this version:
I need to give the full path to the settings file. As this button is "skin only" with no code behind, I don't know that full path
a) in the skin I don't know where the path to the "Installer" is (I think)
b) I don't want to put the version number in the parameter as this would have to be changed in the skin xml everytime a different version is installed
Would it be possible to only pass the GUID and the MPEI plugin finds the path and installed version on its own?
Button in OnlineVideos' hidden menu that directly opens the MPEI plugin's Settings Window, where you can configure OnlineVideos
Code:
<control>
<type>button</type>
<description>Settings</description>
<id>14</id>
<onright>50</onright>
<onup>13</onup>
<ondown>2</ondown>
<label>5</label>
<font>font11</font>
<height>37</height>
<hyperlink>803</hyperlink>
<hyperlinkParameter>c:\ProgramData\Team MediaPortal\MediaPortal\Installer\V2\269bd257-7ce5-450a-b786-1c2834c81849\0.29.0.1\extension_settings.xml</hyperlinkParameter>
<visible>plugin.isenabled(Extensions)</visible>
</control>