API, SDBSongData.Artist.ID always 0?

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

Moderators: Gurus, Addon Administrators

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

API, SDBSongData.Artist.ID always 0?

Post by Sheepish666 »

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 : 4.1.5.1719


Thanks in advance :)

-Steven.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

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

Post by trixmoto »

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