Makes play buttons in Video Station generate VLC playlists rather than playing videos in the browser.
Hello! From the look of that path, it seems like you're running Linux. If I'm wrong, please correct me. Version 5 and earlier weren't Linux-tested, but...
I did some testing today in Linux Mint 18.3 and believe I've made it Linux compatible. Please update to version 6 (available on the main page) and try again. If it doesn't work, please post the error here. You will need the SMB plugin installed in VLC.
Hope it works for you!
Actually, I updated it again to fix a potential issue. Try version 7!
Thanks you Benjamin!
I m on linux. It is working with lecteur vidéo Totem but not with VLC which still have the following issues "Votre média d'entrée ne peut être ouvert:
VLC ne peut pas ouvrir « smb://192.XXX.X.X/video/yyy.avi ». Vérifiez les messages pour plus de détails.
I have follow this https://linuxtrack.net/viewtopic.php?id=2188 but it not solve the problem
Many thanks, Didier
Well, it sounds like VLC Station is now behaving correctly. It's now a VLC or Linux configuration issue. I'm going to try to help you, but I am far from a Linux expert.
I have a guest-readable share on my Synology box called "Archive". Users on Windows can just map this share without a password. I suspect you have the same thing but called "video", I'd just like to confirm that.
When I installed the SMB plugin for VLC, and indeed after I made any config changes, I restarted smbd and nmbd:
service smbd restart
service nmbd restart
I also added the following lines to my /etc/samba/smb.conf file (directly under the "workgroup = workgroup" line):
netbios name = somename
name resolve order = bcast host lmhosts wins
client max protocol = SMB3
force user = ben
One more thing, I actually had to install Samba -- it wasn't installed out of the box. I'm guessing you'd have this installed though.
apt-get install samba
This is about all I remember doing from a stock Linux Mint 18.3 (KDE) installation. Can you tell me what distribution of Linux you're using? I will install it on a virtual machine, record the steps I needed to take to get it working and report back here.
Oh, and if it helps, all of my entries in the Access Modules -> SMB section of VLC are empty.
Hey Benjamin, I find your application nice but I cannot running it.
it works on my machine.
Hi didierhai,
Did you manage to get it working with VLC?
Hi Benjamin, I will try this week end and let you know. Thanks a lot Didier
Hi Benjamin, your script is what I have been looking for. But it is not working on my Firefox (the latest version, with Violentmonkey, on win 10). Any clues?
Hi Frank,
There is an incompatibility between ViolentMonkey and sites that use CSP rules. Video Station serves pages with these rules.
I found a discussion on the ViolentMonkey GitHub page about this issue and one suggested solution:
https://github.com/violentmonkey/violentmonkey/issues/173#issuecomment-327869792
I installed the add-on mentioned with the following rule (replacing everything after "Have fun!") and VLC Station started working:
[[["*://example.com/*"], [["script-src", "script-src 'unsafe-inline'"]]]]
Replace example.com with your domain, your DiskStation's network name or its IP address (internal or external), whichever applies.
Alternatively, you could try another user script manager. I can confirm the script works with Greasemonkey on the most recent version of Firefox.
Installation Problem
Hey Benjamin, I find your application nice but I cannot running it. When VlC open the video It try to get file /tmp/mozilla\ipadress of synology\video\video.avi and said it cannot open the file.
Do you have any solutions for me ?
Thanks a lot
Did