# vlc-control-io

> Control your VLC with Node. JS with socket.io + vlc-control-node module

Latest version **0.0.3** (published 2014-12-03) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install vlc-control-io
pnpm add vlc-control-io
yarn add vlc-control-io
bun add vlc-control-io
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2014-12-03 |
| First published | 2014-12-03 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Fernando Derkoski |
| Maintainers | brilvio |
| Keywords | control, vlc, node, socket.io, vlc-control-node |

## Links

- npm: https://www.npmjs.com/package/vlc-control-io
- Repository: https://github.com/gordosteam/vlc-control-io
- Issues: https://github.com/gordosteam/vlc-control-io/issues
- npm.io page: https://npm.io/package/vlc-control-io

## Dependencies (2)

- [socket.io](https://npm.io/package/socket.io.md) ~1.2.1
- [vlc-control-node](https://npm.io/package/vlc-control-node.md) 0.0.7

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2014-12-03
- 0.0.1 — 2014-12-03

## README

vlc-control-io
==============

Control your VLC with Node. JS with socket.io + vlc-control-node module

# Setup
First you have to emit an IO from the client with the name of **cfg**.

Example:
```javascript
socket.emit('cfg', {
		ip : 'localhost',
		port : 8080,
		user : '',
		password : 'password'
	});
```

# Using
To use you have to emit the commands

Examples:

**Add to PlayList and Play**
```javascript
socket.emit('command', {
		command : 'addAndStart',
		params : {
			uri : '/path/to/the/file',
			noaudio : false,
			novideo : false
		}
	});
```
**Play**
```javascript
socket.emit('command', {
		command : 'play',
		params : {
			id: 0
		}
	});
```
**Stop**
```javascript
socket.emit('command', {
		command : 'stop'
	});
```

This commands will return an Object with informations that VLC will return.

---
_Source: https://npm.io/package/vlc-control-io · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
