Unlike Android, iOS doesn’t provide the notification access to third party apps to scrobble songs directly. This shortcut comes in handy for those looking to submit listens manually to the server and keep a track of their listening history.
We have an iOS app in the pipeline and hopefully we can add more such features to the app as we progress.
In order to use this shortcut properly, go to edit and scroll down to the section as shown in the screenshot to add your ListenBrainz token after the word Token so that you can submit listens to your account.
i was trying to loop the shortcut by waiting at the end for {duration of song} - {playtime} + 5 seconds but if it runs again it will keep the same current song info. it doesn’t get fetched again for some reason
Interesting take. Can you please try adding a Repeat action at the beginning with a large number and End Repeat at the end? Just before the ending, add a Wait action for 5-10secs
Hey, I don’t know if you other anyone else is still looking for this, but I fixed the shortcut. Instead of calling out the API get the timestamp, I am just calculating the current UNIX timestamp in the shortcut itself using that to scrobble.
Remember to add your token after Token in the Authorization field