xbmc/xbmc — pull request #1017 by Giftie (2012-05-26 17:09:39+00:00)
Title: Provide skins access to the Database/Library ID's for Audio/Video 

This PR add the following ListItems:

ListItem.DBID
ListItem.ArtistID
ListItem.AlbumID

ListItem.DBID provides the Database ID for Video files and Songs.
ListItem.ArtistID provides the Database ID for the music Artist
ListItem.AlbumD provides the Database ID for the Album

There is one problem I have not yet figured out how to fix. At the moment the Music ID's only seem to be available when accessing from the song info, if accessed from Album or Artist, the ID's are returned as '-1'(cleared).