API, SDBSongData.Artist.ID always 0?

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

Posts: 1
Joined: Sat May 30, 2015 2:25 pm

API, SDBSongData.Artist.ID always 0?

Post by Sheepish666 » Sat May 30, 2015 2:41 pm

Hello all,

This is my first post and I am new to MediaMonkeys API so please forgive me if my question is poorly worded :)

I am having a problem with SDBSongData.Artist.ID returning 0 for all songs. SDBSongData.Artist.Name and SDBSongData.Album.ID both return the correct data. Is this a known bug or am I missing something?

MediaMonkey Version :

Thanks in advance :)


Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: API, SDBSongData.Artist.ID always 0?

Post by trixmoto » Wed Jun 03, 2015 2:54 pm

This has been discussed before... http://www.mediamonkey.com/forum/viewto ... =artist+id

The reason it returns 0 is because it would actually need to return a list of IDs, as there could be multiple artists, and the developers decided not to do this for performance reasons.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.

Post Reply