XBMC Community Forum
[Source Code] Python Script - XBox Gamertag & Avatar - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Xperience More (/forumdisplay.php?fid=128)
+---- Thread: [Source Code] Python Script - XBox Gamertag & Avatar (/showthread.php?tid=106991)

Pages: 1 2 3 4 5


[Source Code] Python Script - XBox Gamertag & Avatar - Dom DXecutioner - 2011-08-05 05:14

I got the opportunity to modifying the script to work with the latest xbmc nightly. To make it easier for those of you that want to add this in your mods, i've created a sample that works as of 5 minutes ago (14:04 - 09.17.2011). I used Hitcher's foundation and changed the home.xml and added a folder labeled "extras", which is where the "xbox.gamertag.py" script is located.

VERY IMPORTANT!

This is only a SAMPLE where only the HOME.XML screen is changed, this is NOT a full skin; don't ask me for it, and if you're going to ask a question, please be detailed as I will NOT reply to dumb or short questions/statements such as; "it dont work, what do i do?", "where is the rest of the skin?" or anything remotely close.

You have a problem or a question, be detailed, use pastebin to post debug logs and i will try my best to assist.

For this to work the profile name MUST be the same as your xbox live gamertag or it will not do anything. To update the gamertag info, simply click the avatar channel.

Please look at the home.xml for other details and how the information is called.

AVAILABLE DATA

Gamer-Avatar (image)
PHP Code:
<texture>$INFO[Skin.String(XBoxLive.Gamer.Avatar)]</texture
Gamer-Picture (image)
PHP Code:
<texture>$INFO[Skin.String(XBoxLive.Gamer.Picture)]</texture
Gamer-Score (label)
PHP Code:
<label fallback="0">$INFO[Skin.String(XboxLive.Gamer.Score)]</label
Games: Recently Played Titles (label)
PHP Code:
// where x is the index of the game (0 - 4)
<label>$INFO[Skin.String(XboxLive.Gamer.RecentlyPlayed.Title(x))]</label
Games: Recently Played Available Game Score (label)
PHP Code:
// where x is the index of the game (0 - 4)
<label>$INFO[Skin.String(XboxLive.Gamer.RecentlyPlayed.AvailableGamescore(x))]</label
Games: Recently Played Earned Game Score (label)
PHP Code:
// where x is the index of the game (0 - 4)
<label>$INFO[Skin.String(XboxLive.Gamer.RecentlyPlayed.EarnedGamescore(x))]</label
Games: Recently Played Available Achievements (label)
PHP Code:
// where x is the index of the game (0 - 4)
<label>$INFO[Skin.String(XboxLive.Gamer.RecentlyPlayed.AvailableAchievements(x))]</label
Games: Recently Played Earned Achievements (label)
PHP Code:
// where x is the index of the game (0 - 4)
<label>$INFO[Skin.String(XboxLive.Gamer.RecentlyPlayed.EarnedAchievements(x))]</label
Games: Recently Played Percent Completed (label)
PHP Code:
// where x is the index of the game (0 - 4)
<label>$INFO[Skin.String(XboxLive.Gamer.RecentlyPlayed.PercentComplete(x))]</label
Games: Recently Played Game Icon (image)
PHP Code:
// where x is the index of the game (0 - 4)
<texture>$INFO[Skin.String(XboxLive.Gamer.RecentlyPlayed.Icon(x))]</texture

ToDo
- games: recently played last played
- zone (underground, etc)
- type (silver, gold)
- rep

SCREENSHOT
[Image: screenshot000x.png]

You can download the file here; extract it to your addons folder and select it from you skins/addons in xbmc.

good luck!


- binBD - 2011-08-06 02:35

.......removed


- Dom DXecutioner - 2011-08-06 06:15

removed...


- binBD - 2011-08-06 13:09

...removed


- nessus - 2011-08-08 18:45

Thanks for sharing this Dom.

Cheers
Nessus


- Dom DXecutioner - 2011-08-09 03:55

nessus Wrote:Thanks for sharing this Dom.

Cheers
Nessus

No problem...


- beachkid - 2011-08-12 07:33

is it possible to do the avatar and gamepanel on xperience


- binBD - 2011-08-12 08:44

beachkid Wrote:is it possible to do the avatar and gamepanel on xperience

that's the reason this thread was created though it would be help full if we could see the xmls used and just study upon thoseNerdNod

but what the hell were geting some info that's better than nothing but i still think it's to advanced for even me
idont know were to put them etc.but then again that's my problem


- Scrembolxp - 2011-08-12 12:02

Many many thanks Dom
Great Job!

I'll try to implement it in my mod.

Best regards

Scrembolxp.


- beachkid - 2011-08-12 15:16

i cant fiqured out a way to put the code in xperience :/