Skip to main content

HTTP Media Server for VLC

Project description

We ( actually I and some of my friends ) needed to watch movies and listen to songs wirelessly from a desktop which has all the hard disks attached to it. SMB, AFP, etc were too much of a hassle to set up and not to mention slow, jittery performance. I am looking at you Mac OS ( SMB 1 in 2016 ?). Hence the python script.

Shows the playlist directly in vlc. So that you can click and play :). Both random and incremental seek in vlc is supported. Playing directly in the browser is supported too.

Requires netifaces other than python standard libary. Have fun!

Installation

pip install -r requirements.txt

Usage

video.py [-h] [–directory DIRECTORY] [–port PORT] [–foreground]

[–stop] [–restart] [–pid PID]

optional arguments:

-h, --help

show this help message and exit

—directory DIRECTORY, -d DIRECTORY Directory where the media is located

--port PORT, -p PORT

Port the Media Server will bind to

—foreground, -f Start the Media Server in the foreground

--stop

Stop the Media Server.

—restart Restart the Media Server

--pid PID

Location to store the pid file

Watch

Just run vlc http://[ip-address of the machine running the service]:[1149 or the port the service is running at]/vlc

To play on a html5 enabled browser use http://[ip-address of the machine running the service]:[1149 or the port the service is running at]

Misc

Hope it helps you as much as it’s helping us.

Issues and Pull Requests are welcome.

But most importantly have fun.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

videopy-0.0.1.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

videopy-0.0.1-py2-none-any.whl (3.7 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page