home *** CD-ROM | disk | FTP | other *** search
/ Freelog 112 / FreelogNo112-NovembreDecembre2012.iso / Multimedia / vlc / vlc-2.0.2-win64.exe / lua / http / requests / browse.json next >
Text File  |  2012-06-28  |  1KB  |  40 lines

  1. <?vlc --[[
  2. vim:syntax=lua
  3. <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  4. <  status.xml: VLC media player web interface
  5. <  this should mirror the content and function of status.json
  6. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  7. <  Copyright (C) 2005-2009 the VideoLAN team
  8. <  $Id$
  9. <
  10. <  Authors: Rob Jonson <rob -at- hobbyistsoftware -dot- com>
  11. <
  12. <  This program is free software; you can redistribute it and/or modify
  13. <  it under the terms of the GNU General Public License as published by
  14. <  the Free Software Foundation; either version 2 of the License, or
  15. <  (at your option) any later version.
  16. <
  17. <  This program is distributed in the hope that it will be useful,
  18. <  but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20. <  GNU General Public License for more details.
  21. <
  22. <  You should have received a copy of the GNU General Public License
  23. <  along with this program; if not, write to the Free Software
  24. <  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  25. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  26. ]]?>
  27. <?vlc
  28.  
  29. --package.loaded.httprequests = nil --uncomment to debug changes
  30. require "httprequests"
  31.  
  32. httprequests.processcommands()
  33.  
  34. local browseTable=httprequests.getbrowsetable()
  35.  
  36. httprequests.printTableAsJson(browseTable)
  37.  
  38.  
  39. ?>
  40.