
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
web-media-player
Advanced tools
Simple media player controlled by a web interface. Designed for Raspberry Pi.
This application allows you to control a simple media player via a web interface. I wrote it so that I could play video files on my Raspberry Pi.
This could really use some AJAX features - right now the state is only refreshed when a new page is requested. I might work on this in the future.
git clone https://github.com/nylen/node-web-media-player.git
(or npm install web-media-player)
cd node-web-media-player and npm install
Copy one of the example config files to config/default.yml and edit as
needed.
node server.js
player.mediaPath - the root path for your media files.
player.mount.ifNotExists and player.mount.command - if these settings
are present, then check whether the file specified by ifNotExists exists
(relative to the mediaPath), and if it doesn't, then run the command
specified by command. This feature can be used to automatically mount
the media storage directory. Use %d for the path to the media storage
directory, if needed.
player.commands.start - the command that should be used to run the media
player for a file. This should be a command-line media player like mplayer
or omxplayer. Use %f for the filename.
player.commands.kill - the command that should be used to kill the media player. This is only used as a last resort if sending player.controls.exit doesn't work.
player.controls.(play|pause|exit) - the keypresses that should be sent to
the stdin of the media player process to perform the desired action. This
should work as if you had started the media player on the command line and
pressed the specified key(s). player.controls.exit should stop the
player and cause the process to exit.
player.controls.seek - a dictionary where the keys are positive or negative numbers of seconds (given as strings), and the values are the key sequences needed to make the media player seek by the given number of seconds.
player.exitTimeout - when player.controls.exit is sent, wait for this
amount of time in milliseconds. If the player process has not exited by
then, kill it. If specified, player.commands.kill will be used.
Otherwise, the player process will be sent a SIGTERM (which does not seem
to work with omxplayer).
FAQs
Simple media player controlled by a web interface. Designed for Raspberry Pi.
The npm package web-media-player receives a total of 30 weekly downloads. As such, web-media-player popularity was classified as not popular.
We found that web-media-player demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.