Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

A Spicetify extension to announce song details, time and local weather in-between tracks.

License

Notifications You must be signed in to change notification settings

rlueder/spicetify-announcer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License

Spicetify Announcer

A Spicetify extension to announce song details, time and local weather in-between tracks.

Spicetify Announcer uses Amazon Polly service to announce the tracks recently played, similar to what a live radio show would do. It also announces the time and the local weather forecast based on configuration parameters.

Sound on! 👇

SpicetifyAnnouncer.mp4

Table of Contents

1. Getting Started

These instructions will get you a copy of the project up and running on your local machine.

1.1 Prerequisites

You'll need Node installed on your machine, the best way to install/manage Node versions is to use Volta:

  • Volta - the hassle-free JavaScript tool manager

You also need to follow the installation instructions for Spicetify:

1.2 Building and Installing

The steps below assume you have successfully installed Spicetify.

Spicetify Announcer requires an AWS account and setting up the AWS Polly following the Getting Started guide. Once you have AWS configured follow the steps below:

  1. tweak the config.js entries for AWS and OpenWeather. At a minimum you'll have to update the following values:
  • AWS_REGION
  • AWS_IDENTITY_POOL_ID
  • OPENWEATHER_CITY
  • OPENWEATHER_TOKEN
  1. Then build the extension with your changes by running the build script. You should see something similar to:
$ npm run build

> [email protected] build ~/spicetify-announcer
> esbuild src/index.js --bundle --outfile=build/SpicetifyAnnouncer.js


  build/SpicetifyAnnouncer.js  501.9kb

⚡ Done in 70ms
  1. copy your build to the /spicetify/Extensions folder in your system. (NOTE: your folder might be in a different location depending on your system)
$ cp ./build/SpicetifyAnnouncer.js ~/.config/spicetify/Extensions

cp: overwrite '~/.config/spicetify/Extensions/SpicetifyAnnouncer.js'? y

  1. run the spicetify apply command to apply your changes:
$ ~/spicetify-cli/spicetify apply

spicetify v2.8.4
Overwriting raw assets:
OK
Transferring user.css:
OK
Applying additional modifications:
OK
Transferring extensions:
OK
success Spotify is spiced up!
  1. Update ~/.config/config-xpui.ini to include SpicetifyAnnouncer.js in the extensions line, you only need to do this once. (NOTE: your file might be in a different location depending on your system)
[AdditionalOptions]
extensions            = SpicetifyAnnouncer.js

You should now be able to start your Spotify client and announcements should work!

2. Built With

3. Credits and Community

This project exists thanks to all the people who contribute.

4. Donations

Spicetify Announcer is free and open-source software, if you find it useful consider buying me a coffee. Thanks!

5. License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Spicetify extension to announce song details, time and local weather in-between tracks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published