Stores album art as a file:// url
authorRafaël Carré <funman@videolan.org>
Thu, 23 Aug 2007 22:41:37 +0000 (22:41 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 23 Aug 2007 22:41:37 +0000 (22:41 +0000)
src/input/meta.c

index b113537..f7f07cb 100644 (file)
@@ -356,7 +356,7 @@ static int __input_FindArtInCache( vlc_object_t *p_obj, input_item_t *p_item )
     {
         if( !strncmp( psz_filename, "art", 3 ) )
         {
-            snprintf( psz_filepath, MAX_PATH, "%s" DIR_SEP "%s",
+            snprintf( psz_filepath, MAX_PATH, "file://%s" DIR_SEP "%s",
                       psz_dirpath, psz_filename );
             input_item_SetArtURL( p_item, psz_filepath );
             free( psz_filename );