Coder Social home page Coder Social logo

gmusic-daap's Introduction

This is a fork of pydaap, the Python-based daap library.

This aims to be a wrapper to expose a user's Google Music library as a DAAP
share on the network.

Why was pydaap written?  There doesn't seem to exist a standalone daap library
that can be used in a cross-platform fashion for the use-case that Miro is
anticipating.

We do however borrow heavily from existing projects, in trying to write this
we hope that there is a decoupling of the protocol implementation and an
embedding application so this can be used elsewhere.

Many thanks to Geoffrey Lee for writing pydaap!

To build and install:

python buildconst.py
python setup.py install

Note: This installs the libdaap package only.

The pydaap package also includes reference implementations of a server
and client using libdaap, called daapd.py and daap.py respectively.  If you
just want to try these programs out within the source directory there is no
need to install libdaap on your system.

To run the server:

python daapd.py [GMusic ClientLogin token]

Optional options for server:

-v: display version
-h: display help
-M: do not publish music share via Bonjour
-c <maxconn>: set maximum client connections (default is 10)
-p <port>: alternate port, default=3689, 0 to pick a unused port

To run the client:

python daap.py <host>

-v: display version
-h: display help

note: If you need to specify a port, use <host>:<port> format.

daap.py also contains a Bonjour browse, which you can invoke via:

python daap.py -S

This will run forever, ^C on Unix to exit.

Thanks goes to the existing implementators of open source daap clients
and servers and especially to forked-daapd of which the authors have
used extensively for source-level documentation.

The author would also like to thank 3rd party Python modules which this
program utilizes, which is credited in the CONTRIB file.

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.