ISDBSongData::PlayCounter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
MoDementia (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
===Property description=== | ===Property description=== | ||
There is also a Played Table with a history of Played Dates | |||
{{Property Summary|SongData|PlayCounter|Value|Songs|PlayCounter|Integer|Played #|3|}} | |||
[[Category:Scripting|{{PAGENAME}}]] | [[Category:Scripting|{{PAGENAME}}]] |
Latest revision as of 00:39, 8 May 2008
CoClass SDBSongData, Interface ISDBSongData
Property Get/Let PlayCounter As Long
Property description
There is also a Played Table with a history of Played Dates
Scripting Object | SDBSongData |
Value Name | PlayCounter |
Value Type | Value |
Database Table | Songs |
Field Name | PlayCounter |
Field Type | Integer |
Tracklist Column | Played # |
Example Data | 3 |
Example Code
Sub For iCounter = 0 to objSongList.count - 1 'SongLists Set objSongData = objSongList.Item(iCounter) ValuePlayCounter = objSongData.PlayCounter SDB.MessageBox "Value = '" & ValuePlayCounter & "'", mtError, Array(mbOK) 'SDB.MessageBox Next ' objSongData.PlayCounter = ValueNewPlayCounter 'Commented Out For Safety ' objSonglist.UpdateAll 'Commented Out For Safety 'UpdateAll Updates db and writes tags (if checked in options) End Sub