From ec6ecdbb73ff4c630015f46fd53597fa96f4ae43 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 1 Mar 2023 06:41:24 +0000 Subject: [PATCH] lib/RadioMetadata.js: update item info, add orig for bigprincess, add humr --- lib/RadioMetadata.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/RadioMetadata.js b/lib/RadioMetadata.js index 364f380..e783d21 100644 --- a/lib/RadioMetadata.js +++ b/lib/RadioMetadata.js @@ -140,6 +140,13 @@ RadioMetadata.createBooruSoyURI = id => `x-bs://${id}` */ RadioMetadata.createAppleMusicURI = (track_id, album_id) => `x-am://${track_id}${album_id ? '/' + album_id : ''}` +/** + * @public + * @params {number} match_id + * @returns {RadioMetadata} + */ +RadioMetadata.createShazamURI = match_id => `x-sz://${match_id}` + /** * @public * @params {string} id