ISDBSongData::Path: 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=== | ||
Note that the Path is stored as :\My Music\Warterloo.mp3 and the Drive letter is added from the medias table and MediaMonkey.ini. | |||
{{Property Summary|SongData|Path|String|Songs|SongPath|Text|Path|C:\My Music\Warterloo.mp3|}} | |||
[[Category:Scripting|{{PAGENAME}}]] | [[Category:Scripting|{{PAGENAME}}]] |
Revision as of 00:24, 8 May 2008
CoClass SDBSongData, Interface ISDBSongData
Property Get/Let Path As String
Property description
Note that the Path is stored as :\My Music\Warterloo.mp3 and the Drive letter is added from the medias table and MediaMonkey.ini.
Scripting Object | SDBSongData |
Value Name | Path |
Value Type | String |
Database Table | Songs |
Field Name | SongPath |
Field Type | Text |
Tracklist Column | Path |
Example Data | C:\My Music\Warterloo.mp3 |
Example Code
Sub For iCounter = 0 to objSongList.count - 1 'SongLists Set objSongData = objSongList.Item(iCounter) StringPath = objSongData.Path SDB.MessageBox "Value = '" & StringPath & "'", mtError, Array(mbOK) 'SDB.MessageBox Next ' objSongData.Path = StringNewPath 'Commented Out For Safety ' objSonglist.UpdateAll 'Commented Out For Safety 'UpdateAll Updates db and writes tags (if checked in options) End Sub