# Scrobbling Apple Music songs to ListenBrainz via Shortcut

**URL:** <https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459>\
**Category:** ListenBrainz\
**Tags:** listens, scrobble, submission, listenbrainz\
**Created:** [November 23, 2023, 6:34pm UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459 "2023-11-23T18:34:16Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshaaatt](https://community.metabrainz.org/user_avatar/community.metabrainz.org/akshaaatt/32/78047_2.png) [@akshaaatt](https://community.metabrainz.org/u/akshaaatt)\
**Post date:** [November 23, 2023, 6:34pm UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/1 "2023-11-23T18:34:16Z")

</div>

Greeting, Everyone!

I am happy to share an iOS shortcut I made which you could use on your iPhone while listening to the Apple Music app to submit listens to the ListenBrainz server. [https://www.icloud.com/shortcuts/a4c9d4a4866743c5af4af51e808dd30d](https://www.icloud.com/shortcuts/a4c9d4a4866743c5af4af51e808dd30d)

[![](https://i.postimg.cc/FRBfw886/ezgif-com-video-to-gif.gif) ](https://i.postimg.cc/FRBfw886/ezgif-com-video-to-gif.gif)

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.

 ![IMG_2289](https://community.metabrainz.org/uploads/default/original/3X/1/6/1625afcd06ef87267be10fc0877f1a603af2413a.jpeg)

Let me know if you have any questions or need any help!

---

<div class="post-metadata">

**Author:** ![sanojjonas](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/e9c0ed/32.png) [@sanojjonas](https://community.metabrainz.org/u/sanojjonas)\
**Post date:** [August 20, 2024, 4:21pm UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/2 "2024-08-20T16:21:35Z")

</div>

doo you also have a solution to run this shortcut automatically when the song changes?

---

<div class="post-metadata">

**Author:** ![akshaaatt](https://community.metabrainz.org/user_avatar/community.metabrainz.org/akshaaatt/32/78047_2.png) [@akshaaatt](https://community.metabrainz.org/u/akshaaatt)\
**Post date:** [August 21, 2024, 3:21am UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/3 "2024-08-21T03:21:24Z")

</div>

Not right now since this is a manual step unfortunately. We are exploring if the ListenBrainz iOS app could submit automatically though.

---

<div class="post-metadata">

**Author:** ![sanojjonas](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/e9c0ed/32.png) [@sanojjonas](https://community.metabrainz.org/u/sanojjonas)\
**Post date:** [August 21, 2024, 6:14am UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/4 "2024-08-21T06:14:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![akshaaatt](https://community.metabrainz.org/user_avatar/community.metabrainz.org/akshaaatt/32/78047_2.png) [@akshaaatt](https://community.metabrainz.org/u/akshaaatt)\
**Post date:** [August 24, 2024, 2:06pm UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/5 "2024-08-24T14:06:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sanojjonas](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/e9c0ed/32.png) [@sanojjonas](https://community.metabrainz.org/u/sanojjonas)\
**Post date:** [August 24, 2024, 2:19pm UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/6 "2024-08-24T14:19:01Z")

</div>

i tried adding the repeat, but then it just track the same song

---

<div class="post-metadata">

**Author:** ![riwood](https://community.metabrainz.org/user_avatar/community.metabrainz.org/riwood/32/67998_2.png) [@riwood](https://community.metabrainz.org/u/riwood)\
**Post date:** [September 14, 2024, 3:03pm UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/7 "2024-09-14T15:03:27Z")

</div>

It’s still working well. I set the “side button” on my iphone to run the shortcut.

---

<div class="post-metadata">

**Author:** ![akshaaatt](https://community.metabrainz.org/user_avatar/community.metabrainz.org/akshaaatt/32/78047_2.png) [@akshaaatt](https://community.metabrainz.org/u/akshaaatt)\
**Post date:** [September 16, 2024, 1:37pm UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/8 "2024-09-16T13:37:52Z")

</div>

Love that, sounds awesome! 💯 💕

---

<div class="post-metadata">

**Author:** ![Moneywise4450](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@Moneywise4450](https://community.metabrainz.org/u/Moneywise4450)\
**Post date:** [February 10, 2026, 5:23am UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/9 "2026-02-10T05:23:01Z")

</div>

Believe that the API used to check the time stopped working (was discontinued) and now this no longer works

---

<div class="post-metadata">

**Author:** ![riwood](https://community.metabrainz.org/user_avatar/community.metabrainz.org/riwood/32/67998_2.png) [@riwood](https://community.metabrainz.org/u/riwood)\
**Post date:** [February 11, 2026, 12:34am UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/10 "2026-02-11T00:34:35Z")

</div>

Agreed. I switched to the app “Jewelcase”, which works beautifully.

---

<div class="post-metadata">

**Author:** ![swrwr](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/ea666f/32.png) [@swrwr](https://community.metabrainz.org/u/swrwr)\
**Post date:** [March 15, 2026, 10:30pm UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/11 "2026-03-15T22:30:09Z")

</div>

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.

> **[Shortcuts](https://www.icloud.com/shortcuts/2b66a57c5ba0465d949b5896918ed612)**

Remember to add your token after `Token` in the Authorization field

---

<div class="post-metadata">

**Author:** ![mlun4x](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/m/b38774/32.png) [@mlun4x](https://community.metabrainz.org/u/mlun4x)\
**Post date:** [March 28, 2026, 8:30pm UTC](https://community.metabrainz.org/t/scrobbling-apple-music-songs-to-listenbrainz-via-shortcut/666459/12 "2026-03-28T20:30:49Z")

</div>

After run shortcut this sent to lb data and now I cannot open ‘dashboard’ page 🤔

after some times it can be accessed
