Commit cfea72e2 authored by Jean-Philippe André's avatar Jean-Philippe André

Lua/SD: Set the "longname" configuration parameter

This will allow successful matches between the luaSD title and the
real SD psz_name
parent 60fac211
......@@ -555,7 +555,8 @@ static int vlc_sd_probe_Open( vlc_object_t *obj )
if( temp )
*temp = '\0';
*(*ppsz_file + strlen(*ppsz_file) - 4 )= '\0';
if( asprintf( &psz_name, "lua{sd=%s}", *ppsz_file ) < 0 )
if( asprintf( &psz_name, "lua{sd=%s,longname=%s}",
*ppsz_file, description + 17 ) < 0 )
{
fclose( fd );
free( psz_filename );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment