Re: Re: How to Start/Stop VLC stream of your HD files through Wi

Home › Forums › Third Party Enhancements › VLC Shares › Watch Megavideo,HD,Youtube w/ CC through WiiMC (VLCShares) › Re: Re: How to Start/Stop VLC stream of your HD files through Wi

#26333
Anonymous
Inactive

Hey ximark!

I have been playing with vlc-shares and vlc12 plugin some more. Some things i’d like to notice:

1. For the vlc12 plugin to work correctly I had to add the following function to Vlc.php:

public function getArg($placeholder) {
return $this->_registredArgs[$placeholder];
}

2. In Vlc12.php (plugin) I had to trim the source variable of double quotes for the realpath() function to work correctly and also readd double quotes for registerArg():

if ( X_Env::isWindows() && substr($source,0,7) != 'http://' ) {
$source = realpath(trim($source, '"'));
$vlc->registerArg('source', '"$source"');
}

After that, I got my first stream to work! 🙂 Then I pressed “home” on wiimote, got back to wiiMC and got vlc-shares stream controls. I pressed Stop returned back to video, it played the buffered data (few seconds) then it blocked completely. What is the proper way of stopping the stream?