Feature #2085

Add JS function to get PS3 ID / MAC address

Added by doboto duan over 3 years ago. Updated over 3 years ago.

Status:FixedStart date:03/29/2014
Priority:NormalDue date:
Assignee:Andreas Smas% 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

Revision 03ab62ee
Added by Andreas Smas over 3 years ago

js: Add showtime.deviceId property

Fixes #2085

Change included in version 4.5.369

History

#1 Updated by Andreas Smas over 3 years ago

Some kind of machine id would be useful. I agree with that.

#2 Updated by Leonid Protasov over 3 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 over 3 years ago

  • Target version set to 4.6

#4 Updated by Andreas Smas over 3 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

#5 Updated by Andreas Smas over 3 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);
}

Also available in: Atom PDF