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
========== WINDOWS INSTALLATION GUIDE ==============
In this tutorial:
- YOUR_EASY_PHP_INSTALL_DIR is the dir path where you have installed EasyPhp
- IP_ADDRESS is the ip address of the pc where you have installed EasyPhp
1) Download EasyPhp (http://sourceforge.net/projects/quickeasyphp/files/EasyPHP/5.3.2i/EasyPHP-5.3.2i-setup.exe/download) and install it.
2) Download the last version of Vlc-Share (http://www.wiimc.org/forum/download/file.php?id=207) and unpack it in YOUR_EASY_PHP_INSTALL_DIR/www/
3) Download Zend Framework 1.10.6 minimal package (http://framework.zend.com/releases/ZendFramework-1.10.6/ZendFramework-1.10.6-minimal.zip) and unpack ONLY “Zend/” dir (and sub dirs) in YOUR_EASY_PHP_INSTALL_DIR/www/vlc-shares/library/. (At least there will be EASY_PHP_DIR/www/vlc-shares/library/Zend/…….)
4) Download and install VLC 1.1.0 (http://sourceforge.net/projects/vlc/files/1.1.0/win32/vlc-1.1.0-win32.exe/download).
5) Open the file YOUR_EASY_PHP_INSTALL_DIR/conf_files/httpd.conf with Notepad or WordPad (notepad++ is better: it shows line number)
6) Search for line below (+/- line 58)
Listen 127.0.0.1:80
and change it to
Listen 0.0.0.0:80
(if you want, you can bind apache only for 1 network adapter change 0.0.0.0 in you IP address of the network adapter. Ex 192.168.1.3)
7) Search for line below (+/- line 119)
#LoadModule rewrite_module modules/mod_rewrite.so
and change it to
LoadModule rewrite_module modules/mod_rewrite.so
8) Search for line below (+/- line 233)
AllowOverride None
and change it to
AllowOverride All
9) Save the new version of the file & restart EasyPhp (there is a systray icon)
10) Right click on systray icon of EasyPhp, configuration->PHP Extension. Check on php_pdo_sqlite, then Apply. Restart easyphp again
11) Rename the file YOUR_EASY_PHP_INSTALL_DIR/www/vlc-shares/application/configs/vlc-shares.config.ini_WINDOWS to vlc-shares.config.ini
12) Open the file YOUR_EASY_PHP_INSTALL_DIR/www/vlc-shares/application/configs/vlc-shares.configs.ini (the one you have just renamed)
13) Now edit the file with your config (more info about this step here).
Mandatory changes are:
- Line 47: if you use apache on port != 80, set your port in apache_altPort
- Line 59: set your path to vlc.exe (use / in the path, not )
- Line 154-188: set your collection id/label/path (Path must end with / )
14) Open file onlinemedia.xml in your WiiMc directory and add the line below
just before , where IP_ADDRESS = the ip address of pc where you install vlc-share.
15) Start WiiMc, go to Online Media tab, select the new “VLC-Share Collections” link and enjoy vlc-shares
[Note]
If you have configuration problem, give a look to system test page. Open your browser and go to
http://IP_ADDRESS/vlc-shares/public/
Also, while vlc is playing, if you enable pcstream feature in config file, you will get in test page a link to html controls page where preview and stream controls are available through browser.
========== UBUNTU 10.04 INSTALLATION GUIDE ==============
1) open console and type in
sudo apt-get install apache2 libapache2-mod-php5 php5 zend-framework zend-framework-bin vlc php5-sqlite
2) now type in console window
sudo gedit /etc/php5/apache2/conf.d/zend-framework.ini
3) change the line below
; include_path=${include_path} ":/usr/share/php/libzend-framework-php"
to
include_path=${include_path} ":/usr/share/php/libzend-framework-php"
(look at “;” at the beginning), then save the change & close gedit
4) now type in console window
sudo gedit /etc/apache2/sites-enabled/000-default
5) search for lines below:
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
and change them to
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
6) now type in console window
sudo a2enmod rewrite
7) Dowload last version of VLC-Shares (http://www.wiimc.org/forum/download/file.php?id=207) and unpack it in your home directory. (in the and you will have /home/YOUR_USER/vlc-shares/application/….)
8) now type in console window
cp vlc-shares/application/configs/vlc-shares.config.ini_LINUX /vlc-shares/application/configs/vlc-shares.config.ini
9) now type in console window
gedit /vlc-shares/application/configs/vlc-shares.config.ini
and make your changes
Mandatory change are (more info about this step here):
- Line 47: if you use apache on port != 80, set your port in apache_altPort
- Line 154-188: set your collection id/label/path (Path must end with / )
10) now type in console window
sudo cp -R vlc-shares /var/www/ && sudo chmod a+rwx -R /var/www/vlc-shares/data/db/
11) now type in console window
sudo /etc/init.d/apache2 restart
12) Open file onlinemedia.xml in your WiiMc directory and add the line below
just before , where IP_ADDRESS = the ip address of pc where you install vlc-share.
13) Start WiiMc, go to Online Media tab, select the new “VLC-Share Collections” link and enjoy vlc-shares
[Note]
If you have configuration problem, give a look to system test page. Open your browser and go to
http://IP_ADDRESS/vlc-shares/public/
Also, while vlc is playing, if you enable pcstream feature in config file, you will get in test page a link to html controls page where preview and stream controls are available through browser.
