Commit 231c688b authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibrary: Fix copy/paste mistake

parent ce145c14
......@@ -725,7 +725,7 @@ Query<IMedia> MediaLibrary::searchVideo( const std::string& pattern, const Query
{
if ( validateSearchPattern( pattern ) == false )
return {};
return Media::search( this, pattern, IMedia::Type::Audio, params );
return Media::search( this, pattern, IMedia::Type::Video, params );
}
Query<IPlaylist> MediaLibrary::searchPlaylists( const std::string& name,
......
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