Jump to content
redvers76

How to differentiate between 3 Playstation 4s

Recommended Posts

redvers76

We have 3x PS4s in the house and I want each one to map to a different user in Emby when connecting via DLNA.

 

I created 3x profiles copied from the PS4 profile, and amended them based on the Friendly Name (the names the consoles use on the network) but all three still map to the first profile.

 

Using the debug logs I have been able to get the three different device IDs but no matter which of the identification criteria I put it in, it doesn't seem to work.

 

I also tried adding an entry under HTTP Headers but couldn't get anything to work there, either.

 

Any thoughts on how I get this to work?

 

Share this post


Link to post
Share on other sites
Luke

Hi, what about serial number?

Share this post


Link to post
Share on other sites
redvers76

Hi, what about serial number?

Tried that ... although just with the device ID pasted in; does it need anything to turn it into a matching expression eg *deviceidlotsofchars* ?

Share this post


Link to post
Share on other sites
Luke

It might, it really just depends on what the device is sending.

Share this post


Link to post
Share on other sites
redvers76
Posted (edited)

I gave it a go, sadly no luck. Trying again today, using the PS4Pro in the lounge (easier to play around with), and even with the asterisk around the device ID in the serial number field, it doesn't match it.

 

[edit for clarification: have tried both with and without the asterisk, same result both times]

 

Attached are the profiles for the LoungePS4 which is should be picking up, and the BensPS4 which it is inadvertently picking up.

 

Also attached is the relevant bit from the logs file... IP address are 192.168.0.10 for Emby, .51 for my laptop used to configure the server, and .20 for LoungePS4.

 

All the devices have static IP addresses, so if I could use the incoming IP address to determine the profile, it would be even easier :D

BensPS4.xml

LoungePS4.xml

embyserver.txt

Edited by redvers76

Share this post


Link to post
Share on other sites
redvers76

Bump...

Share this post


Link to post
Share on other sites
Luke

Did you try using the exact serial number rather than a regex? Also you've provided Identification for the Play To feature, meaning remote control from an Emby app.

 

When browsing from the PS4 directly, you'll need to use http headers, so you'll need something in there that can uniquely identify them.

Share this post


Link to post
Share on other sites
redvers76

Assuming by serial number you mean the device ID presented to Emby, then yes I used just the device id. That didn't work.

 

When I have three identical PS4s that are differentiated by their IP address, device name & serial number, I am not sure there is anything in the HTTP headers that I can see in the logs that can be used to differentiate between them...

 

It isn't clear that the Identification section I've filled out relates to "DLNA Play To" rather than "Determine which DLNA profile to use" ... so where specifically within the profile should I be putting the "Which profile to use?" identification tags?

Share this post


Link to post
Share on other sites
Luke

Ideally you should specify both. If the http headers are always the same then this might not be possible right now. I suppose we'd have to provide a way to match based on ip address.

Share this post


Link to post
Share on other sites
redvers76

Ideally you should specify both. If the http headers are always the same then this might not be possible right now. I suppose we'd have to provide a way to match based on ip address.

That's how it works with Serviio, which I have moved over from. I'm not too fussed about the lack of a proper PS4 app as long as I can control who has access to which media :D 

Share this post


Link to post
Share on other sites
Luke

Thanks for the feedback. Yes it's something that can be added.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...