ISDBSongData::IsntInDB: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
(→‎Property description: Reworked the description so that it makes a little bit more sense.)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
===Property description===
===Property description===


Returns True if the track is not stored in the Library. Defaults to False.
Returns False when
# Track is in the Library (SongID > 0)
# When MM does not know anything yet (SongID = -1)
In order for this property to be updated, MM needs to query the database. If the user sets this property to False, MM will not do a query to the database. This is done by device plug-ins extensively in order to avoid expensive 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}}]]

Latest revision as of 17:39, 30 September 2009

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let IsntInDB As Boolean


Property description

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

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

In order for this property to be updated, MM needs to query the database. If the user sets this property to False, MM will not do a query to the database. This is done by device plug-ins extensively in order to avoid expensive database queries.

Info taken from [this post by Jiri].