aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist/cue_playlist_plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/playlist/cue_playlist_plugin.c b/src/playlist/cue_playlist_plugin.c
index 27576520c..a9b596560 100644
--- a/src/playlist/cue_playlist_plugin.c
+++ b/src/playlist/cue_playlist_plugin.c
@@ -102,6 +102,9 @@ cue_playlist_read(struct playlist_provider *_playlist)
song = song_remote_new(filename);
song->tag = tag;
+ song->start_ms = (track_get_start(track) * 1000) / 75;
+ song->end_ms = ((track_get_start(track) + track_get_length(track))
+ * 1000) / 75;
return song;
}