From c2fb8cf62797d8ffd656d0d8268efd9ca813e1d5 Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Tue, 31 Jul 2012 12:37:29 +0300 Subject: [PATCH] Remove the query_formats function The library no longer supports the 'query formats' feature. --- share/lua/media/arte.lua | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/share/lua/media/arte.lua b/share/lua/media/arte.lua index 1468e86..7e7e086 100644 --- a/share/lua/media/arte.lua +++ b/share/lua/media/arte.lua @@ -35,23 +35,6 @@ function ident(qargs) return r end --- Query available formats. -function query_formats(self) - local config = Arte.get_config(self) - local U = require 'quvi/util' - local formats = Arte.iter_formats(config, U) - - local t = {} - for _,v in pairs(formats) do - table.insert(t, Arte.to_s(v)) - end - - table.sort(t) - self.formats = table.concat(t, "|") - - return self -end - -- Parse media URL. function parse(self) self.host_id = 'arte' -- 2.11.4.GIT