VLC Station

Makes play buttons in Video Station generate VLC playlists rather than playing videos in the browser.

Autor
Benjamin Penney
Instalaciones diarias
0
Instalaciones totales
438
Calificaciones
4 1 0
Versión
7
Creado
18/12/2017
Actualizado
29/03/2018
Tamaño
18.6 KB
Licencia
Desconocida
Funciona en

Makes play buttons in Synology Video Station generate VLC playlists rather than playing videos in the browser.

Installation

With this script, Video Station will offer videos you play as "playlist.vlc".

You can then set up your browser to automatically open playlists for seamless VLC playback.

In Firefox (and variants):

  • In options, ensure that the "application/videolan" content type is handled by VLC Alternatively, when prompted to save a playlist, choose to open it with VLC and tell Firefox to always open files of that type

In Iron (and presumably Chrome):

  • After downloading your first playlist, click on the arrow menu to the right of the file and tick "Always open files of this type"
  • You will need to ensure the Windows file association for .vlc files is handled by VLC

For Windows users, VLC Station also comes with a small, optional utility to improve the playback experience.

To download it, choose "Download VLC Full Screen Launcher (Windows)" from the Greasemonkey User Script Commands menu.

You can also get it directly here: https://github.com/gurok/VLCStation/releases/download/v1/vlc-full.exe

The source is available here: https://github.com/gurok/VLCStation

This utility launches VLC with the following parameters:

  • -F (Full screen)
  • --play-and-stop (Exit after playing the last item in the playlist)
  • --playlist-autostart (Start playback automatically)
  • --no-random (Play items in order (surprisingly, not the default in newer versions of VLC))
  • --no-loop (Do not loop through items in the playlist)

To use it, place the utility in the same directory as "vlc.exe" and point your file association to "vlc-full.exe" instead.

Notes

Tested with:

  • Firefox (Windows) (Greasemonkey 4)
  • Pale Moon (Windows) (Greasemonkey 3.3 RC4)
  • Iron (Windows) (Tampermonkey)
  • Firefox (Linux Mint) (Greasemonkey 4)

Support for the "TV Recording" video type is untested. I was unable to get my DiskStation to work with my DTV adapter.

Support for Mac OS and indeed anything not explicitly tested above is not guaranteed.

VLC Station will not work when accessed through the Application Portal feature of Synology DiskStations. You can make it work by modifying the regular expression for this script to suit your setup, e.g.

/^https?://mydomain\.com/video/.*$/

Feedback about operating system and browser compatibility is welcome.