{ "info": { "author": "Chenghao", "author_email": "mouchenghao@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python :: 3" ], "description": "

Synced Lyric on TouchBar

\n

\n\n[![Build Status](https://travis-ci.com/ChenghaoMou/touchbar-lyric.svg?branch=master)](https://travis-ci.com/ChenghaoMou/touchbar-lyric)\n\nShow synced lyric in the touch-bar with BetterTouchTool and NetEase APIs. Based on the idea of [Kashi](https://community.folivora.ai/t/kashi-show-current-song-lyrics-on-touch-bar-spotify-itunes-youtube/6301).\n\n## Features\n\n1. Netease music web apis for **synced lyrics**;\n2. cachier to **cache** function calls and reduce the need to call webapis;\n3. Apple script for Spotify & iTunes/Music background track information;\n4. Support for **English/Chinese**;\n\n## Instruction\n\n### 1. Denpendencies\n\nFirst check your python version, which should be 3.6+. All commands should be executed in your terminal.\n\n```shell\npython3 --version\n```\n\n#### pip\n\n```shell\ncurl https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n```\n\n```Shell\npython3 get-pip.py\n```\n\nYou might want to restart your terminal.\n\n```shell\npip3 install touchbar_lyric\n```\n\n### Python Path\n\nTake a note for the python3 path. We will refer it as `${PYTHONPATH}`\n\n```shell\nwhereis python3\n```\n\n### 2. Configuration in BetterTouchTool\n\nSame as Kashi:\n\n1. Copy&paste the content in `lyric.json` in _Meun Bar > Touch Bar_;\n2. Change the python path `/Users/chenghaomou/Anaconda/bin/python` to your own python path in the script area;\n3. Optional: You can use pubproxy api to remedy netease's anti-crawler mechanism.\n\n```shell\n${PYTHONPATH} -m touchbar_lyric --api ${PUBPROXY_API}\n```\n\nWhere `--api ${PUBPROXY_API}` is optional.\n\n## Preview\n\n![Preview](./preview1.png)\n![Preview](./preview2.png)\n\nNote: In case there is no synced lyric, each sentence will be displayed at an evenly time interval.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ChenghaoMou/touchbar-lyric", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "touchbar-lyric", "package_url": "https://pypi.org/project/touchbar-lyric/", "platform": "", "project_url": "https://pypi.org/project/touchbar-lyric/", "project_urls": { "Homepage": "https://github.com/ChenghaoMou/touchbar-lyric" }, "release_url": "https://pypi.org/project/touchbar-lyric/0.1.9/", "requires_dist": null, "requires_python": ">3.6.0", "summary": "Show time-synced lyric with BTT!", "version": "0.1.9" }, "last_serial": 5869621, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a186367c3bf614c0a0b35a7161e337c8", "sha256": "bd4c8e052dccbeac655ab1150d6851a2cef99a43dd7d20a208283ea936519d20" }, "downloads": -1, "filename": "touchbar_lyric-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a186367c3bf614c0a0b35a7161e337c8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6153, "upload_time": "2019-08-27T01:58:45", "url": "https://files.pythonhosted.org/packages/7a/bc/fa80b1c85378092a9ee1af88634c8fb0714b3345344ab11ebd26209fee54/touchbar_lyric-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f98f48843e051cc2da7a8f9a9a133b2a", "sha256": "19c0f80d503418cce6eb3997ba8acd05aa2e25573ccf37a2633387041e67e46e" }, "downloads": -1, "filename": "touchbar-lyric-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f98f48843e051cc2da7a8f9a9a133b2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4672, "upload_time": "2019-08-27T01:58:47", "url": "https://files.pythonhosted.org/packages/89/45/0bd05c73dec1203da8b990f173688f4c87bac90be9a6e3526fdf671a75cf/touchbar-lyric-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "3a3d30b63b2354f25b18ad89457ddb26", "sha256": "49941aa5774377b611d35b68ff7e508c77f82eb515a2dad97f43253f8b1ca302" }, "downloads": -1, "filename": "touchbar_lyric-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3a3d30b63b2354f25b18ad89457ddb26", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6190, "upload_time": "2019-08-27T02:04:41", "url": "https://files.pythonhosted.org/packages/9c/67/e161f456e4e31c426075204f5f2614c65bf2d03683ed6aa8e384f5152055/touchbar_lyric-0.0.2-py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "54a286d6172df7af2e7ff83dd82a4441", "sha256": "1904bfe7be93c106f6fb2ccab12c9720117d44278c2dacad7a03f245717dc366" }, "downloads": -1, "filename": "touchbar_lyric-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "54a286d6172df7af2e7ff83dd82a4441", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6186, "upload_time": "2019-08-27T02:05:49", "url": "https://files.pythonhosted.org/packages/1f/d7/f973c158707aecd78cd730d35119c29423bcfa19523f95b5657116f000b8/touchbar_lyric-0.0.3-py3-none-any.whl" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "4735029d9f7c6c499b8832bc43ad7e2b", "sha256": "d691aecc5b7974d8c8ecb6ed94e65f8c6d5abe5a30cb9711e3a72fc2c6e912e3" }, "downloads": -1, "filename": "touchbar_lyric-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "4735029d9f7c6c499b8832bc43ad7e2b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.7.0", "size": 6194, "upload_time": "2019-08-27T02:56:40", "url": "https://files.pythonhosted.org/packages/a1/2c/9463cb84c25619031b83d138c102022cd9f24d641d4c943ce1ab589b242d/touchbar_lyric-0.0.4-py3-none-any.whl" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "f13102f9dd87d3aee57e159cf9d4334f", "sha256": "2bf160e07973e0923f9207614979e78a8d3507b33382fd47769fd0bbe2a76bb2" }, "downloads": -1, "filename": "touchbar-lyric-0.0.5.tar.gz", "has_sig": false, "md5_digest": "f13102f9dd87d3aee57e159cf9d4334f", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 4772, "upload_time": "2019-08-27T03:30:36", "url": "https://files.pythonhosted.org/packages/87/64/4adf41525539560ca22c6e2177c5cf13ca2ff3275bb6189f7838a56a740f/touchbar-lyric-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "f5eb77056ec8147d42dca7dc493bafdf", "sha256": "6d40a98f6e304870366fd65c4deedef872c4a4a11d1c9c26dab5a1580aa30555" }, "downloads": -1, "filename": "touchbar-lyric-0.0.6.tar.gz", "has_sig": false, "md5_digest": "f5eb77056ec8147d42dca7dc493bafdf", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 4772, "upload_time": "2019-08-27T03:39:15", "url": "https://files.pythonhosted.org/packages/fd/38/06967f3081ec8cb81a281e47911efebf9ef52b5541e585f59f1942642fe6/touchbar-lyric-0.0.6.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "26d62f7c0f3630de31f3784c453b3333", "sha256": "0031588a55c8cc8597aebf5766dd9892cf032f214fc0819eeccd1c6c5b58f8da" }, "downloads": -1, "filename": "touchbar-lyric-0.0.8.tar.gz", "has_sig": false, "md5_digest": "26d62f7c0f3630de31f3784c453b3333", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 4818, "upload_time": "2019-08-27T03:51:09", "url": "https://files.pythonhosted.org/packages/3f/bd/ee2912796752a03a233c86a800ebc3c432f1749c3f7bdbe5a70082ab46e8/touchbar-lyric-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "ec08fb7d9b250bd41f7f8c2afe95bc7f", "sha256": "34a47c8ab9ae6372eabd19744bfb107a98194e743ef01f7fc266aeba32587668" }, "downloads": -1, "filename": "touchbar-lyric-0.0.9.tar.gz", "has_sig": false, "md5_digest": "ec08fb7d9b250bd41f7f8c2afe95bc7f", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 4817, "upload_time": "2019-08-27T15:32:40", "url": "https://files.pythonhosted.org/packages/67/cb/382942cd6abba108ac73a793911e4dc9f4d8a32d9aaa21c1cfe61362d7c5/touchbar-lyric-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "a50adc5205851cba2a15c16190136416", "sha256": "84f90e48724daa6f1aae890095ec3399d38674e037f57df037a3a1dedff04d6a" }, "downloads": -1, "filename": "touchbar-lyric-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a50adc5205851cba2a15c16190136416", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5133, "upload_time": "2019-08-27T16:48:06", "url": "https://files.pythonhosted.org/packages/48/d9/e692d5add1bfb33a976708ebbff1c7726884d73a8295c27d5902d1c10cc6/touchbar-lyric-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0f4ad71fba358b22584de5047a3d7d3b", "sha256": "482498e4b376e1406e3c3e690ed30a5abaa457f0aa4cf62b1e89395d59df48b6" }, "downloads": -1, "filename": "touchbar-lyric-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0f4ad71fba358b22584de5047a3d7d3b", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5156, "upload_time": "2019-08-27T17:20:49", "url": "https://files.pythonhosted.org/packages/7f/c7/0ca73b43394e289ebe07adfbd5c67328dfa4b6912773b68e9e243392f1fd/touchbar-lyric-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "a8b991ddd6077f6dec8d71c36b5914a4", "sha256": "49b1d35bb42562a0489aedbadd660567e44480f1c7856cc8021950b858209ef1" }, "downloads": -1, "filename": "touchbar-lyric-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a8b991ddd6077f6dec8d71c36b5914a4", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5153, "upload_time": "2019-08-27T17:27:39", "url": "https://files.pythonhosted.org/packages/17/8c/c99934717dbf1e67096c534e46041f3b8f9d4a3b763d4ad3f7c155c04155/touchbar-lyric-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5b55287db9df26708b8f9d30b7bc0677", "sha256": "206e86556d4188544835371a615a57108a14506e9ee7c6bfc05ea98c4bffd125" }, "downloads": -1, "filename": "touchbar-lyric-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5b55287db9df26708b8f9d30b7bc0677", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5182, "upload_time": "2019-08-28T04:04:31", "url": "https://files.pythonhosted.org/packages/00/f5/30aa40a8e753b3b9115fa1cb5a4487b978e361f87ee648f18c4341d93a02/touchbar-lyric-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "a58d694d185139510ab9a3f1a6017caa", "sha256": "77d9e0fbc7c8b5338046f6a1c23215596a4e5f36cca6a181b5e5ec78f0aedfa6" }, "downloads": -1, "filename": "touchbar-lyric-0.1.4.tar.gz", "has_sig": false, "md5_digest": "a58d694d185139510ab9a3f1a6017caa", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5373, "upload_time": "2019-09-05T21:09:08", "url": "https://files.pythonhosted.org/packages/fd/4e/18b601f161a5985edeb4b9a970367632068bff97280d25aed362ef11f145/touchbar-lyric-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "805e0aa577b7d1c770864aca85d0660e", "sha256": "a7b9e153faecc3b6e649fac80c620eaf27bff03bcf35fdf90e0d4f31f15e7a52" }, "downloads": -1, "filename": "touchbar-lyric-0.1.5.tar.gz", "has_sig": false, "md5_digest": "805e0aa577b7d1c770864aca85d0660e", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5389, "upload_time": "2019-09-22T16:08:33", "url": "https://files.pythonhosted.org/packages/c5/be/1bc3bd420d1fa39d76075d354f983d1cb076f8ef8d47905f31f61d82bbdb/touchbar-lyric-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "08fd4f1079572d8252bd948939cebbf9", "sha256": "8767056ef555b96c43d8b158d25a29072f03351e00058022513c65e327cdae9a" }, "downloads": -1, "filename": "touchbar-lyric-0.1.6.tar.gz", "has_sig": false, "md5_digest": "08fd4f1079572d8252bd948939cebbf9", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5437, "upload_time": "2019-09-22T16:12:24", "url": "https://files.pythonhosted.org/packages/aa/9a/9805ae186166c06e23fd81645cd6caf038c88ae18345ecf9b4b4762ffa9e/touchbar-lyric-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "8d614f2727f1dd8e663aea68fc527e93", "sha256": "e5da35dc04fa17de1f4c1b49f8ed3c8db588a0c224b0eb88d70fc8f2628a530e" }, "downloads": -1, "filename": "touchbar-lyric-0.1.7.tar.gz", "has_sig": false, "md5_digest": "8d614f2727f1dd8e663aea68fc527e93", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5427, "upload_time": "2019-09-22T16:30:06", "url": "https://files.pythonhosted.org/packages/4d/76/e88e019167b79882674bc0134bf015d52fa2e2da456a84a1377c0665463b/touchbar-lyric-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "0f09125004a024f20397760115ff872a", "sha256": "1de4fbf069b119c505e7d5b797828c8d627c6b56ce721fa2df38a94a0c20b1fa" }, "downloads": -1, "filename": "touchbar-lyric-0.1.8.tar.gz", "has_sig": false, "md5_digest": "0f09125004a024f20397760115ff872a", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5431, "upload_time": "2019-09-22T16:35:11", "url": "https://files.pythonhosted.org/packages/c1/f9/0fcadf23d8d18912b4b2a3c046737d957f05a8b18b355e13d221549e0971/touchbar-lyric-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "8a5b6f1008c6b0691d0bf5b88317c932", "sha256": "1eb9bd5568f19f629708a98626630b43202cea75302158ef143230b2a44405b5" }, "downloads": -1, "filename": "touchbar-lyric-0.1.9.tar.gz", "has_sig": false, "md5_digest": "8a5b6f1008c6b0691d0bf5b88317c932", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5435, "upload_time": "2019-09-22T16:48:14", "url": "https://files.pythonhosted.org/packages/4f/3a/c1dff3dc2ba2d4dbad77475ea8651ee7ca0d2355a74e131e019f1854cf23/touchbar-lyric-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8a5b6f1008c6b0691d0bf5b88317c932", "sha256": "1eb9bd5568f19f629708a98626630b43202cea75302158ef143230b2a44405b5" }, "downloads": -1, "filename": "touchbar-lyric-0.1.9.tar.gz", "has_sig": false, "md5_digest": "8a5b6f1008c6b0691d0bf5b88317c932", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6.0", "size": 5435, "upload_time": "2019-09-22T16:48:14", "url": "https://files.pythonhosted.org/packages/4f/3a/c1dff3dc2ba2d4dbad77475ea8651ee7ca0d2355a74e131e019f1854cf23/touchbar-lyric-0.1.9.tar.gz" } ] }