2014-12-15, 21:30
Hello, I'm trying to remove the file extension from the InfoLabel ListItem.Filename, I just want to get the name and remove the extension, is there a way to do it? if not, is there a way to call an external python file to do it?
This is what I'm trying to do:
Any advice and suggestions will be greatly appreciated
Thank you!
This is what I'm trying to do:
PHP Code:
<control type="button" id="12" description="Search">
<posx>0</posx>
<posy>0</posy>
<width>400</width>
<height>60</height>
<textoffsetx>10</textoffsetx>
<align>center</align>
<label>Search</label>
<onclick>Container.Update(plugin://plugin.video.search/search?query=$INFO[ListItem.Filename])</onclick>
<visible>System.HasAddon(plugin.video.search)]</visible>
</control>
Any advice and suggestions will be greatly appreciated
Thank you!