Skip to content

Commit

Permalink
Problem with User-Agent #895
Browse files Browse the repository at this point in the history
  • Loading branch information
schreibfaul1 committed Nov 6, 2024
1 parent 8413d30 commit 121477b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Created on: Oct 28.2018
*
* Version 3.0.13k
* Version 3.0.13l
* Updated on: Nov 06.2024
* Author: Wolle (schreibfaul1)
*
Expand Down Expand Up @@ -570,7 +570,7 @@ bool Audio::connecttohost(const char* host, const char* user, const char* pwd) {
strcat(rqh, "Icy-MetaData:1\r\n");
strcat(rqh, "Icy-MetaData:2\r\n");
strcat(rqh, "Accept:*/*\r\n");
strcat(rqh, "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36\r\n");
strcat(rqh, "User-Agent: VLC/3.0.21 LibVLC/3.0.21\r\n");
if(authLen > 0) { strcat(rqh, "Authorization: Basic ");
strcat(rqh, authorization);
strcat(rqh, "\r\n"); }
Expand Down

0 comments on commit 121477b

Please sign in to comment.