Can a channel identifiy different clients?

As the title says, can a channel identify diffrent client instances, ie if two ios devices are using the channel is there somethign to identify each one uniquely?

 

You can use Client.Platform to identify the type of client used.

This is the line of the code from The Daily Show plugin on Github gives and example of using Client.Platform - https://github.com/plexinc-plugins/The-Daily-Show.bundle/blob/master/Contents/Code/__init__.py#L20. (It uses this code to keep Android clients from accessing full episodes since they cannot handle parts)

But I am not sure if that is helpful to you since it sounds like you are wanting to recognize separate instances of the same type of client platform.

Could you possibly use python coding to pull the MAC address of the devices? (But it depends on whether the Python import is compatible with Plex and whether that would pick up the MAC address of the PMS server or Plex client)

You can use Client.Platform to identify the type of client used.

This is the line of the code from The Daily Show plugin on Github gives and example of using Client.Platform - https://github.com/plexinc-plugins/The-Daily-Show.bundle/blob/master/Contents/Code/__init__.py#L20. (It uses this code to keep Android clients from accessing full episodes since they cannot handle parts)

But I am not sure if that is helpful to you since it sounds like you are wanting to recognize separate instances of the same type of client platform.

Could you possibly use python coding to pull the MAC address of the devices? (But it depends on whether the Python import is compatible with Plex and whether that would pick up the MAC address of the PMS server or Plex client)

Thanks.

I think I managed to figure it out with:


<span>clientident</span> <span>=</span> <span>Request</span><span>.</span><span>Headers</span><span>[</span><span>'X-Plex-Client-Identifier'</span><span>][</span>/code]</p>

<p>This give a unique identifer for each client - and in this can I can attach it to my live tv request and it asks for a new tuner each time.</p>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.