[TUTORIAL] vlc youtube streaming

Nemesis related tutorials and docs
Forum rules
Please only post tutorials and HOWTOs in here. It should not be a discussion area.
Locked
aus9

[TUTORIAL] vlc youtube streaming

Post#1 by aus9 » 12 Dec 2015, 04:46

Longer subject
This is a mini tutorial for those who prefer to play youtube tracks in vlc
Assuming you are on Nemesis v 3.5

First fixup glxgears
viewtopic.php?f=137&t=5432

^^ Has been made a separate post has it affects non-vlc users as well

Install vlc
as root

Code: Select all

pman -S vlc  (or pacman -S vlc)
setup your guest for vlc https streaming
Next are a series of commands to setup the following:
an independent youtube.lua script.
symbolic links to your system wide certificates as vlc does not have its own
and some new directories that vlc can use so we can use them to update the lua script in future if we need to.

run as guest....note there is a dot before local and config

Code: Select all

mkdir -p .local/share/vlc/lua/playlist
mkdir -p .config/vlc/ssl
ln -s /etc/ssl/certs /home/guest/.config/vlc/ssl/certs
wget http://jslover.secsrv.net/VLC/playlist/youtube.lua/download -O  .local/share/vlc/lua/playlist/youtube.lua
Now before trying out vlc in gui mode run in a terminal and look for any errors

Code: Select all

vlc -vvv
You may see one error that looks like this
[00000000018f67a8] pulse audio output error: PulseAudio server connection failure: Connection refused
You can ignore this if you don't want to install pulseaudio because in the gui for vlc you can configure vlc to use sound via Alsa.

GUI vlc should start but now shut it down and close the terminal. We only did the terminal bit to check for errors.


GUI streaming

Now click your new icon (usr/share/applications or menu -> sound and video )and gui should appear now to test network streaming
copy and paste this url into the vlc -> menu -> open network stream
Image

######################

errors if you see a dialog box asking you to accept the certificate accept it

I have not found any other errors so far on reboot.

On 3.5 I had significant graphical issues but if you suspect graphical in a terminal the command glxgears should start
if it doesn't then you do have graphical issues. Don't we all :D

###################################################
Future updates
the lua script is currently dated Updated: Fri, Jan 8, 2016 --- 1/8/16, 10:19:19am EST
From time to time the maintainer updates it but I am not on any mailing list so the only way to tell is to download it somewhere and check the contents

Locked