Comments (16)
I'm not really sure how to do it since the addon settings have to be static, aka. there's no communication with the backend before the addon is started. This means there's no way to retrieve the list of profiles at this point. It may be solvable using "client-specific settings", but I've never used that and I'm not even sure if it's possible to use those in a skin-independent matter.
from pvr.hts.
Furthermore, I don't really think the client should be the one deciding which streaming profile should be used. Is there really a use case where you'd want to change the profile more than once? If not then I don't see why you couldn't specify the profile to use from the web interface.
from pvr.hts.
Thanks for your answer!
My goal is to reduce the number of usernames for a single user.
I use kodi at home on my TV but also on my ipad.
On my TV I want the PASS profile and on my ipad a transcoding one...
It would be really great if I could avoid to duplicate usernames (i mean a user called "blah" and user called "transcoding-blah")
Thanks!
from pvr.hts.
You can use the same username but different passwords, or limit the TV's user to the TV's IP address. The access entries are matched from top to bottom.
from pvr.hts.
Indeed this is a possibility...
By the way I notice something very strange about that.
If I have a "user" with 2 lines.
- first line has all access enable + the htsp profile selected
- second line has nothing enable + a transcoding profile selected
It is impossible to do a http streaming...
But if I invert the lines, it is ok and the PVR HTS client takes the HTSP profile
from pvr.hts.
This is starting to be off-topic (join #hts on irc.freenode.net if you need general support) but that's probably because the first entry is only valid for HTSP, so when you try streaming over HTTP is falls back to the second entry which has no streaming permissions. You need to check "Streaming" in order to stream.
from pvr.hts.
Yes sorry .. I ll check on irc
Thanks
from pvr.hts.
@ksooo as discussed on IRC, what's your opinion on this: add a string setting to the addon where the user can enter the name of the streaming profile to use. If the profile exists, use it, otherwise don't. That way we don't need any user interface hacks.
from pvr.hts.
I think it's a very good alternative!
from pvr.hts.
Not nice, because the string can't be validated after it was entered into the settings, but in general it should work, if the idea is to pass that string as parameter to htsp subscribe method (after checking validity of the profile via htsp getProfiles method).
BTW, how is transcoding handled for playing recordings via htsp? Cannot find anything related in htsp spec.
from pvr.hts.
Perhaps we should inform the user if the runtime validation of the transcoding profile string fails. ;-)
from pvr.hts.
Hi, yes would be nice :)
Well, all mpeg-ts transcoding work with HTSP, even with hevc ones :)
from pvr.hts.
@ksooo I agree it's not ideal, but it's better than nothing and should be very easy to implement. Naturally an invalid profile would be logged as an error.
from pvr.hts.
@TheTroll but why is it an inconvenience to have multiple usernames? Setting up your ipad / tv is generally a one time process, once you've done it you won't be touching it again anytime soon, no?
Also, is this documented anywhere? AFAIK assigning the streaming profile is something the backend does, not the frontend.
from pvr.hts.
Hi,
well, if you want a user to have access to high,medium and low bitrates, depeding on its location, having 3 logins pr user is a nightmare, when you have 20 or 30 of them for instance.
TVH now allows to select multiple streaming profiles per user, add ?profile=name allows you to select it...
So it would be a great feature, at least in my view.
from pvr.hts.
having multiple usernames breaks recording partitioning so this is a great addition IMO
from pvr.hts.
Related Issues (20)
- pvr.hts segfaults - kodi 20.0-ALPHA1 (19.90.701) Git:20220701-30fb576edd HOT 8
- Too many status messages after long inactivity time HOT 3
- Kodi 19.4 (Nvidia Shield Pro) Audio Stutter and Buffering with TVHeadend Addon HOT 4
- Selecting a different video decoder HOT 2
- Kodi 20 Beta 1 & Nightlies - EPG Flush/Crash HOT 2
- Channel switch times HOT 3
- Feature request: Force software decoding for hts streams HOT 2
- Season 0 shows up as season 2 HOT 3
- Choppy audio only on bluetooth
- [issue] GUI is blocked when starting any live channel in Kodi Nexus HOT 8
- Live TV Subtitles broken on Kodi 20 HOT 1
- Cannot save settings on appletv HOT 3
- Live TV HEVC streams not playing-Ubuntu 22.04 lts Kodi Nexus HOT 22
- listitem.size doesn't update in real time HOT 1
- Channel Groups/Tags not syncing between tvheadend and Kodi HOT 1
- Feature Request: Warn when creating an overlapping recording HOT 3
- Disconnect from TVHeadend server while playing piped mpd-stream with "demux read no data for at least 10 secs" HOT 6
- [tvOS] Addon settings not saved
- Live TV HEVC streams not playing-Libreelec Intel generic HOT 6
- cstdint needs to be included in HTSPVFS.h HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pvr.hts.