p_intf->p_sys->filepath = dir;
const char *scheme = "directory";
- if( dir.endsWith( "VIDEO_TS", Qt::CaseInsensitive ) )
+ if( dir.endsWith( DIR_SEP "VIDEO_TS", Qt::CaseInsensitive ) )
scheme = "dvd";
- else if( dir.endsWith( "BDMV", Qt::CaseInsensitive ) )
+ else if( dir.endsWith( DIR_SEP "BDMV", Qt::CaseInsensitive ) )
{
scheme = "bluray";
dir.remove( "BDMV" );
p_intf->p_sys->filepath = dir;
const char *scheme = "directory";
- if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) )
+ if( dir.endsWith( DIR_SEP "VIDEO_TS", Qt::CaseInsensitive ) )
scheme = "dvd";
- else if( dir.endsWith( "/BDMV", Qt::CaseInsensitive ) )
+ else if( dir.endsWith( DIR_SEP "BDMV", Qt::CaseInsensitive ) )
{
scheme = "bluray";
dir.remove( "BDMV" );