Giter Club home page Giter Club logo

pydial's Introduction

NOTE: PyDial is currently pre-alpha, and in the middle of being ported from Python 2.7 to Python 3.x. The 2.x client branch basically works; the 2.x server can answer UPnP discovery requests, but doesn't implement the rest of DIAL. The 3.x client/server kit is mid-port and may not be working at any given moment. As of 4/19/14, server discovery was working but other client funcionts hadn't been tested and the server could respond to UPnP discovery requests.

pydial

Simple Python client and server for the DIAL protocol.

The DIAL (DIscovery And Launch) protocol enables devices to request display devices on the same LAN/WLAN segment (like smart TVs, Chromecast, and other multimedia devices) to play back media on their behalf. It is used by Google's Chromecast device to stream YouTube, Netflix, Hulu, and other services, allowing you to control playback from a smartphone, tablet, or other computer while displaying content on a large screen.

DIAL is built on top of parts of the UPnP and HTTP protocols. UPnP is used for discovering DIAL-enabled devices on your network segment; HTTP is used for requesting and controlling playback. App developers can build their own protocols for controlling authentication, playback, etc. on top of the DIAL protocol.

PyDial aims at being a simple implementation of the DIAL protocol, suitable for prototyping DIAL-enabled functions on first screen (display device) or second screen (control/client device) devices that understand Python. You can also use it to develop desktop apps that can interact with DIAL devices.

DIAL was developed by Netflix and Google; complete details are available here: http://www.dial-multiscreen.org/

Wikipedia description of the DIAL protocol: http://en.wikipedia.org/wiki/DIscovery_And_Launch

Resources

Acknowledgements

Code for the PyDial client code was derived from the PyChromecast project: https://github.com/balloob/pychromecast

Licensing and Legal

See the LICENSE file for complete licensing information.

PyDial is distributed under the MIT license.

The following applies to the DIAL protocol: Copyright © 2012 Netflix, Inc. All rights reserved.

Redistribution and use of the DIAL DIscovery And Launch protocol specification (the “DIAL Specification”), with or without modification, are permitted provided that the following conditions are met:

● Redistributions of the DIAL Specification must retain the above copyright notice, this list of conditions and the following disclaimer.

● Redistributions of implementations of the DIAL Specification in source code form must retain the above copyright notice, this list of conditions and the following disclaimer.

● Redistributions of implementations of the DIAL Specification in binary form must include the above copyright notice.

● The DIAL mark, the NETFLIX mark and the names of contributors to the DIAL Specification may not be used to endorse or promote specifications, software, products, or any other materials derived from the DIAL Specification without specific prior written permission. The DIAL mark is owned by Netflix and information on licensing the DIAL mark is available at www.dial-multiscreen.org.

THE DIAL SPECIFICATION IS PROVIDED BY NETFLIX, INC. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT

LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT

ARE DISCLAIMED. IN NO EVENT SHALL NETFLIX OR CONTRIBUTORS TO THE DIAL SPECIFICATION BE LIABLE FOR ANY DIRECT,

INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)

ARISING IN ANY WAY OUT OF THE USE OF THE DIAL SPECIFICATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

pydial's People

Contributors

claycollier avatar tjenkinson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pydial's Issues

documentation?

I'm not really sure how to use this - could you provide some documentation or some full examples? Thanks.

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.