Feature #1703

lighttpd: dirlisting mod enhancement: listen to media content using xspf player

Added by Anonymous about 12 years ago. Updated over 11 years ago.

Target version:


i've been working on some patch for the dirlisting mod for lighttpd to allow the use of a flash player (like xspf_player.swf) for playing mp3s from a listed directory.
the patch i've been working on, actually generates a playlist, this way one can either save the list and listen to the contents using a favorite player or listen to it directly in the browser with the use of a small HTML which embeds the player with the generated list.
i am using this new feature in order to listen to my music on my Wii, at work, or wherever. i'm currently using lighttpd on an ASUS wl500g Premium within optware distribution.
anyway, i was thinking that maybe somebody might be interested in this feature.

-- mirel.lazar


Updated by Anonymous about 12 years ago

comment on the file goes like this:

  • this is a dirlisting for a lighttpd plugin
  • mla20071217a: listen to media content using xspf player
  • config options explained:
  • ""
  • -activates the media mod;
  • ""
  • -specifies the image file to be used when building the XSPF list
  • . use album.jpg to build dynamically based on <last dir name>.jpg
  • . use folder.jpg if you have 'folder.jpg' in each folder (default)
  • . use anything else
  • ""
  • -directory relative to document-root where to put the lists ('/' is default)
  • ""
  • -xspf player path ('/xspf_player.swf' is default)
  • ""
  • -player attribute for playlist ('playlist_url=' is default)
  • ""
  • -extra player attributes (e.g. '&repeat_playlist=1&autoplay=1&autoresume=1')
  • config options example:
  • dir-listing.activate = "enable"
  • dir-listing.hide-dotfiles = "enable"
  • = "enable"
  • = "%album%.jpg"
  • = ".lists"
  • = "xspf_player.swf"
  • = "playlist_url="
  • = "&repeat_playlist=1&autoplay=1&autoresume=1"

-- mirel.lazar


Updated by stbuehler almost 12 years ago

  • Status changed from New to Fixed
  • Resolution set to wontfix

Just use a fastcgi script to generate such special listings (or mod_magnet).


Updated by stbuehler over 11 years ago

  • Status changed from Fixed to Wontfix

Also available in: Atom