Feature #2085
Add JS function to get PS3 ID / MAC address
Status: | Fixed | Start date: | 03/29/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | Plugins | |||
Target version: | 4.6 |
Description
I need a API to get the ps3 Id or Mac address, it used to identify the user, so I can store some info as, play history, user Id on server side. But now, there is not any way to identify the ps3 or user. Will this feature be supported?
Associated revisions
js: Add showtime.deviceId property
Fixes #2085
History
#1
Updated by Andreas Smas about 9 years ago
Some kind of machine id would be useful. I agree with that.
#2
Updated by Leonid Protasov almost 9 years ago
- Subject changed from i need a api to the ps3 Id or Mac address to Add JS function to get PS3 ID / MAC address
#3
Updated by Andreas Smas almost 9 years ago
- Target version set to 4.6
#4
Updated by Andreas Smas almost 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset git|03ab62eeb2ff5329e99a46015a96210540791c6a.
#5
Updated by Andreas Smas almost 9 years ago
Ok, the showtime property now have something called a deviceId which should be unique for every device (it's a hash based on various things)
showtime.print(showtime.deviceId);
Remember that your plugin must check for version 4.5.369 before depending on this property (either by a hard dependency in the plugin.json file or you could check that in runtime, like this:
if (showtime.currentVersionInt >= 40500369) { showtime.print(showtime.deviceId); }