2024-05-29 19:54:38 +04:00
2018-05-31 06:42:11 +04:00
2018-05-31 06:36:28 +04:00
2018-05-31 06:42:11 +04:00
2018-05-31 23:14:45 +04:00
2018-05-31 07:31:15 +04:00
2024-05-29 19:54:38 +04:00
2018-05-31 08:57:53 +04:00
2018-05-31 07:10:45 +04:00
2018-05-31 04:24:26 +04:00
2018-05-31 05:24:57 +04:00
2018-05-31 07:08:50 +04:00

Notification about the current track

Pop-up notification about the currently playing music track. Uses playlists of a non-commercial radio station SomaFM. Created specially for Open Broadcaster Software.

Using

Example:

https://valentineus.link/obs-somafm-current-track/?duration=7000&interval=15000&channel=defcon

Open the view page. Be sure to set parameter channel. Parameter channel configures an alert for a specific channel. You can see the list of all channels here.

Additional, optional parameters:

  • duration - Duration of the notification. Default 10 seconds, the value is in milliseconds.
  • interval - Refresh interval for the playlist. Default 10 seconds, the value is in milliseconds.

Development

To start a local server for development, you need:

  1. Clone the source repository:
git clone "https://github.com/valentineus/obs-somafm-current-track.git"
  1. Install packages:
cd "obs-somafm-current-track" && bundle update
  1. Start the server:
bundle exec jekyll serve --host "${IP}" --port "${PORT}" --trace

Please note in the executable command uses environment variables IP and PORT.

License

MIT License

MIT. Copyright (c) Valentin Popov.

Description
Pop-up notification about the currently playing music track.
https://valentineus.github.io/obs-somafm_current_track/
Readme 91 KiB
Languages
SCSS 50.2%
HTML 33.8%
JavaScript 12.7%
Ruby 3.3%