summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-15 22:48:20 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-18 18:39:18 +0100
commit707719656e6fc7c6e45f616f7e16cac424693013 (patch)
treed6fc4ea16139a193ff2f2bfd30563f3ba3ebb2db /deadbeef.h
parent8c48b540e031f2f7784f8317a0e87584505d16bd (diff)
playlist grouping WIP
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 396e1c9b..ba05f5cf 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -82,13 +82,12 @@ extern "C" {
// these are "public" fields, available to plugins
typedef struct DB_playItem_s {
char *fname; // full pathname
-// struct DB_decoder_s *decoder; // codec to use with this file
const char *decoder_id;
int tracknum; // used for stuff like sid, nsf, cue (will be ignored by most codecs)
int startsample; // start sample of track, or -1 for auto
int endsample; // end sample of track, or -1 for auto
int shufflerating; // sort order for shuffle mode
- float playtime; // total playtime
+ float playtime; // actual playback time of this track in seconds
time_t started_timestamp; // result of calling time(NULL)
const char *filetype; // e.g. MP3 or OGG
float replaygain_album_gain;
@@ -311,6 +310,7 @@ typedef struct {
int (*pl_get_cursor) (int iter);
void (*pl_set_selected) (DB_playItem_t *it, int sel);
int (*pl_is_selected) (DB_playItem_t *it);
+ int (*pl_is_group_title) (DB_playItem_t *it);
void (*pl_clear) (void);
int (*pl_load) (const char *name);
int (*pl_save) (const char *name);