ISDBSongData::IsntInDB: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 3: Line 3:
===Property description===
===Property description===


Returns True if the track is not stored in the Library.
Returns False when
# Track is in the Library (SongID > 0)
# When MM does not know anything yet (SongID = -1)
Because MM has to query the database in order to set this property, setting this property to True makes MM not to do the query. This is done by device plug-ins extensively in order to avoid database queries.
Info taken from [[http://www.mediamonkey.com/forum/viewtopic.php?p=39581#39581 this post by Jiri]].


[[Category:Scripting|{{PAGENAME}}]]
[[Category:Scripting|{{PAGENAME}}]]

Revision as of 21:33, 28 January 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let IsntInDB As Boolean


Property description

Returns True if the track is not stored in the Library. Returns False when

  1. Track is in the Library (SongID > 0)
  2. When MM does not know anything yet (SongID = -1)

Because MM has to query the database in order to set this property, setting this property to True makes MM not to do the query. This is done by device plug-ins extensively in order to avoid database queries.

Info taken from [this post by Jiri].