GithubHelp home page GithubHelp logo

postcert / mopidy-alarmclock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davisnt/mopidy-alarmclock

0.0 2.0 0.0 290 KB

A Mopidy extension for using it as an alarm clock.

Home Page: https://pypi.python.org/pypi/Mopidy-AlarmClock/

License: Apache License 2.0

Python 58.78% CSS 5.18% JavaScript 27.09% HTML 8.95%

mopidy-alarmclock's Introduction

Mopidy-AlarmClock

Latest PyPI version Number of PyPI downloads Travis-CI build status Coveralls test coverage

A Mopidy extension for using it as an alarm clock.

Mopidy-AlarmClock was originally created by Mathieu Xhonneux and now is maintained by Davis Mosenkovs.

Installation

Install by running:

pip install Mopidy-AlarmClock

Configuration

Optionally alarm defaults can be configured in mopidy.conf config file (the default default values are shown below):

[alarmclock]
# Default alarm time in Hours:Minutes format
def_time = 8:00

# Name or Mopidy URI of default alarm playlist
def_playlist =

# Default state of Random Track Order (true or false)
def_random = false

# Default alarm volume (integer, 1 to 100)
def_volume = 100

# Default seconds to full volume (integer, 0 to 300)
def_vol_inc_duration = 30

Usage

Make sure that the HTTP extension is enabled. Then browse to the app on the Mopidy server (for instance, http://localhost:6680/alarmclock/).

Project resources

Changelog

v0.1.6

  • Changed branching model to git-flow.
  • Refactoring for improved alarm scheduler.
  • Added backup alarm sound (in case selected playlist is missing).
  • Disable Consume and Single playback modes.
  • Fixed incorrect Mopidy version requirement.
  • Misc refactoring.

v0.1.5

  • Added tests.
  • Fixed nondeterministic effects when cancelling and setting alarm again within 5 seconds (prevent stale idle() timers).
  • Fixed minor math bug in gradual volume increasing.
  • One digit minutes supported in alarm Time.
  • Leading zero for hours of current time in Alarm state.

v0.1.4

  • Alarm defaults can now be configured in mopidy.conf.
  • Display alarm volume on Alarm state.
  • Display current time of alarm clock on Alarm state.
  • Added Travis-CI build and Coveralls test coverage info.
  • Fixed README (to be parsable by PyPI).

v0.1.3

  • Added adjustable volume and gradually increasing volume.
  • Fixed stale message appearing on page reload.
  • Minor internal code changes and interface changes.
  • Updated README/Changelog.

v0.1.2

  • Fixed alarm starting immediately in some situations.
  • Renamed Shuffle Mode to Random Track Order.

v0.1.1

v0.1.0 (UNRELEASED)

mopidy-alarmclock's People

Contributors

davisnt avatar postcert avatar zashas avatar

Watchers

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