Skip to content

Commit

Permalink
stream/internal: remove icy-metadata header if sent by client
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmoron committed Dec 4, 2024
1 parent 6c39edb commit ff4b0ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/src/stream/internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit ff4b0ee

Please sign in to comment.