WordPress / openverse

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
https://openverse.org
MIT License
246 stars 197 forks source link

Searching Soundcloud for free audio #5048

Open prototyperspective opened 2 days ago

prototyperspective commented 2 days ago

Problem

Not many sources are searched when searching for audio files.

Description

Soundcloud can be searched nicely with a CCBY-license filter.

It would also be nice if it could show plausibly freely-licensed YouTube videos of music and other sources listed here but that would be separate issues.

Alternatives

Additional context

Soundcloud.com may be the most useful source for free music (when considering the quality) so it would be useful if it was added since music is a main type of audio and audio files are one of the media-types this search engine can search.

obulat commented 2 days ago

Thank you for opening the issue, @prototyperspective!

For audio, we only add the providers that have a direct playable link. Previous research note that SoundCloud does not provide such a link. It seems that there is a link now, however, the API does not allow for filtering by license, which is essential for being included into Openverse (we can only add openly-licensed media with clear license indication).

On the other hand, you can still search SoundCloud using the external search form. To do that, select "Audio" on the homepage, enter your search term, and then, on the result page, click on "Not finding what you are looking for? Search in external sources" button, and then select "SoundCloud". This will redirect you to the SoundCloud search page.

prototyperspective commented 2 days ago

Thanks for the info and adding the labels. Soundcloud files can be embedded so I think the solution here would be to embed these soundcloud tracks after they have been found with their search API. While embedding content from other websites like that is not ideal one could simply have a config or prompt to also show embedded parts from other websites. Since these tracks are CCBY one could have yt-dlp download the track locally to the browser cache to play it from there.