From d0ed36622374f011f390ec0f3ecf35f063825280 Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Wed, 1 Aug 2012 11:25:01 +0300 Subject: [PATCH] ident: Remove package.path The library takes care of setting this now. --- share/lua/media/academicearth.lua | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/share/lua/media/academicearth.lua b/share/lua/media/academicearth.lua index e5e8ede..fad33d7 100644 --- a/share/lua/media/academicearth.lua +++ b/share/lua/media/academicearth.lua @@ -1,6 +1,5 @@ - -- libquvi-scripts --- Copyright (C) 2010-2011 Toni Gundogdu +-- Copyright (C) 2010-2012 Toni Gundogdu -- -- This file is part of libquvi-scripts . -- @@ -20,14 +19,20 @@ -- 02110-1301 USA -- --- academicearth.org hosts videos at either blip.tv or youtube.com --- This webscript uses the "redirect_url" to point to the source. +-- +-- NOTE +-- +-- academicearth.org hosts media at blip.tv or youtube.com . +-- Set "goto_url" to point to the actual location of the media. +-- +-- The library will then relay the new URL to a media script that +-- accepts it. +-- local AcademicEarth = {} -- Utility functions specific to this script --- Identify the script. -function ident(self) - package.path = self.script_dir .. '/?.lua' +-- Identify the media script. +function ident(qargs) local C = require 'quvi/const' local r = {} r.domain = "academicearth%.org" -- 2.11.4.GIT