All Projects → gcushen → spotify-rise

gcushen / spotify-rise

Licence: MIT license
⏰ Spotify alarm clock for Ubuntu Linux

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to spotify-rise

spotifypiHome
"Install and go" multiroom music playback solution, with support for spotify, airplay and bluetooth.
Stars: ✭ 32 (+0%)
Mutual labels:  spotify
spotify-release-list
📅 Display list of Spotify releases from artists you follow
Stars: ✭ 142 (+343.75%)
Mutual labels:  spotify
Partify
This is a free open source Spotify-powered app that lets users host parties and have guests connect using their smartphones to submit and vote on songs. The app will only play the highest voted song and can connect to personal playlists.
Stars: ✭ 37 (+15.63%)
Mutual labels:  spotify
gmusic wrapped
A spotify 'year wrapped' like for Google Play Music
Stars: ✭ 44 (+37.5%)
Mutual labels:  spotify
spotify-cli
Spotify for the terminal 🎵
Stars: ✭ 295 (+821.88%)
Mutual labels:  spotify
ad-silence
Mute Ad/promotions from Accuradio, Spotify, TIDAL & Pandora Android. Minimal, extensible & lightweight under 150kb.
Stars: ✭ 132 (+312.5%)
Mutual labels:  spotify
BTSpotifyGeeklet
Geeklet for Spotify player, shows track info and artwork
Stars: ✭ 12 (-62.5%)
Mutual labels:  spotify
muse
🎧 a self-hosted midwestern Discord music bot that doesn't suck
Stars: ✭ 354 (+1006.25%)
Mutual labels:  spotify
spotify-playing-readme
A really easy way to display your spotify listening status on READMEs and Website.
Stars: ✭ 21 (-34.37%)
Mutual labels:  spotify
spotify-account-generator
Instantly generates new free Spotify accounts with random credentials
Stars: ✭ 83 (+159.38%)
Mutual labels:  spotify
lavalink-music-bot-2021
Advance Discord Lavalink Music Bot With Spotify and Buttons Help Menu || Best Music Quality || Radio Commands
Stars: ✭ 26 (-18.75%)
Mutual labels:  spotify
muffon
Music streaming browser
Stars: ✭ 491 (+1434.38%)
Mutual labels:  spotify
Jekyll-Spotify
Easily output Spotify Embed Player for jekyll
Stars: ✭ 15 (-53.12%)
Mutual labels:  spotify
hoergewohnheiten
Save your Spotify plays to a Postgres database and run a Flask app to provide listening stats.
Stars: ✭ 16 (-50%)
Mutual labels:  spotify
foo spotify
foobar2000 component for Spotify integration
Stars: ✭ 158 (+393.75%)
Mutual labels:  spotify
Spotify-Readme
A dynamic, customizable, and real-time Spotify now-playing widget for your README files.
Stars: ✭ 85 (+165.63%)
Mutual labels:  spotify
spotify.cr
🎧 A Crystal wrapper for the Spotify Web API
Stars: ✭ 35 (+9.38%)
Mutual labels:  spotify
alarmdotcom
Custom component to allow Home Assistant to interface with Alarm.com
Stars: ✭ 90 (+181.25%)
Mutual labels:  alarm
paystack-music-api
The bot and API that powers Paystack Music.
Stars: ✭ 70 (+118.75%)
Mutual labels:  spotify
laravel-spotify
Laravel-Spotify is a simple wrapper around the Spotify Web API that makes working with its endpoints a breeze!
Stars: ✭ 141 (+340.63%)
Mutual labels:  spotify

Spotify Rise

A lightweight alarm clock for the Spotify Linux Client.

Features

  • specify any Spotify track or album (or playlist, with Spotify v0.9) to wake up to
  • shuffle mode support
  • alarm fades in gradually
  • alarm timeout in case you are on holiday or have a hangover 😆

Check out the tutorial or see below for installation.

Installation

Install the Spotify Linux Client:

  1. Add the Spotify repository signing key to be able to verify the download

     sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
    
  2. Add the Spotify repository

     echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
    
  3. Update the list of available packages

     sudo apt-get update
    
  4. Install Spotify

     sudo apt-get install spotify-client
    

Start Spotify, signup/login, test audio playback, and then close it:

spotify

Install an alarm scheduler and dependencies:

sudo apt-get install alarm-clock-applet wmctrl xautomation

Install the Spotify Rise plugin:

cd ~/Downloads/
wget -O spotify-rise https://raw.githubusercontent.com/gcushen/spotify-rise/master/spotify-rise
sudo install spotify-rise /usr/local/bin/spotify-rise

Open the alarm scheduler:

alarm-clock-applet

And configure it to run the command spotify-rise <URI> where <URI> is the Spotify URI to play. Copy a track URI within an album by right clicking on a track, choosing Copy Spotify URI, and pasting it as the <URI> placeholder.

You may customize the spotify-rise command with the following options:

Option Function
-t Toggle shuffle mode (if not already toggled in Spotify and you want shuffle mode)
-s Expect that shuffle mode is already active
-h Help
-c <cutoff> Override the default 15 minute alarm timeout. Units are minutes. A zero value removes the timeout.

Continue reading on to the section below for example usage.

To stop the alarm, you can either pause the current song in the Spotify Linux Client or over WiFi with the Spotify Mobile App, or just let the alarm automatically timeout after 15 minutes.

That's it, rise and shine in style with Spotify Rise! Remember to test your alarm and speakers have been setup correctly before relying on them to wake you up!

Note: Spotify v1 no longer supports playing playlists/albums via Dbus, but we can partially workaround this issue by providing the URI of a (random) track within a desired album. For playlist support, currently you will need to downgrade to Spotify v0.9.

Examples

Play an album/track, starting with specified track URI:

spotify-rise spotify:track:0I2kwvXCLolYQ4nZQcF6EQ

Play an album in shuffle mode, assuming you keep Spotify in shuffle mode:

spotify-rise -s spotify:track:0I2kwvXCLolYQ4nZQcF6EQ

Play an album in shuffle mode, assuming you do not keep Spotify in shuffle mode:

spotify-rise -ts spotify:track:0I2kwvXCLolYQ4nZQcF6EQ

Contributing

Please use the issue tracker to report any bugs or feature requests, or alternatively make a pull request.

License

Copyright 2016 George Cushen.

Released under the MIT license.

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