#include <track.h>
Inheritance diagram for itunesdb::Track:

Public Member Functions | |
| Track (Q_UINT32 trackID=0) | |
| Q_UINT32 | getID () const |
| const QString & | getAlbum () const |
| const QString & | getArtist () const |
| QString | getPlainArtistName () const |
| const QString & | getCategory () const |
| const QString & | getComment () const |
| const QString & | getTitle () const |
| const QString & | getGenre () const |
| const QString & | getPathInfo () const |
| const QString & | getComposer () const |
| const QString & | getEqualizerSetting () const |
| const QString & | getDescription () const |
| const QString & | getGrouping () const |
| const QString & | getFileFormatDesc () const |
| Q_UINT64 | getDBID () const |
| unsigned char | getRating () const |
| Q_UINT32 | getLastModified () const |
| Q_UINT32 | getFileSize () const |
| Q_UINT32 | getTrackLength () const |
| Q_UINT32 | getTrackNumber () const |
| Q_UINT32 | getTrackCount () const |
| Q_UINT32 | getYear () const |
| Q_UINT32 | getBitrate () const |
| Q_UINT32 | getSamplerate () const |
| Q_UINT32 | getVolumeAdjust () const |
| Q_UINT32 | getPlayCount () const |
| Q_UINT32 | getLastPlayed () const |
| Q_UINT32 | getCdNumber () const |
| Q_UINT32 | getCdCount () const |
| Q_UINT32 | getDateAdded () const |
| Q_UINT32 | getStartTime () const |
| Q_UINT32 | getStopTime () const |
| Q_UINT32 | getSoundCheck () const |
| unsigned char | getVbrFlag () const |
| Q_UINT32 | getFileFormatCode () const |
| Q_UINT32 | getReleaseDate () const |
| unsigned char | getMediaType () const |
| unsigned char | getCompilationFlag () const |
| unsigned char | isChecked () const |
| Q_UINT16 | getBPM () const |
| virtual void | setDBID (Q_UINT64 id) |
| virtual void | setAlbum (const QString &album) |
| virtual void | setArtist (const QString &artist) |
| virtual void | setCategory (const QString &category) |
| virtual void | setPathInfo (const QString &encodedpath) |
| virtual void | setComment (const QString &comment) |
| virtual void | setCompilationFlag (unsigned char isCompilation) |
| virtual void | setDescription (const QString &description_txt) |
| virtual void | setGrouping (const QString &grouping) |
| virtual void | setGenre (const QString &genre) |
| virtual void | setTitle (const QString &title) |
| virtual void | setFileFormatDesc (const QString &fdesc) |
| virtual void | setComposer (const QString &composer) |
| virtual void | setEqualizerSetting (const QString &eqSetting) |
| virtual void | setTrackNumber (Q_UINT32 tracknumber) |
| virtual void | setTrackCount (Q_UINT32 numtracks) |
| virtual void | setVolumeAdjust (Q_UINT32 newVolumeAdjust) |
| virtual void | setYear (Q_UINT32 newYear) |
| virtual void | setStartTime (Q_UINT32 startTime) |
| virtual void | setStopTime (Q_UINT32 stopTime) |
| virtual void | setSoundCheck (Q_UINT32 soundCheck) |
| void | setRating (unsigned char rating) |
| void | setLastPlayed (Q_UINT32 lastplayed) |
| void | setPlayCount (Q_UINT32 newPlaycount) |
| void | setBPM (Q_UINT32 bpm) |
| QString | getFileExtension () const |
| virtual void | setFileExtension (const QString &fileextension) |
| template<class TrackMetaSource> | |
| void | readFrom (TrackMetaSource &provider) |
| void | setRecentlyPlayed (bool playedRecently=true) |
| bool | recentlyPlayed () const |
Protected Member Functions | |
| virtual QDataStream & | writeToStream (QDataStream &outstream) |
| virtual QDataStream & | readFromStream (QDataStream &instream, bool *ok=NULL) |
| void | writeData (QByteArray &data) const |
| virtual void | doneAddingData () |
Protected Attributes | |
| Q_UINT32 | id |
| Q_UINT32 | lastmodified |
| Q_UINT32 | file_size |
| Q_UINT32 | tracklen |
| Q_UINT32 | tracknum |
| Q_UINT32 | numtracks |
| Q_UINT32 | year |
| Q_UINT32 | bitrate |
| Q_UINT32 | samplerate |
| Q_UINT32 | volumeadjust |
| Q_UINT32 | playcount |
| Q_UINT32 | last_played_at |
| Q_UINT32 | cdnum |
| Q_UINT32 | numcds |
| Q_UINT32 | file_format_code |
| Q_UINT32 | date_added |
| Q_UINT32 | date_released |
| Q_UINT32 | mStartTime |
| Q_UINT32 | mStopTime |
| Q_UINT32 | mSoundCheck |
| unsigned char | rating |
| unsigned char | vbr |
| unsigned char | type |
| unsigned char | compilation |
| Q_UINT64 | dbid |
| Q_UINT8 | checked |
| Q_UINT8 | app_rating |
| Q_UINT16 | beatsPerMinute |
| Q_UINT16 | mArtworkCount |
| Q_UINT16 | unk9 |
Friends | |
| class | ItunesDBParser |
| class | ItunesDBWriter |
|
|
override from ListItem::doneAddingData() Reimplemented from itunesdb::ListItem. |
|
|
Returns the album the track is released for
|
|
|
Returns the artist
|
|
|
Returns the bitrate
|
|
|
Returns the category
|
|
|
Returns the number of CDs for the album of the track.
|
|
|
Returns the cd number the track is on for albums with more than one CD.
|
|
|
Returns the comment set for the track
|
|
|
Returns the composer
|
|
|
Returns the date the track was added to the database/device.
|
|
|
Returns the DBID which refers to additional media associated to this track (like cover art)
|
|
|
Returns some descriptional text for this piece of audio data. |
|
|
Retunrs the EQ Setting |
|
|
Returns the file extension for this track.
|
|
|
Returns the size of the file associated with this track
|
|
|
Returns the genre of the track
|
|
|
Returns the grouping info for this song. |
|
|
Returns the key for the track in the ITunesDB database
|
|
|
Returns the last modified date for this track.
|
|
|
Returns the date the track was last played. |
|
|
Returns the pathname of the track as stored in the itunesdb. Be aware that the path is relative to the ipod base directory and the path separator is ":".
|
|
|
Returns the number of times the track was played so far
|
|
|
Returns the rating for this track as read from the itunesdb.
|
|
|
Returns the sample rate
|
|
|
Returns the title of the track
|
|
|
Returns the number of tracks in the album
|
|
|
Returns the length of the track in milliseconds
|
|
|
Returns the number of the track
|
|
|
Returns the volume adjust for the track
|
|
|
Returns the year the song was created
|
|
||||||||||
|
Copies the metadata from the given source to this Track. The Track class itself is a possible TrackMetaSource, so you can copy metadata from a track to another. |
|
|
Sets the album for this track.
|
|
|
Sets the artist for this track.
|
|
|
Sets the beats per minute info for this track.
|
|
|
Sets the category for this track.
|
|
|
Sets the comment for this track.
|
|
|
Sets the composer for this track.
|
|
|
Sets the description for this track.
|
|
|
Sets the equalizer setting for this track.
|
|
|
Sets the file extension for this track.
|
|
|
Sets the file format description for this track.
|
|
|
Sets the genre for this track.
|
|
|
Sets the grouping for this track.
|
|
|
Sets the date the track was last played.
|
|
|
Sets the path information for this track. The path is relative to the ipod's base directory. The path separator is ":"
|
|
|
Sets the playcount for this track.
|
|
|
Sets the rating for this track.
|
|
|
Sets the soundcheck for this track.
|
|
|
Sets the start time for this track.
|
|
|
Sets the stop time for this track.
|
|
|
Sets the title for this track.
|
|
|
Sets the the number of tracks in the album for this track.
|
|
|
Sets the track number for this track.
|
|
|
Sets the volume adjust for this track.
|
|
|
Sets the year of release for this track.
|
|
|
Write the track header Write Track contents |
1.4.6