C# Class Banshee.Collection.Database.DatabaseTrackInfo

Inheritance: TrackInfo
Datei anzeigen Open project: mono-soc-2011/banshee Class Usage Examples

Private Properties

Property Type Description
CleanseString string
FindTrackByMetadataHash IDataReader
GetTrackForMetadataHash DatabaseTrackInfo
MetadataHashCount int

Public Methods

Method Description
ContainsUri ( SafeUri uri, int primary_sources ) : bool
CopyToLibraryIfAppropriate ( bool force_copy ) : bool
DatabaseTrackInfo ( ) : System
DatabaseTrackInfo ( DatabaseTrackInfo original ) : System
GetTrackIdForUri ( SafeUri uri, int primary_sources ) : int
GetTrackIdForUri ( string uri ) : int
GetTrackIdForUri ( string absoluteUri, int primary_sources ) : int
OnPlaybackFinished ( double percentCompleted ) : void
Refresh ( ) : void
Save ( ) : void
Save ( bool notify ) : void
TrackEqual ( DatabaseTrackInfo a, DatabaseTrackInfo b ) : bool
TrackEqual ( TrackInfo track ) : bool
Update ( ) : void
UpdateLastPlayed ( ) : void
UpdateMetadataHash ( string albumTitle, string artistName, string condition ) : void

Protected Methods

Method Description
ProviderRefresh ( ) : bool
ProviderSave ( ) : void

Private Methods

Method Description
CleanseString ( string input, string old_val ) : string
FindTrackByMetadataHash ( string metadata_hash, int primary_sources ) : IDataReader
GetTrackForMetadataHash ( string metadata_hash, int primary_sources ) : DatabaseTrackInfo
MetadataHashCount ( string metadata_hash, int primary_sources ) : int

Method Details

ContainsUri() public static method

public static ContainsUri ( SafeUri uri, int primary_sources ) : bool
uri Hyena.SafeUri
primary_sources int
return bool

CopyToLibraryIfAppropriate() public method

public CopyToLibraryIfAppropriate ( bool force_copy ) : bool
force_copy bool
return bool

DatabaseTrackInfo() public method

public DatabaseTrackInfo ( ) : System
return System

DatabaseTrackInfo() public method

public DatabaseTrackInfo ( DatabaseTrackInfo original ) : System
original DatabaseTrackInfo
return System

GetTrackIdForUri() public static method

public static GetTrackIdForUri ( SafeUri uri, int primary_sources ) : int
uri Hyena.SafeUri
primary_sources int
return int

GetTrackIdForUri() public static method

public static GetTrackIdForUri ( string uri ) : int
uri string
return int

GetTrackIdForUri() public static method

public static GetTrackIdForUri ( string absoluteUri, int primary_sources ) : int
absoluteUri string
primary_sources int
return int

OnPlaybackFinished() public method

public OnPlaybackFinished ( double percentCompleted ) : void
percentCompleted double
return void

ProviderRefresh() protected method

protected ProviderRefresh ( ) : bool
return bool

ProviderSave() protected method

protected ProviderSave ( ) : void
return void

Refresh() public method

public Refresh ( ) : void
return void

Save() public method

public Save ( ) : void
return void

Save() public method

public Save ( bool notify ) : void
notify bool
return void

TrackEqual() public static method

public static TrackEqual ( DatabaseTrackInfo a, DatabaseTrackInfo b ) : bool
a DatabaseTrackInfo
b DatabaseTrackInfo
return bool

TrackEqual() public method

public TrackEqual ( TrackInfo track ) : bool
track TrackInfo
return bool

Update() public method

public Update ( ) : void
return void

UpdateLastPlayed() public method

public UpdateLastPlayed ( ) : void
return void

UpdateMetadataHash() public static method

public static UpdateMetadataHash ( string albumTitle, string artistName, string condition ) : void
albumTitle string
artistName string
condition string
return void