Commit 28f37b5f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: allow opening of BDMV hierarchies through open folder

parent fcbcea1d
......@@ -511,6 +511,11 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
const char *scheme = "directory";
if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) )
scheme = "dvd";
else if( dir.endsWith( "/BDMV", Qt::CaseInsensitive ) )
{
scheme = "bluray";
dir.remove( "BDMV" );
}
char *uri = make_URI( qtu( toNativeSeparators( dir ) ), scheme );
if( unlikely(uri == NULL) )
......
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