Hello,
I starting to dev an addon to xbmc, the objective is to limit the "per day" usage time for one profile (logged user) and when this time is reached logoof automatically.
The problem is that I need to list all the available profiles, in xbmc, to configure the times, and looking to the api I didn“t find anything useful.
Thanks in advance !
How can I list all available profiles into xbmc.
rosaldanha
Junior Member Posts: 8 Joined: Oct 2010 Reputation: 0 |
2012-06-12 20:00
Post: #1
|
| find quote |
AddonScriptorDE
Fan Posts: 310 Joined: May 2012 Reputation: 14 Location: Germany |
2012-06-19 17:07
Post: #2
Hi,
Code: os.listdir(xbmc.translatePath("special://masterprofile/profiles"))For example: ['UserOne', 'UserTwo'] cheers, asde |
| find quote |

Search
Help