summaryrefslogtreecommitdiff
path: root/apps/cuesheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/cuesheet.h')
-rw-r--r--apps/cuesheet.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/cuesheet.h b/apps/cuesheet.h
index 8e9266416d..451fff5dbe 100644
--- a/apps/cuesheet.h
+++ b/apps/cuesheet.h
@@ -26,6 +26,7 @@
26#include "screens.h" 26#include "screens.h"
27#include "file.h" 27#include "file.h"
28#include "metadata.h" 28#include "metadata.h"
29#include "skin_engine/skin_tokens.h"
29 30
30#define MAX_NAME 80 /* Max length of information strings */ 31#define MAX_NAME 80 /* Max length of information strings */
31#define MAX_TRACKS 99 /* Max number of tracks in a cuesheet */ 32#define MAX_TRACKS 99 /* Max number of tracks in a cuesheet */
@@ -69,8 +70,9 @@ bool display_cuesheet_content(char* filename);
69/* finds the index of the current track played within a cuesheet */ 70/* finds the index of the current track played within a cuesheet */
70int cue_find_current_track(struct cuesheet *cue, unsigned long curpos); 71int cue_find_current_track(struct cuesheet *cue, unsigned long curpos);
71 72
72/* update the id3 info to that of the currently playing track in the cuesheet */ 73/* Get the id3 fields from the cuesheet */
73void cue_spoof_id3(struct cuesheet *cue, struct mp3entry *id3); 74const char *get_cuesheetid3_token(struct wps_token *token, struct mp3entry *id3,
75 int offset_tracks, char *buf, int buf_size);
74 76
75/* skip to next track in the cuesheet towards "direction" (which is 1 or -1) */ 77/* skip to next track in the cuesheet towards "direction" (which is 1 or -1) */
76bool curr_cuesheet_skip(struct cuesheet *cue, int direction, unsigned long curr_pos); 78bool curr_cuesheet_skip(struct cuesheet *cue, int direction, unsigned long curr_pos);