best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
api/istream: remove icy-metadata header if sent by client
jj6f0a8196ff15
diff --git a/api/src/stream/internal.js b/api/src/stream/internal.jsindex 751ecfa6..7d8bf4c9 100644--- a/api/src/stream/internal.js+++ b/api/src/stream/internal.js@@ -123,6 +123,10 @@ async function handleGenericStream(streamInfo, res) {}export function internalStream(streamInfo, res) {+ if (streamInfo.headers) {+ streamInfo.headers.delete('icy-metadata');+ }+if (streamInfo.service === 'youtube' && !streamInfo.isHLS) {return handleYoutubeStream(streamInfo, res);}