erkexzcx / stalkerhek

Stalker portal proxy server that allows sharing account on multiple STB boxes and play on VLC.
GNU General Public License v3.0
82 stars 52 forks source link

error with this version, old one working fine with same yml #11

Closed zalim1 closed 3 years ago

zalim1 commented 3 years ago

~/stalkerhek# ./stalkerhek 2021/03/25 13:46:36 main.go:28: Connecting to Stalker middleware... 2021/03/25 13:46:36 main.go:30: Get "?type=stb&action=handshake&prehash=0&token=0DEF849B0E17E8D8D9060F879BBEC665&JsHttpRequest=1-xml": unsupported protocol scheme ""

erkexzcx commented 3 years ago

I've changed configuration file a bit. You should check if you have url: instead of portal_url:: https://github.com/erkexzcx/stalkerhek/blob/master/stalkerhek.example.yml#L10

erkexzcx commented 3 years ago

It's actually my fault that I forgot this check :D https://github.com/erkexzcx/stalkerhek/commit/0361be745e0db1696583f9097567c8fc4864301a

zalim1 commented 3 years ago

Fixed, working now Thanks

erkexzcx commented 3 years ago

Nice to hear. I will leave this issue opened for a week or so, so other people coming here can find the solution.

zalim1 commented 3 years ago

http://some.com:9999/iptv is this restricted to vlc only?

erkexzcx commented 3 years ago

No, not restricted. VLC is the most popular "watch it right away" player out there, this is why I am mentioning it a lot.

It's HLS playlist (also known as M3U) which can be opened with VLC and it shows channels list. :) For example, it could be opened with Kodi using "Simple IPTV" PVR addon, added in Jellyfin media center as Live TV content or addes to Movian player (I've had this player on jailbroken PS3).

erkexzcx commented 3 years ago

Note that underlaying channels, from what I've observed in all tested 4 Stalker portals, are provided in HLS format.

That URL is just HLS playlist. :)

zalim1 commented 3 years ago

can you make it wait little more for channel list

string(2) "OK" ["results"]=> bool(true) } generated in: 0.808s; query counter: 7; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; 2021/03/28 09:40:56 main.go:34: Retrieving channels list from Stalker middleware... 2021/03/28 09:41:06 main.go:37: context deadline exceeded (Client.Timeout or context cancellation while reading body)

erkexzcx commented 3 years ago

Sure. Let me check what I can do.

erkexzcx commented 3 years ago

Done. Increased from 10 seconds to 5 minutes.

zalim1 commented 3 years ago

change you made worked good. its working and back up now, thanks

zalim1 commented 3 years ago

i dont know if this is right question or not just want to ask in the link where we get %20 for space can we get _ under square example right know we get "channel%20BB" can we get "channel_BB" thanks

erkexzcx commented 3 years ago

Hi. It's not possible, because channel BB and channel_BB are 2 different channels. :)

Wondering why are you asking this? All applications show those channels perfectly fine, with space instead of %20. 🤔

zalim1 commented 3 years ago

My android phone chrome browser showing black screen, vlc playing ok Link emailed Please click on that link from Android phone chrome browser

erkexzcx commented 3 years ago

Not related to Stalkerhek because your Android's browser does not play. Please use VLC for this. I have no plans for reencoding streams or anything like that.