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

Overview

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.

You might also like...

Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC technology

Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC technology

Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC technology

Jan 4, 2023

Funny discord bot to keep track of time.

Funny discord bot to keep track of time.

Big Ben Bot (as seen on tiktok @aaronr5) About Created this bot in about 45 minutes to make a funny tik tok. With that being said don't expect a featu

Oct 4, 2021

Getting Dislikes Back For Youtube, cause time is precious to at least not waste on junk.

The OpenDislikeAPI Project Getting Dislikes Back For Youtube(TM), cause time is precious to at least not waste on junk. Inspired by a video by Linus T

Jun 16, 2022

Take time-stamped YouTube notes

Take time-stamped YouTube notes

NattyNote Take time-stamped YouTube notes Installation Firefox ⚙️ How it works Press W, the video will stop playing, a prompt will show up, write your

Jan 1, 2023

🤖 NODE.TS - Play a welcome sound every time someone joins the voice channel, meme bot. (Olha ele ae)

welcome2voice-bot 🤖 NODE.TS - Play a welcome sound every time someone joins the voice channel. 🤖 INVITE-ME 🤖 Installation Clone project git clone g

Feb 23, 2022

OTBot - One-time invite link generator for discord

OTBot 🤖 Description One-Time Invite Link Generator For Your Discord Server With

Aug 15, 2022

Spotify radio is an audio streaming app where you can add effects in real time.

Spotify radio is an audio streaming app where you can add effects in real time.

Spotify Radio - Semana JS Expert 6.0 Spotify radio is an audio streaming app where you can add effects in real time. JS-Expert Project of the Week by

Apr 25, 2022

Skarbówka is a discord bot that is designed to waste your time on some stupid economy commands.

Skarbówka is a discord bot that is designed to waste your time on some stupid economy commands.

SKARBÓWKA - A shitty discord bot that you don't need Invite the bot It's a discord bot that has economy and casino commands that you can use in case o

Sep 9, 2022

A Chrome extension to help you inspect Mp4 video content and find irregularities in video streams.

A Chrome extension to help you inspect Mp4 video content and find irregularities in video streams.

MP4Inspector A Chrome extension to help you inspect Mp4 video content and find irregularities in video streams. Installation In chrome navigate to chr

Nov 28, 2022
Comments
  • ANNOUNCE_WEATHER_HOURS should also include minutes

    ANNOUNCE_WEATHER_HOURS should also include minutes

    As it stands ANNOUNCE_WEATHER_HOURS will announce the weather multiple times within the hour. The array should perhaps use strings for full time e.g. [ "00:00", "06:00", "12:00", "18:00"]

    This should be enough to make it so that weather forecasts are announced only once within the intervals.

    bug 
    opened by rlueder 0
  • add any other useful notifications to announcements

    add any other useful notifications to announcements

    What if Spotify becomes a platform for voice-based notifications?

    • news (see #4 )
    • announce incoming emails every few mins
    • text messages
    • smart home updates (e.g. "someone is at the front door")
    enhancement 
    opened by rlueder 0
  • while announcements are playing user can still play music in the background

    while announcements are playing user can still play music in the background

    Possible solutions:

    • add announcements audio to playback queue so that clicking player controls doesn't overlap audio
    • disable playback controls while announcement is playing
    bug 
    opened by rlueder 0
Owner
Rafael Lüder
Bringing ideas to reality through technology and design at frog; previously Gogo, Walgreens (Chicago), Cognizant (London) and Dell (Brazil).
Rafael Lüder
It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with buttons. It can play youtube songs, playlists. This bot code was made by Supreme#2401. It uses djs V12

Lofi-Radio-Music-Bot It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with butt

Diwas Atreya 89 Jan 2, 2023
update your twitter banner with the song you're currently playing on Spotify

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Dunsin 4 Oct 17, 2022
▶️ Streams a list of tracks from Youtube, Soundcloud, Vimeo...

PlayemJS PlayemJS is a front-end JavaScript component that manages a audio/video track queue and plays those tracks sequentially. It can currently pla

Adrien Joly 90 Nov 27, 2022
A simple package to download music tracks from spotify 🎵

A simple package to download music tracks from spotify ??

Alen Yohannan 26 Dec 25, 2022
Radio player for audio tracks in a tezos wallet.

Hicathon 2021 | WG7 7.2 - Galleries and collections Minimal galleries for exhibitions The Team: Name Role Discord Username Twitter Username Wallet Tea

Sean Cooper 23 Jul 11, 2022
tauOS 17 Jul 10, 2022
A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff.

Suggestions A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff. St

Suggestions 4 Dec 24, 2022
Adds links to Discogs pages from various sites. Auto search for music on torrent and other sites. Does multi auto-search on Artist/Discography pages. Auto search local HDDs/filelists using Voidtools Everything search engine.

Discogs Scout: Adds links to Discogs pages from various sites. Auto search for music on torrent and other sites. Does multi auto-search on Artist/Disc

null 27 Dec 27, 2022
Real-time motion planner and autonomous vehicle simulator in the browser, built with WebGL and Three.js.

Dash Self-Driving Car Simulator Real-time motion planner and autonomous vehicle simulator in the browser, built with WebGL and Three.js. This project

Matt Bradley 209 Dec 3, 2022
Library to calculate a Mean Opinion Score (MOS) from 1 to 5 for audio and video real time communications

RTC SCORE Library to calculate a Mean Opinion Score (MOS) from 1 to 5 for audio and video real time communications. The first version of the algorithm

Gustavo Garcia 25 Nov 27, 2022