kodi-pvr / pvr.hts

Kodi's Tvheadend HTSP client addon
GNU General Public License v2.0
135 stars 93 forks source link

Can't retrieve picons when password longer than 145 characters #356

Closed ggrjevous closed 3 years ago

ggrjevous commented 6 years ago

When the configured password is longer than 145 characters, Kodi won't show picons (channel icons). 22:17:16.775 T:12936 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://USERNAME:PASSWORD@serverhostname:9981/imagecache/2977 Such URL regularly works in browser, replacing USERNAME and PASSWORD accordingly. Picons are back after shortening the password to 145 characters or less. Also, a similar error is thrown whenever the configured password contains special characters, regardless of its length.

hosse commented 5 years ago

It is not the length of the password, there must not be any special characters in the password. Example: Set a password once with a slash "/" as character. Definitely an error when passing the addon or reading the password into tvheadend.

Jalle19 commented 5 years ago

This is a Kodi bug in that case

rubdos commented 5 years ago

This is a Kodi bug in that case

I suppose it's a limitation of how kodi processes the generated URLs, in that it doesn't accept basic authentication parameters separately? I have this issue too, seemingly I cannot have ''s in my password.

tudstudent commented 4 years ago

You might try this: https://github.com/kodi-pvr/pvr.hts/issues/438#issuecomment-587349041

Just found it myself for a similar issue!

ksooo commented 3 years ago

Duplicate of #386