Show time-synced lyric with BTT!
Project description
Synced Lyric on TouchBar
Show synced lyric in the touch-bar with BetterTouchTool and NetEase APIs. Based on the idea of Kashi.
Features
- Netease music web apis for synced lyrics;
- cachier to cache function calls and reduce the need to call webapis;
- Apple script for Spotify & Music background track information;
- Support for English/Chinese;
Note: I am using Catalina, so 'iTunes' in previous macOS is now 'Music'. You can change the 'Music' back to 'iTunes'.
Instruction
1. Denpendencies
It is advised to set up a new python environment with 3.6+.
pip install requests osascript bs4 cachier hanziconv pinyin
2. Configuration in BetterTouchTool
Same as Kashi:
- Copy&paste the content in
lyric.json
in Meun Bar > Touch Bar; - Change the launch path to your python path;
Preview
Note: In case there is no synced lyric, each sentence will be displayed at an evenly time interval.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for touchbar_lyric-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49941aa5774377b611d35b68ff7e508c77f82eb515a2dad97f43253f8b1ca302 |
|
MD5 | 3a3d30b63b2354f25b18ad89457ddb26 |
|
BLAKE2b-256 | 9c67e161f456e4e31c426075204f5f2614c65bf2d03683ed6aa8e384f5152055 |