diff src/cue/cuesheet.c @ 2505:590c9610f968

Fixed cue-sheet plugin to have the vfs extensions support.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 02 Apr 2008 17:51:41 +0300
parents 42a5c9d5830b
children bd3a24b39058
line wrap: on
line diff
--- a/src/cue/cuesheet.c	Mon Mar 31 16:32:54 2008 +0300
+++ b/src/cue/cuesheet.c	Wed Apr 02 17:51:41 2008 +0300
@@ -85,6 +85,8 @@
 
 static InputPlayback *real_ip = NULL;
 
+static gchar *cue_fmts[] = { "cue", NULL };
+
 InputPlugin cue_ip =
 {
 	.description = "Cuesheet Plugin",	/* description */
@@ -96,6 +98,7 @@
 	.seek = seek,
 	.cleanup = cue_cleanup,		/* cleanup */
 	.get_song_tuple = get_tuple,
+	.vfs_extensions = cue_fmts,
 };
 
 InputPlugin *cue_iplist[] = { &cue_ip, NULL };