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 Distribution
touchbar-lyric-0.0.1.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for touchbar_lyric-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd4c8e052dccbeac655ab1150d6851a2cef99a43dd7d20a208283ea936519d20 |
|
MD5 | a186367c3bf614c0a0b35a7161e337c8 |
|
BLAKE2b-256 | 7abcfa80b1c85378092a9ee1af88634c8fb0714b3345344ab11ebd26209fee54 |