mirror of
https://github.com/Zaarrg/stremio-community-v5.git
synced 2026-05-09 19:50:32 +00:00
easynews addon not working fix
This commit is contained in:
parent
054ff34ddb
commit
bf83deab4b
1 changed files with 3 additions and 1 deletions
|
|
@ -133,7 +133,9 @@ void HandleEvent(const std::string &ev, std::vector<std::string> &args)
|
|||
{
|
||||
if(ev=="mpv-command"){
|
||||
if(!args.empty() && args[0] == "loadfile" && args.size() > 1) {
|
||||
args[1] = decodeURIComponent(args[1]);
|
||||
if (args[1].rfind("http://", 0) != 0 && args[1].rfind("https://", 0) != 0) {
|
||||
args[1] = decodeURIComponent(args[1]);
|
||||
}
|
||||
std::vector<std::string> voArgs = {"vo",g_initialVO};
|
||||
HandleMpvSetProp(voArgs);
|
||||
std::vector<std::string> volumeArgs = {"volume", std::to_string(g_currentVolume)};
|
||||
|
|
|
|||
Loading…
Reference in a new issue