horstepipe 422 Posted June 12, 2018 Posted June 12, 2018 Hey @@Angelblue05 I know you already tried to change the way deviceIDs are being created and weren't successful, but in my opinion the current situation is quite problematic: A user just has to copy the emby_guid file to another device and the Emby server admin won't be aware of how many clients are actively used by one user. I just tried it out, copied the file and my emby for kodi settings file to another kodi instance and started playback on both machines. In server dashboard I can only see one device playing back one movie. @@Luke are you able/willing to fix this behavior serverside? Best regards
Luke 42078 Posted June 12, 2018 Posted June 12, 2018 Hey @@Luke are you able/willing to fix this behavior serverside? Best regards This isn't a security breach, so I've renamed the topic. Emby Server IS aware of the login sessions as they will each have unique authentication sessions. However for remote control purposes and device management purposes, they will show as the same device in emby server. In order to correct this, the app will need to ensure that it's device ID is unique. 2
Angelblue05 4132 Posted June 12, 2018 Posted June 12, 2018 @@horstepipe I don't know what you want me to do about this scenario. Kodi doesn't provide a unique id so one is made. There's no way around it. Embycon works the same way.
horstepipe 422 Posted June 13, 2018 Author Posted June 13, 2018 (edited) Emby Server IS aware of the login sessions as they will each have unique authentication sessions. If Emby Server is aware of multiple sessions, couldn't it order the client to create a new id when it recognizes a duplicate and forbid access? Edited June 13, 2018 by horstepipe
horstepipe 422 Posted June 13, 2018 Author Posted June 13, 2018 @@horstepipe Can you think of a good way to uniquely identify a device that would be guaranteed to be unique and available on all the different devices and hardware that Kodi runs on. what about creating a hash of the mac address of the device?
horstepipe 422 Posted June 13, 2018 Author Posted June 13, 2018 I‘m pretty sure you already thought about the MAC address because it’s quite obvious, so what’s the problem about it? I know it could be spoofed, too. But this is way more complicated than just copying a file.
Angelblue05 4132 Posted June 13, 2018 Posted June 13, 2018 (edited) I‘m pretty sure you already thought about the MAC address because it’s quite obvious, so what’s the problem about it? I know it could be spoofed, too. But this is way more complicated than just copying a file. It's not available on most platforms that run Kodi. That's why I went through all this trouble to begin with. I tried Mac address. Then I tried system information but the only difference was the device name, so if you don't rename your device we end up with the same issue. This is the only way. I guess the server could throw an error back if the device id is duplicated (sorta like a unique active* check). Edited June 13, 2018 by Angelblue05 1
horstepipe 422 Posted June 13, 2018 Author Posted June 13, 2018 I guess the server could throw an error back if the device id is duplicated (sorta like a unique check). Thanks for clarification. @@Luke maybe you‘ll find the time elaborating something like that
horstepipe 422 Posted June 13, 2018 Author Posted June 13, 2018 So just for confirmation @@Angelblue05 the method used here https://github.com/asciidisco/plugin.video.netflix/blob/master/resources/lib/utils.py won't work on most platforms?
Angelblue05 4132 Posted June 13, 2018 Posted June 13, 2018 The thing is it makes it worst. If it cannot detect the mac address, it won't I tested, it generated a random mac address and there's no way to know if it's real or not. That would mean, everytime you'd boot up Kodi, it would generate a new mac address/device Id. 1
Recommended Posts