kodi-pvr / pvr.stalker

A PVR Client that connects Kodi to Stalker Middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

server refuses addon stb_type/ver

kotc opened this issue · comments

commented

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

Please add a full Debug log

commented

how can i get it?

commented

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?

commented

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

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?

commented

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

commented

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.

So you need to upgrade the firmware on your device?

commented

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

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