diff --git a/share/lua/playlist/france2.lua b/share/lua/playlist/france2.lua index 3d9ad1e2468d..5e6f4cda9c28 100644 --- a/share/lua/playlist/france2.lua +++ b/share/lua/playlist/france2.lua @@ -23,7 +23,7 @@ -- Probe function. function probe() return vlc.access == "http" - and string.match( vlc.path, "jt.france2.fr/player/" ) + and string.match( vlc.path, "^www%.francetvinfo%.fr/replay%-jt/.+" ) end -- Parse function. diff --git a/share/lua/playlist/mpora.lua b/share/lua/playlist/mpora.lua index d48c1e6dde5b..61419fbdb414 100644 --- a/share/lua/playlist/mpora.lua +++ b/share/lua/playlist/mpora.lua @@ -22,8 +22,8 @@ -- Probe function. function probe() - return vlc.access == "http" - and string.match( vlc.path, "video%.mpora%.com/watch/" ) + return ( vlc.access == "http" or vlc.access == "https" ) + and string.match( vlc.path, "^mpora%.com/videos/" ) end -- Parse function.