karawin / Ka-Radio32

esp32 version of Ka-Radio (https://github.com/karawin/Ka-Radio) by jp Cocatrix
515 stars 155 forks source link

A station with a long link (with a token) is not remembered #264

Open maximius opened 2 years ago

maximius commented 2 years ago

When adding a station with a token , for example (https://pub0202.101.ru:8443/stream/pro/aac/64/176 ?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJrZXkiOiI2ZDcyMjMxOWQyYmQ1ZDA0ZWUyODQyZDFhOWZmNzFkYyIsIklQIjoiODkuMTA5LjcuMTk1IiwiVUEiOiJNb3ppbGxhXC81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXRcLzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZVwvOTkuMC40ODQ0LjUxIFNhZmFyaVwvNTM3LjM2IiwidWlkX2NoYW5uZWwiOiIxNzYiLCJ0eXBlX2NoYW5uZWwiOiJjaGFubmVsIiwidHlwZURldmljZSI6IlBDIiwiQnJvd3NlciI6IkNocm9tZSIsIkJyb3dzZXJWZXJzaW9uIjoiOTkuMC40ODQ0LjUxIiwiU3lzdGVtIjoiV2luZG93cyAxMCIsImV4cCI6MTY0Njg0NzUzN30.FKvxy--D03zphHXfCtqGi7mtSvCGCBOQwN-17L8R8P4) the entire address in the list of stations is not remembered, the address is truncated. In this regard, the radio is not played. The station does not work without a token. When starting the station through monitoring, the radio works correctly. How can I write such a long link to the list of stations?

I would also like to thank the developers and everyone involved for such a useful project.

karawin commented 2 years ago

Yes the length is limited because flashed in the esp32. But https://pub0202.101.ru:8443/stream/pro/aac/64/176 play well without token.