All Projects → DavisNT → mopidy-alarmclock

DavisNT / mopidy-alarmclock

Licence: Apache-2.0 license
A Mopidy extension for using it as an alarm clock.

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to mopidy-alarmclock

cookiecutter-mopidy-ext
cookiecutter template for creating a Mopidy extension
Stars: ✭ 15 (-55.88%)
Mutual labels:  mopidy
Mopidy Alsamixer
Mopidy extension for ALSA volume control
Stars: ✭ 30 (-11.76%)
Mutual labels:  mopidy
Pimusicbox
An image (SD-card) to turn the Raspberry Pi into an easy to use MusicBox with Spotify playback and AirTunes streaming
Stars: ✭ 1,967 (+5685.29%)
Mutual labels:  mopidy
Mopidy Musicbox Webclient
Web Client for Mopidy Music Server and the Pi MusicBox
Stars: ✭ 385 (+1032.35%)
Mutual labels:  mopidy
Mopidy
Mopidy is an extensible music server written in Python
Stars: ✭ 7,254 (+21235.29%)
Mutual labels:  mopidy
Dotfiles
💀 dotfiles! managed by GNU stow
Stars: ✭ 85 (+150%)
Mutual labels:  mopidy
LetsHack
Notes & HowTo's covering the Raspberry Pi, Arduino, ESP8266, ESP32, etc.
Stars: ✭ 37 (+8.82%)
Mutual labels:  mopidy
Boombeastic
A Raspberry Pi based smart connected speaker with support for airplay, spotify, mpd and local playback
Stars: ✭ 195 (+473.53%)
Mutual labels:  mopidy
Mopidy Mpris
Mopidy extension for controlling Mopidy through the MPRIS D-Bus interface
Stars: ✭ 27 (-20.59%)
Mutual labels:  mopidy
Mopidy Soundcloud
Mopidy extension for playing music from SoundCloud
Stars: ✭ 153 (+350%)
Mutual labels:  mopidy
Raveberry
A multi-user music server with a focus on participation
Stars: ✭ 442 (+1200%)
Mutual labels:  mopidy
Iris
Discover, explore and manage your music library across multiple sources with this beautiful web-based interface. Iris is a Mopidy frontend extension.
Stars: ✭ 776 (+2182.35%)
Mutual labels:  mopidy
Playerctl
🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
Stars: ✭ 1,365 (+3914.71%)
Mutual labels:  mopidy
addon-mopidy
Mopidy - Home Assistant Community Add-ons
Stars: ✭ 42 (+23.53%)
Mutual labels:  mopidy
Multi Room Audio Centralized Audio For Home
🎵 This Github Repository provides details on setting up a centralized audio system for your home using nothing but Raspberry Pi's and Old Speakers.
Stars: ✭ 189 (+455.88%)
Mutual labels:  mopidy
mopidy-local
Mopidy extension for playing music from your local music archive
Stars: ✭ 52 (+52.94%)
Mutual labels:  mopidy
Mopidy Local Sqlite
DEPRECATED (Mopidy SQLite local library extension)
Stars: ✭ 32 (-5.88%)
Mutual labels:  mopidy
fonos
Sonos-like multi-room audio setup for Raspberry Pi
Stars: ✭ 30 (-11.76%)
Mutual labels:  mopidy
Mopidy Youtube
Mopidy extension for playing music from YouTube
Stars: ✭ 189 (+455.88%)
Mutual labels:  mopidy
Rompr
Web client for Mopidy and MPD
Stars: ✭ 115 (+238.24%)
Mutual labels:  mopidy

Mopidy-AlarmClock

Latest PyPI version Number of PyPI downloads GitHub Actions 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/).

WARNING! It is strongly recommended to use only local playlists with local media (files) for alarm clock.

Althrough Mopidy-AlarmClock contains some safety measures against playlist/track inaccessibility (e.g. upon network outage) it is still much safer to use local media.

License

Copyright 2014 Mathieu Xhonneux
Copyright 2015-2020 Davis Mosenkovs

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Project resources

Changelog

v0.1.9

  • Cosmetic improvements.

v0.1.8

  • Upgraded to Mopidy 3.0+ and Python 3.7+.

v0.1.7

  • Play backup alarm sound when playback cannot be started (within 30 seconds or more).
  • Added warning to readme that only local playlists/media should be used for alarm clock.

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)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].