From 60dc92e23fe34466c62ac724e0060596eeb09781 Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Sun, 18 Nov 2012 13:06:49 +0200 Subject: [PATCH] playlist/: Use socket.url Replace use of "quvi/url" with "socket.url" Signed-off-by: Toni Gundogdu --- share/playlist/soundcloud.lua | 2 +- share/playlist/youtube.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/playlist/soundcloud.lua b/share/playlist/soundcloud.lua index cb5fb81..429850e 100644 --- a/share/playlist/soundcloud.lua +++ b/share/playlist/soundcloud.lua @@ -68,7 +68,7 @@ end -- function Soundcloud.can_parse_url(qargs) - local U = require 'quvi/url' + local U = require 'socket.url' local t = U.parse(qargs.input_url) if t and t.scheme and t.scheme:lower():match('^https?$') and t.host and t.host:lower():match('soundcloud%.com$') diff --git a/share/playlist/youtube.lua b/share/playlist/youtube.lua index 230ba97..ce591f4 100644 --- a/share/playlist/youtube.lua +++ b/share/playlist/youtube.lua @@ -82,7 +82,7 @@ end -- function YouTube.can_parse_url(qargs) - local U = require 'quvi/url' + local U = require 'socket.url' local t = U.parse(qargs.input_url) if t and t.scheme and t.scheme:lower():match('^https?$') and t.host and t.host:lower():match('youtube%.com$') -- 2.11.4.GIT