VLC Station

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

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey, Greasemonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да инсталирате разширение, като например Tampermonkey .

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Userscripts.

За да инсталирате скрипта, трябва да инсталирате разширение като Tampermonkey.

За да инсталирате този скрипт, трябва да имате инсталиран скриптов мениджър.

(Вече имам скриптов мениджър, искам да го инсталирам!)

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

(Вече имам инсталиран мениджър на стиловете, искам да го инсталирам!)

Автор
Benjamin Penney
Инсталации дневно
0
Инсталации общо
447
Рейтинг
4 1 0
Версия
7
Създаден
18.12.2017
Обновен
29.03.2018
Размер
20 КБ
Лиценз
Няма
Работи на

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.