Difference between revisions of "ISDBSongData::Bookmark"

From MediaMonkey Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{CoClassObjectsList
+
{{MethodDeclaration|SDBSongData|ISDBSongData|Property Get/Let Bookmark As Long}}
|[[ISDBSongData::Album|Album]] |Property Get | 
 
|[[ISDBSongData::AlbumArt|AlbumArt]] |Property Get | 
 
|[[ISDBSongData::AlbumArtistName|AlbumArtistName]] |Property Get/Let | 
 
|[[ISDBSongData::AlbumName|AlbumName]] |Property Get/Let | 
 
|[[ISDBSongData::Artist|Artist]] |Property Get | 
 
|[[ISDBSongData::ArtistName|ArtistName]] |Property Get/Let | 
 
|[[ISDBSongData::Author|Author]] |Property Get/Let | 
 
|[[ISDBSongData::Band|Band]] |Property Get/Let | 
 
|[[ISDBSongData::Bitrate|Bitrate]] |Property Get/Let | 
 
|[[ISDBSongData::Bookmark|Bookmark]] |Property Get/Let | 
 
|[[ISDBSongData::BPM|BPM]] |Property Get/Let | 
 
|[[ISDBSongData::Cached|Cached]] |Property Get/Let | 
 
|[[ISDBSongData::CachedPath|CachedPath]] |Property Get | 
 
|[[ISDBSongData::CalculateGapData|CalculateGapData]] |Method | 
 
|[[ISDBSongData::Channels|Channels]] |Property Get/Let | 
 
|[[ISDBSongData::Comment|Comment]] |Property Get/Let | 
 
|[[ISDBSongData::Conductor|Conductor]] |Property Get/Let | 
 
|[[ISDBSongData::Copyright|Copyright]] |Property Get/Let | 
 
|[[ISDBSongData::Custom1|Custom1]] |Property Get/Let | 
 
|[[ISDBSongData::Custom2|Custom2]] |Property Get/Let | 
 
|[[ISDBSongData::Custom3|Custom3]] |Property Get/Let | 
 
|[[ISDBSongData::DateAdded|DateAdded]] |Property Get/Let | 
 
|[[ISDBSongData::DiscNumber|DiscNumber]] |Property Get/Let | 
 
|[[ISDBSongData::DiscNumberStr|DiscNumberStr]] |Property Get/Let | 
 
|[[ISDBSongData::Encoder|Encoder]] |Property Get/Let | 
 
|[[ISDBSongData::FileLength|FileLength]] |Property Get/Let | 
 
|[[ISDBSongData::FileModified|FileModified]] |Property Get/Let | 
 
|[[ISDBSongData::GaplessBytes|GaplessBytes]] |Property Get/Let | 
 
|[[ISDBSongData::Genre|Genre]] |Property Get/Let | 
 
|[[ISDBSongData::GetCopy|GetCopy]] |Method | 
 
|[[ISDBSongData::Grouping|Grouping]] |Property Get/Let | 
 
|[[ISDBSongData::ID|ID]] |Property Get/Let | 
 
|[[ISDBSongData::InvolvedPeople|InvolvedPeople]] |Property Get/Let | 
 
|[[ISDBSongData::isBookmarkable|isBookmarkable]] |Property Get/Let | 
 
|[[ISDBSongData::IsntInDB|IsntInDB]] |Property Get/Let | 
 
|[[ISDBSongData::ISRC|ISRC]] |Property Get/Let | 
 
|[[ISDBSongData::LastPlayed|LastPlayed]] |Property Get/Let | 
 
|[[ISDBSongData::Leveling|Leveling]] |Property Get/Let | 
 
|[[ISDBSongData::LevelingAlbum|LevelingAlbum]] |Property Get/Let | 
 
|[[ISDBSongData::Lyricist|Lyricist]] |Property Get/Let | 
 
|[[ISDBSongData::Lyrics|Lyrics]] |Property Get/Let | 
 
|[[ISDBSongData::Media|Media]] |Property Get | 
 
|[[ISDBSongData::MediaLabel|MediaLabel]] |Property Get | 
 
|[[ISDBSongData::MetadataFromFilename|MetadataFromFilename]] |Method | 
 
|[[ISDBSongData::Mood|Mood]] |Property Get/Let | 
 
|[[ISDBSongData::MusicComposer|MusicComposer]] |Property Get/Let | 
 
|[[ISDBSongData::Occasion|Occasion]] |Property Get/Let | 
 
|[[ISDBSongData::OriginalArtist|OriginalArtist]] |Property Get/Let | 
 
|[[ISDBSongData::OriginalLyricist|OriginalLyricist]] |Property Get/Let | 
 
|[[ISDBSongData::OriginalTitle|OriginalTitle]] |Property Get/Let | 
 
|[[ISDBSongData::OriginalYear|OriginalYear]] |Property Get/Let | 
 
|[[ISDBSongData::ParseText|ParseText]] |Method | 
 
|[[ISDBSongData::Path|Path]] |Property Get/Let | 
 
|[[ISDBSongData::PeakValue|PeakValue]] |Property Get/Let | 
 
|[[ISDBSongData::PlayCounter|PlayCounter]] |Property Get/Let | 
 
|[[ISDBSongData::PlaylistOrder|PlaylistOrder]] |Property Get/Let | 
 
|[[ISDBSongData::PostGap|PostGap]] |Property Get/Let | 
 
|[[ISDBSongData::PreGap|PreGap]] |Property Get/Let | 
 
|[[ISDBSongData::Preview|Preview]] |Property Get | 
 
|[[ISDBSongData::PreviewPath|PreviewPath]] |Property Get | 
 
|[[ISDBSongData::Publisher|Publisher]] |Property Get/Let | 
 
|[[ISDBSongData::Quality|Quality]] |Property Get/Let | 
 
|[[ISDBSongData::Rating|Rating]] |Property Get/Let | 
 
|[[ISDBSongData::RatingString|RatingString]] |Property Get/Let | 
 
|[[ISDBSongData::ReadTags|ReadTags]] |Method | 
 
|[[ISDBSongData::RenameByMask|RenameByMask]] |Method | 
 
|[[ISDBSongData::SampleRate|SampleRate]] |Property Get/Let | 
 
|[[ISDBSongData::SongID|SongID]] |Property Get | 
 
|[[ISDBSongData::SongLength|SongLength]] |Property Get/Let | 
 
|[[ISDBSongData::SongLengthString|SongLengthString]] |Property Get | 
 
|[[ISDBSongData::Tempo|Tempo]] |Property Get/Let | 
 
|[[ISDBSongData::Title|Title]] |Property Get/Let | 
 
|[[ISDBSongData::TotalSamples|TotalSamples]] |Property Get/Let | 
 
|[[ISDBSongData::TrackOrder|TrackOrder]] |Property Get/Let | 
 
|[[ISDBSongData::TrackOrderStr|TrackOrderStr]] |Property Get/Let | 
 
|[[ISDBSongData::UpdateAlbum|UpdateAlbum]] |Method | 
 
|[[ISDBSongData::UpdateArtist|UpdateArtist]] |Method | 
 
|[[ISDBSongData::UpdateDB|UpdateDB]] |Method | 
 
|[[ISDBSongData::VBR|VBR]] |Property Get/Let | 
 
|[[ISDBSongData::WriteTags|WriteTags]] |Method | 
 
|[[ISDBSongData::Year|Year]] |Property Get/Let | 
 
}}
 
{{MethodDeclaration|SDBSongData|ISDBSongData|Property Get/Let Bookmark As Empty}}
 
  
 
===Property description===
 
===Property description===
  
 +
Sets/Gets bookmark time (in milliseconds) for bookmarkable tracks (like podcasts and audiobooks).
 +
 +
To find out whether a track is bookmarkable use [[ISDBSongData::isBookmarkable]] property.
 +
 +
{{Property Summary|SongData|Bookmark|Value|Songs|PlaybackPos|Integer|||}}
  
 
[[Category:Scripting|{{PAGENAME}}]]
 
[[Category:Scripting|{{PAGENAME}}]]

Latest revision as of 14:46, 12 January 2010

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Bookmark As Long


Property description

Sets/Gets bookmark time (in milliseconds) for bookmarkable tracks (like podcasts and audiobooks).

To find out whether a track is bookmarkable use ISDBSongData::isBookmarkable property.

Bookmark
Scripting Object SDBSongData
Value Name Bookmark
Value Type Value
Database Table Songs
Field Name PlaybackPos
Field Type Integer

Example Code

Complete script

Sub

  For iCounter = 0 to objSongList.count - 1                                    'SongLists
      Set objSongData = objSongList.Item(iCounter)
      ValueBookmark = objSongData.Bookmark
      SDB.MessageBox "Value = '" &  ValueBookmark & "'", mtError, Array(mbOK)    'SDB.MessageBox
  Next
' objSongData.Bookmark = ValueNewBookmark 'Commented Out For Safety
' objSonglist.UpdateAll              'Commented Out For Safety                 'UpdateAll
                         Updates db and writes tags (if checked in options)
End Sub