K4L4Uz / SFVIP-Player

Please donate if you find this project useful! Bitcoin BTC: bc1qavv7vvs294ys5vl6e5ne0t86kxvq5n04j6pmf6
32 stars 7 forks source link

App ignores http header field in playlist configuration #25

Closed enerdude closed 3 weeks ago

enerdude commented 1 month ago

Hi thanks for this great player! I was excited to see that I can put custom headers but it seems the program saves it to database.json but does not implement it in requests User agent setting works fine though. I need referer header as well as other custom headers

Any ideas?

Edit: Looks like it only affects local m3u playlists. When I upload the m3u and use the url it works correctly.

Edit2: It seems the custom header is only applied to the initial m3u url and not for the subsequent urls inside the m3u file.

edit3: It ignores the header if it is called 'Referer' but something like e.g. 'Refererr' is not ignored. Possibly add a field for referer similar to user agent and that applies to all items in a playlist if thet have no referer

K4L4Uz commented 3 weeks ago

Hi, update to v1.2.7.82.

enerdude commented 3 weeks ago

Hi, update to v1.2.7.82.

Thanks so much!