Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Remove Jamendo and Wikimedia Commons from audio meta sources (#747)

Olga Bulat268532a05004
diff --git a/src/components/VMetaSearch/VMetaSearchForm.vue b/src/components/VMetaSearch/VMetaSearchForm.vue
index 93f1fab9e..089f908d7 100644
--- a/src/components/VMetaSearch/VMetaSearchForm.vue
+++ b/src/components/VMetaSearch/VMetaSearchForm.vue
@@ -64,7 +64,7 @@ export default {
computed: {
unsupportedByUsefilter() {
if (this.type === AUDIO) {
- return 'CC Mixter, Jamendo, or Wikimedia Commons'
+ return 'CC Mixter'
}
if (this.type === VIDEO) return 'Wikimedia Commons or Youtube'
if (this.type === IMAGE) return 'Google Images'
diff --git a/src/utils/get-legacy-source-url.js b/src/utils/get-legacy-source-url.js
index 90a02d621..ccfca3f35 100644
--- a/src/utils/get-legacy-source-url.js
+++ b/src/utils/get-legacy-source-url.js
@@ -85,17 +85,6 @@ export const legacySourceMap = {
}
},
},
- Jamendo: {
- // https://www.jamendo.com/legal/creative-commons
- audio(search) {
- return {
- url: 'https://www.jamendo.com/search/tracks',
- query: {
- q: search.q,
- },
- }
- },
- },
'Open Clip Art Library': {
image(search) {
return {
@@ -157,16 +146,6 @@ export const legacySourceMap = {
},
},
'Wikimedia Commons': {
- audio(search) {
- return {
- url: 'https://commons.wikimedia.org/w/index.php',
- query: {
- search: `${search.q}`,
- title: 'Special:MediaSearch',
- type: 'audio',
- },
- }
- },
video(search) {
return {
url: 'https://commons.wikimedia.org/w/index.php',
diff --git a/test/e2e/content-types.spec.js b/test/e2e/content-types.spec.js
index c93d492b5..e623952c1 100644
--- a/test/e2e/content-types.spec.js
+++ b/test/e2e/content-types.spec.js
@@ -55,7 +55,7 @@ const contentTypes = [
name: 'Audio',
url: '/search/audio/?q=cat',
supported: false,
- sources: 5,
+ sources: 3,
},
]