iBroadcast
iBroadcast keeps your own music in the cloud. Trackhop reads and writes its playlists through iBroadcast’s official API (preview: built from the documentation, not yet tried on many accounts), so a playlist from Spotify, YouTube Music or a file can become an iBroadcast playlist and the other way round. Songs are matched against what you have uploaded: a song that is not in your locker is listed as not found, never faked.
Sign in (your own app, about two minutes)
iBroadcast has no key that Trackhop could ship for everyone, and a shared one would tie your account to other people’s. So each person makes a free app of their own, and signs in to it with their own account:
- Sign in at media.ibroadcast.com, open the side menu and choose Apps.
- At the bottom of that page press developer and set up a new app. Name and description are up to you.
- As the app’s redirect address enter
songport://callback(on the Docker server and in Desktop, the address the page shows when you add the service) and save. - In Trackhop open Accounts › Add connector › iBroadcast, paste the app’s client ID and press Connect. The sign-in happens on iBroadcast’s own page (OAuth 2 with PKCE): Trackhop never sees your password and needs no client secret. The access it gets is the account, library read and write.
Several iBroadcast accounts can be added; they share the one app, and each signs in with its own login.
What it does
- Read: every playlist of your library, with its songs, in order. The ones iBroadcast makes itself (thumbs up, recently played) can be read, not changed.
- Write: create a playlist, add songs (the ones already in it are not added again), remove songs, rename, reorder, delete, and switch it public or private.
- Not yet: liked songs (iBroadcast’s thumbs up), albums and artists, and star ratings.
iBroadcast has no search call, so Trackhop reads your whole library once (kept for a minute) and looks songs up in it by title and artist. A very large locker takes a moment on the first read of a run.
For developers
Every call is a POST with a JSON body naming a mode (library on library.ibroadcast.com;
createplaylist, appendplaylist, updateplaylist, playlistorder, deleteplaylist, makeplaylistpublic,
revokeplaylistpublic and status on api.ibroadcast.com), with Authorization: Bearer. The code is
IBroadcastProvider.kt; its tests use the documentation’s library sample. A build can set IBROADCAST_CLIENT_ID
as a default client ID; the official builds do not.