Skip to main content

Mixcloud

Mixcloud is a platform for DJ mixes, radio shows, and podcasts.

This Source monitors the listening history of a Mixcloud user and scrobbles newly discovered listens to configured clients.

Mixes, not Tracks

Mixcloud's public API does not expose tracklists for mixes so each listen is scrobbled as a single play for the entire mix:

  • Track is the name of the mix
  • Artists are the hosts credited on the mix, or the account that uploaded the mix if there are no credited hosts
  • Duration is the full length of the mix

Setup​

There are two ways to configure this Source:

  • Username is easier and works for all free accounts.
  • Oauth works for all accounts, including Pro. You will need to use this if your listening history is private.

Only your username is required to use this method. No authentication is required.

Your Mixcloud listening history must be public (the default), which you can verify by visiting https://www.mixcloud.com/YourUsername/listens/ while logged out.

Your username is the last part of your profile URL IE https://www.mixcloud.com/MyUsername/ => MyUsername

Use this with MIXCLOUD_USERNAME ENV or username File/AIO properties in configuration below.

Configuration​

Configuration Type

This is configuration for the ENV Config Type.

Environmental VariableTypeDefaultDescription
MIXCLOUD_IDstringA globally unique ID EX myComponentId
MIXCLOUD_NAMEstringValue of MIXCLOUD_IDA vanity name EX My Cool Component
MIXCLOUD_ENABLEbooleantrueShould this component be used?
MIXCLOUD_USERNAMEstringMixcloud username whose listening history should be monitored. Only required when clientId/clientSecret are not defined.
MIXCLOUD_CLIENT_IDstringClient ID of a Mixcloud application, from https://www.mixcloud.com/developers/. When defined (with clientSecret) the source authenticates with OAuth and can monitor private (pro account) listening histories.
MIXCLOUD_CLIENT_SECRETstringClient secret of a Mixcloud application, from https://www.mixcloud.com/developers/.

Bold/Italic = Required