Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/golgote/applescript-listenbrainz
An Applescript service to post Apple Music tunes I like to Listenbrainz
https://github.com/golgote/applescript-listenbrainz
apple-music applescript listenbrainz
Last synced: about 20 hours ago
JSON representation
An Applescript service to post Apple Music tunes I like to Listenbrainz
- Host: GitHub
- URL: https://github.com/golgote/applescript-listenbrainz
- Owner: golgote
- License: mit
- Created: 2020-08-01T10:59:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-01T11:25:03.000Z (over 4 years ago)
- Last Synced: 2024-10-11T11:32:43.208Z (4 months ago)
- Topics: apple-music, applescript, listenbrainz
- Language: AppleScript
- Homepage:
- Size: 7.81 KB
- Stars: 6
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# applescript-listenbrainz
An Applescript service to post Apple Music tunes I like to Listenbrainz## what it does
This action marks the current track as _loved_ and add it to your library. Then it sends its title/artist to Listenbrainz using their API.
## how to install
You can learn how to create a Service here: https://apple.stackexchange.com/questions/100642/how-to-make-an-existing-applescript-file-to-work-as-a-service (follow steps 1-3 to get started)
- Open the Automator app
- Create an Action
- Set it to **No input**, **Any application**
- Add a workflow **Run applescript**
- Paste the code from the listenbrainz.applescript file there
- Change your library name
+ in English, the library is called "Library"
+ in other languages, it gets a different name, for example in French it's called "Bibliothèque"
- Set your Listenbrainz user token directly in the code
- Save all as an Action (give it a meaningful name)Now you should see the Action in the Services menu in any application menu.
## thanks
To encode json, this script uses https://github.com/mgax/applescript-json
It might actually be easier to use Javascript now...