[Feature]: Add SoundCloud as a music source in MeeTune
Which app?
MeeTube (phone or tablet), MeeTune.
What would you like MeeTube to do?
Please investigate whether SoundCloud can be integrated into MeeTune in a way that SoundCloud explicitly permits.
I would like to access SoundCloud music from MeeTube, but I do not want the project to rely on undocumented endpoints, scrape streams, store content against SoundCloud's rules, or risk losing API access.
- Check policy feasibility before implementation
SoundCloud's current API Terms of Use contain restrictions that may prevent the requested full integration:
- They prohibit creating an alternative on-demand service that aggregates SoundCloud user content from multiple users, and prohibit a playback experience that combines SoundCloud content with content from other services (the terms give SoundCloud with YouTube as an example), unless the relevant use is explicitly licensed.
- They prohibit apps from caching, downloading or persistently storing User Content, except for limited session-based caching that becomes unavailable when the session ends.
- They prohibit offering offline access to SoundCloud User Content, including temporary or permanent offline audio downloads, even when an uploader has enabled downloads on the SoundCloud platform.
- SoundCloud Go-only content requires robust authentication and a separate written agreement with SoundCloud.
Because MeeTune already combines music from other sources, please obtain written confirmation from SoundCloud that this exact in-app integration is allowed before implementing an integrated SoundCloud streaming provider.
Do not assume that an API field such as "downloadable" or "download_url" overrides the API Terms of Use.
- If SoundCloud grants written approval
Only implement the capabilities that SoundCloud confirms are permitted by the written approval and current API documentation. Potential capabilities to discuss with SoundCloud include:
- Connecting and disconnecting the user's SoundCloud account.
- Browsing the user's liked tracks, liked playlists and own playlists, if the approved API scope allows it.
- Searching tracks, artists/users and playlists.
- Playing tracks that the API identifies as fully playable, using the documented streaming mechanism.
- Showing the uploader as the creator, SoundCloud as the source, and a link to the original track as required by SoundCloud attribution rules.
- Handling preview-only, blocked, private, paywalled and region-restricted tracks correctly.
Do not persist SoundCloud playlists, track metadata, artwork or audio in MeeTune's local library unless the written approval explicitly permits that storage. Do not offer SoundCloud offline playback unless SoundCloud explicitly authorizes it in writing.
- If SoundCloud does not approve the integration
Keep the feature limited to opening a SoundCloud track, artist or playlist in the official SoundCloud app or website through its original URL. Do not import, cache, mirror, stream or download SoundCloud content inside MeeTune.
- Technical requirements if an API integration is approved
- Follow the current official SoundCloud API and OpenAPI specification; avoid undocumented endpoints, scraping and deprecated authentication routes.
- The current API uses OAuth 2.1 with PKCE. User-specific resources require an authorized user flow.
- Current SoundCloud documentation says all API clients are treated as confidential and require a Client Secret for token exchange. Never embed that secret in the APK; confirm an approved server-side credential/token-exchange design before implementation.
- SoundCloud currently requires an Artist Pro subscription to register API applications and obtain credentials. Confirm that the project owner can meet this requirement before development begins.
- Access tokens expire after about one hour and refresh tokens are single-use; implement secure storage and refresh-token rotation correctly.
- Respect API rate limits and "Retry-After" responses; use backoff rather than repeated retries.
- Provide an accessible disconnect option. Use SoundCloud's documented app-token revocation flow and delete the user's SoundCloud data when they disconnect, as required by the API terms.
- Relationship to Spotify
MeeTube's current Spotify code provides Spotify Canvas and playlist import/matching into YouTube Music; it is not a native Spotify audio-streaming implementation. SoundCloud should not be treated as a straightforward equivalent. First verify that the proposed SoundCloud use is permitted for a multi-source player.
How would you use it?
I would like a convenient way to open SoundCloud tracks and playlists from MeeTune. If SoundCloud approves a deeper integration, I would also like to browse and play supported content within MeeTune while respecting the platform's restrictions.
Anything else
Official references:
- API guide and authentication: https://developers.soundcloud.com/docs
- API application registration: https://developers.soundcloud.com/docs/api/register-app
- Current OpenAPI specification: https://developers.soundcloud.com/docs/api/explorer/open-api
- API Terms of Use, especially Content and Privacy, SoundCloud Go Content, Caching and Downloading, and Attribution and Branding: https://developers.soundcloud.com/docs/api/terms-of-use
- SoundCloud help on downloads and mobile offline listening: https://help.soundcloud.com/hc/en-us/articles/115003448787-Downloading-tracks
Please treat written approval from SoundCloud as a prerequisite, not as an optional later check.