new install - profile assignment issues
Added by pete sabat over 9 years ago
. . . cross-posted from the kodi forum.
Just putting together a new backend, but having a strange issue.
No matter what I do, I am unable to get a streaming profile assigned to an access entry.
I have tried assigning a transcoding profile to my local net, to a 0.0.0.0/0, etc - it still falls back to htsp.
Logs don't show any failure or anything, just the client using htsp.
Any help would be appreciated . ..
Replies (5)
RE: new install - profile assignment issues - Added by pete sabat over 9 years ago
bump - any help ?
I know that transcoding is working - if I call it explicitly via VLC it works.
Its just like access entries are completely busted. The client hostnames are coming up correctly, but it refuses to use the correct profile.. .
RE: new install - profile assignment issues - Added by Prof Yaffle over 9 years ago
Random throwaway thought, but I believe the access rules are additive, i.e. the permissions are logically ANDed together based on the username/password/IP address OR matches. I think. If that's true, just check you're not matching more than one rule.
You also don't say what version of tvh you're using, which might be relevant in case something's borked in the version you have.
It should be a case of setting a rule you know you'll match and then setting the profile as needed for that rule, but I don't use it and am well into the land of guesswork now.
RE: new install - profile assignment issues - Added by pete sabat over 9 years ago
sorry - am on 4.1-361~gd9cf931
It is something to do w/ the username kodi is passing it seems. If I null it out on the client-side, the rule hits. But it seems that with the username there, its making it fail even with a wildcard on the rule.
But this DOES work on my other instance - same code level there. ??
. .or maybe I'm losing it. haha
RE: new install - profile assignment issues - Added by Prof Yaffle over 9 years ago
I think you need to grab some debugging from both ends - perhaps even trace logging to see what's going on. Unless you're on a different subnet, there's no reason why the same credentials should give different responses given that they should match the same rules... so, we'd need to find out why they're not matching.
Debug logging for Kodi is the normal System -> System -> Debugging setting, and for tvheadend it's in the webui bottom-right. Trace logging for the Kodi addon is in the addon configuration; more clumsy in tvheadend, in that I believe you need a version compiled with trace support, and then you can specify it from the command-line or from the Configuration -> Debugging screen (I think you need to trace 'access', oddly enough).
RE: new install - profile assignment issues - Added by pete sabat over 9 years ago
So just for grins, I switched the username, and low and behold - seems to work. ??
Only thing I can think is that the user was the same name as the superuser.
But nonetheless, stand down.
Thanks for your input -
Pete