"Fossies" - the Fresh Open Source Software Archive

Member "vlc-3.0.8/lua/http/requests/vlm_cmd.xml" (14 Aug 2019, 1433 Bytes) of package /windows/misc/vlc-3.0.8-win32.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" encoding="utf-8" standalone="yes" ?<?vlc print '>'
    2 --[[
    3 <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
    4 <  vlm_cmd.xml: VLC media player web interface
    5 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
    6 <  Copyright (C) 2005-2006 the VideoLAN team
    7 <  $Id$
    8 < 
    9 <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
   10 < 
   11 <  This program is free software; you can redistribute it and/or modify
   12 <  it under the terms of the GNU General Public License as published by
   13 <  the Free Software Foundation; either version 2 of the License, or
   14 <  (at your option) any later version.
   15 < 
   16 <  This program is distributed in the hope that it will be useful,
   17 <  but WITHOUT ANY WARRANTY; without even the implied warranty of
   18 <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19 <  GNU General Public License for more details.
   20 < 
   21 <  You should have received a copy of the GNU General Public License
   22 <  along with this program; if not, write to the Free Software
   23 <  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
   24 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
   25 ]]?>
   26 <vlm><error><?vlc
   27 if _GET["command"] then
   28   local msg = vlm:execute_command(_GET["command"])
   29   if msg.value then
   30     print(msg.name,":",vlc.strings.convert_xml_special_chars(msg.value))
   31   end
   32 else
   33 ?>No command<?vlc
   34 end
   35 ?></error>
   36 </vlm>