# HG changeset patch # User nenolod # Date 1154567747 25200 # Node ID 25ab2e475f46c9f48d53e406adb54622efe801ed # Parent 4a72485a5cfff55dbcfee99a36a03f8f4bbfc908 [svn] - seek by track index timestamp diff -r 4a72485a5cff -r 25ab2e475f46 ChangeLog --- a/ChangeLog Wed Aug 02 18:12:58 2006 -0700 +++ b/ChangeLog Wed Aug 02 18:15:47 2006 -0700 @@ -1,3 +1,13 @@ +2006-08-03 01:12:58 +0000 William Pitcock + revision [1842] + - when we play from a cuefile, start playing from the file defined in the cuefile + if that file can't be found, then take no action (this is how MPlayer behaves, anyway.) + + + Changes: Modified: + +48 -6 trunk/Plugins/Input/cue/cuesheet.c + + 2006-08-03 00:52:07 +0000 William Pitcock revision [1840] - ok, lets use real URIs here diff -r 4a72485a5cff -r 25ab2e475f46 Plugins/Input/cue/cuesheet.c --- a/Plugins/Input/cue/cuesheet.c Wed Aug 02 18:12:58 2006 -0700 +++ b/Plugins/Input/cue/cuesheet.c Wed Aug 02 18:15:47 2006 -0700 @@ -135,7 +135,7 @@ { gchar *path2 = g_strdup(uri + 6); gchar *_path = strchr(path2, '?'); - gint track; + gint track = 0; FILE *f; if (_path != NULL && *_path == '?') @@ -152,7 +152,10 @@ real_ip = input_check_file(cue_file, FALSE); if (real_ip != NULL) + { real_ip->play_file(cue_file); + real_ip->seek(cue_tracks[track].index); + } free_cue_info(); }