kodi-pvr / pvr.stalker

A PVR Client that connects Kodi to Stalker Middleware
GNU General Public License v2.0
41 stars 64 forks source link

server refuses addon stb_type/ver #192

Open kotc opened 1 year ago

kotc commented 1 year ago

as in title, if i only put hostname or ip as a server address it tries to connect, but obviously fails on redirect. i see it in apache/nginx logs. but my portal is at custom path, for example http://someip/custom_path/c/, if i try to put the path as a server address it doesnt even try to connect (no entries in apache/nginx logs).

version: 19.0.3.1

phunkyfish commented 1 year ago

Please add a full Debug log

kotc commented 1 year ago

how can i get it?

kotc commented 1 year ago

nvm, server entry is parsed ok, but the problem is bad stb_type/ver sent, is it possible to modify it or it's unsupported?

kotc commented 1 year ago

for other people to save them from googling: you can ssh onto your kodi box and check location depending on the distro: https://kodi.wiki/view/Log_file in my case libreelec: tail -f /storage/.kodi/temp/kodi.log |grep -i stalker

phunkyfish commented 1 year ago

nvm, server entry is parsed ok, but the problem is bad stb_type/ver sent, is it possible to modify it or it's unsupported?

Why is it bad? Or does the add-on only support certain versions?

kotc commented 1 year ago

bad because server doesnt allow 'mag250' and probably 'old' firmware version that is sent

kotc commented 1 year ago

2022-09-24 14:57:44.410 T:3308 ERROR : AddOnLog: pvr.stalker: GetProfile: status=1 | msg=Old firmware, missing metrics or hash | block_msg=Your device is not supported.

phunkyfish commented 1 year ago

So you need to upgrade the firmware on your device?

kotc commented 1 year ago

no, i plan to recompile addon to send proper version string (from mag254) and model type, so the server doesnt act up unnecessarily

phunkyfish commented 1 year ago

If you get it working please PR the change here so other users can benefit from it.