Code Monkey home page Code Monkey logo

pychromecastweb's Introduction

pychromecastweb

pychromecastweb is a web application that allows you to browse parts of
the local filesystem and cast videos to a Chromecast.

This is in a very rough state. To do something, follow the instructions
below, go to /admin/, create a media source pointing to folders with
media files, go back to /, browse and cast.

You can also go to /admin/ to add Chromecasts manually, this is useful
if you are running this on a wired network or the Chromecasts are in a
different subnet.

DEVELOPMENT

$ pipenv install --python 3.6 -e .[dev]
$ pipenv run python manage.py migrate
$ pipenv run python manage.py createsuperuser
$ CAST_HOST=<ip of your host> pipenv run gunicorn -b 0.0.0.0:8000 pyccw.wsgi -w 4

Chromecasts seem to use Google's public DNS servers, so you need to
specify which host should the Chromecast use to reach the embedded web
server for media files.

INSTALLATION

This will install it under your user account:

$ pip3 install --user git+https://github.com/alexpdp7/pychromecastweb.git
$ CAST_HOST=<ip of your host> django-admin migrate --settings pyccw.settings
$ CAST_HOST=<ip of your host> django-admin createsuperuser --settings pyccw.settings
$ gunicorn -b 0.0.0.0:8000 pyccw.wsgi -w 4

If ./.local/bin is not in your path, you might need to prepend it to the
gunicorn and django-admin commands

CONFIGURATION

Use PYCCW_LOG_LEVEL=(DEBUG|...) to configure log levels.

pychromecastweb's People

Contributors

alexpdp7 avatar

Watchers

Elias de Oliveira avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.