2020-02-06, 22:11
Hello,
I am using VLC as an external player in my Video-plugin.
Almost all is working fine.
There is one situation i cannot code with the external player.
That is when i want to start a video with an extra parameter (for instance --start-time=360)
My playercorefactory.xml:
In windows i use the following command (the start-time will vary):
url:
I am using VLC as an external player in my Video-plugin.
Almost all is working fine.
There is one situation i cannot code with the external player.
That is when i want to start a video with an extra parameter (for instance --start-time=360)
My playercorefactory.xml:
Quote:<playercorefactory>I cannot add this option in the args section because this option must be variable.
<players>
<player name="VLC" type="ExternalPlayer" audio="true" video="true">
<filename>C:/Program Files/VideoLAN/VLC/vlc.exe</filename>
<args>"{1}" --fullscreen --video-on-top</args>
</player>
</players>
<rules action="prepend">
</rules>
</playercorefactory>
In windows i use the following command (the start-time will vary):
Quote:"C:\Program Files\VideoLAN\VLC\vlc.exe" --fullscreen --video-on-top --start-time=360 "dvdsimple:///M:\DVDsNK\DVD's Gezin\Gezin01. 199209-199210"plugin-coding:
Quote: xbmcplugin.addDirectoryItem(_handle, url, list_item, is_folder)
xbmcplugin.endOfDirectory(_handle)
url:
Quote:plugin://plugin.video.examplenk/?action=play&video=dvdsimple%3A%2F%2F%2FM%3A%5CDVDsNK%5CDVD%27s+Gezin%5CGezin01.+199209-199210Please help.