]> git.sesse.net Git - vlc/commitdiff
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 b1135372c196df5ee2ac3a961425baff228d96f0..f7f07cb64bd45f72d892578b40334e90b073918e 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 );