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 touchbar_lyric
2. Configuration in BetterTouchTool
Same as Kashi:
- Copy&paste the content in
lyric.json
in Meun Bar > Touch Bar; - Change the python path to your own python path in the script area;
- Optional: You can use pubproxy api to remedy netease's anti-crawler mechanism.
${PYTHONPATH} -m touchbar_lyric --api ${PUBPROXY_API}
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.1.1.tar.gz
(5.2 kB
view hashes)