https://github.com/gjum/chrome-playlist-notifier
when an audible chrome tab changes its title, show it via libnotify and write to file
https://github.com/gjum/chrome-playlist-notifier
chrome-extension libnotify python3
Last synced: 10 days ago
JSON representation
when an audible chrome tab changes its title, show it via libnotify and write to file
- Host: GitHub
- URL: https://github.com/gjum/chrome-playlist-notifier
- Owner: Gjum
- Created: 2016-07-30T23:51:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-01T21:54:22.000Z (almost 10 years ago)
- Last Synced: 2025-01-25T18:32:59.789Z (over 1 year ago)
- Topics: chrome-extension, libnotify, python3
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chrome Playlist Notifier
when an audible chrome tab changes its title, show it via libnotify
## Installation
1. make sure you have Python 3 and a notification daemon
1. clone the repo: `git clone https://github.com/Gjum/chrome-playlist-notifier.git && cd chrome-playlist-notifier`
1. change the default port: replace `1234` in `server.py` and `background.js`
1. start the notifier server: `python3 server.py &`
- you should run this on login, for example in `~/.xinitrc` or in your desktop environment
1. install the chrome extension:
1. open the extensions page: `chrome://extensions/`
1. enable `Developer mode`
1. select `Load unpacked extension`, choose `chrome-playlist-notifier`
## Usage
1. open a page with a playlist, for example YouTube, Soundcloud, Bandcamp, ...
1. open the context menu (right-click) and select `watch this music`
Now you will receive notifications of the page title when the page status changes.
The page title is also written to `/tmp/$USER.chrome-playlist-notifier.now-playing`.
To no longer receive notifications, open the context menu again and select `unwatch this music`.
When the tab closes, it will also be removed from the watched tabs.