API, SDBSongData.Artist.ID always 0?

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

Moderator: Gurus

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


Thanks in advance :)

-Steven.

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Barton, UK
Contact:

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.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

Post Reply