Channles on my Apple TV 4K seems to be freezing/pausing with buffering circle thing during the Pluto ad breaks.
Web UI playback, it stutters badly, and is like 2 fps, but eventually clears up
Not sure if that is a Pluto issue thing...
One issue with this logic I have found, if you are just cyclying each new request to the next user account, once you come around, it will terminate any active streams.
It not know account 2 is in use already, and once I tune a few channels (on another device or a recording starts) it to cycles back around to use Account 2 and terminates the the active stream.
So, if one is recording 1 thing, and then channel surfs, on the 4th tune, kills the recording stream.
Is this the way the Window.exe works too? It just cycles each account for each new request? It not know if an account still is in use?
Is that even possible for it to know when the stream is active and to lock that account until stream is closed by the user?
This is just a proxy. It does not touch the streams. All it does is send the link when it is requested. All the stream quality and such is coming from Pluto. There may be a way to add a lock, but the script does not know what device is viewing what stream. All it does is send the link to which ever device is asking for it.
I haven't seen that, just watched a BBC news recording with an ad break in the middle and didn't see any freezes etc. But that's the only new Pluto recording that I've watched.
No problem, really appreciate the quick work and like I said it's no big deal.
Got it. I Guess this was not a thing that needed to be considered before this change on Pluto's side. As one could just open as many streams as you wanted....
Now, it seems, that each "account" acts as a single "tuner" if you will, with one stream ability.
(kinda thinking of this proxy now as a physical HDHR like device with 4 tuners)
Perhaps, there is a way to add to this, connection to Channels Server via API calls (or however it works) to be able to monitor and read the status of the requested stream for each "tuner" (stream) request. Lock the account as in use/ to be skipped if any new requests come, unlocked once it reads the stream is no longer in use, and account is back in rotation que.
That's a lot more complexity to deal with..I realize.
Best to work the bugs out of what you have now first, then move on to more advanced abilities, if at all possible.
What you have gotten to so fast is a god send...it at least gets things functional enough and we can deal with the quirks/ limitations of the current state of Pluto TV integration for now.
Just, prudent to find out about such limitations now, and make users aware of them.
That's what we testers are here for 
Before the masses just add this, and go about their normal use of Channels, and then complain that their recordings or multiple family members who all are avid channel surfers etc complain about why they keep getting Tuner lost connection errors in Channels.
(I am on Night Shift work from home...so sorry if I am not able to respond here during the "normal" day hours.)
I have seen this issue with Pluto before, and it was always with Live, not a recording.
Certain adds they push, Channels just does not like to live stream for some reason.
What you've been able to do so far has been great! I really appreciate your getting this working so quickly before Pluto pulled the plug on the old way.
IMO, setting this up is just as easy as using the nocords site.
Hey, I just appreciate the help. Trying to bug track by myself is hard to do. My grandbabies are with us until late in the day so we are watching kids shows and can not change channels. Testing on a tablet or PC is frustrating. Thanks for your help.
That was my intention with it. I wanted a simple, easy to handle way to view Pluto. Thanks.
This is also a possible alternative way to do this , deal with multi-stream / tuner(account) conflict
That would basically be having the docker version with single sign in installed on different ports multiple times with each having its on user assigned to it.
Pluto for Channels updated to support more than a single stream: