Giter Site home page Giter Site logo

statyk / deadstream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eichblatt/deadstream

0.0 0.0 0.0 3.27 MB

A time machine to play GD tapes from archive.org

License: GNU General Public License v3.0

Python 84.20% q 0.88% Shell 12.94% Perl 1.99%

deadstream's Introduction

The Grateful Dead Time Machine

A raspberry pi controller with year, month, date knobs to stream shows from audio collections on archive.org.

It also contains a simple, command-line-interface to the collections on archive.org, which can be used to see what's available and play a given tape.

A Simple example for the python script:

import os
from timemachine import GD

metadata_path = os.path.join(GD.ROOT_DIR,'metadata')
a = GD.GDArchive(metadata_path)

#dates = a.dates  # shows a list of all dates on which there are tapes.

tape = a.best_tape('1979-11-02')

player = GD.GDPlayer(tape)

player.play()

player.next()

player.seek(100)

player.pause()

player.play()

player.stop()

Install the module

pip3 install .

or

python3 setup.py install

Uninstall the module

pip3 uninstall timemachine

Build without installing

This will put the module in build/lib.

python3 setup.py build

Run unit tests

To be able to run unit tests, install the requirements.

pip3 install -r requirements

Run tests with pytest

python3 -m pytest

Run tests with tox

Using tox will test the whole build pipeline using setup.py and run the unit tests using pytest.

tox

Upgrading the software

About the code

The code was developed by Steve Eichblatt, with key guidance from Derek Wisong.

deadstream's People

Contributors

eichblatt avatar derekwisong 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.