Setup a Web-based Media Player
From OpenFSG
This describes how to setup a simple web-based Media Player that uses a Macromedia Flash mp3 player (you can also use any media player that will play m3u files, look in prefs.php).
The web application allows you to browse through music files on an http server, play all the songs from a directory or play all the songs in all the subdirectories. It is simple, but effective.
Contents |
Download
Version 1.2.12 -- (6/16/2006)
Features
- Integrated Flash mp3 player (play your music from ANY computer that runs flash)
- Folder based music browsing
- Play all the songs in all the subfolders of a Folder
- Shuffle a playlist
- International Character support
- Multiple Language Interface (English, French)
Feature Request
- Pictureviewer (i.e. *.jpg, thumbnails etc.)
- Play subdirectories without browsing (i.e. \TOP_40\*.* and \TOP_40\TOP_40_1984\*.*)
- Equalizer (or presets with i.e. full treble and bass)
- Not Possible, The flash Sound object doesn't support it, only panning
- OGG Support
- Not Possible, The flash Sound object doesn't support it, only the Mp3 format
- MPC Support
- Not Possible, The flash Sound object doesn't support it, only the Mp3 format
- Crossfading
Bug Reports
See Talk Page
Setup
- Download the media player
- Create a new "Web Front Page" using the fsg's web interface (Or use an existing one; How To Host a Web Site)
- Point it to a Dummy folder (A folder that no-one can access and containing only a blank index.html)
- Assign it to a different port than the one the FSG config pages are hosted on
- Example: 8080
- Create an Alias with a path to the folder where this Media player will be installed.
- Example: /Username/Mediaplayer
- Unzip the media player files in to the folder created above.
Configuration
- Open the file prefs.php found in the fileNice directory
- /Username/Mediaplayer/prefs.php
- Edit the $HomeDirectory variable to reflect the filesystem path to where your music is located
- Example: "/home/Username/Music"
- Edit the other values to suit your needs
Then Just aim your browser at http://fsg:8080/Mediaplayer or where ever you stored the media player php files.
Changelog
Version 1.2.12 -- (6/16/06)
- Added "waitforload" option to config.xml
- If set to true, player waits for content to fully load
Version 1.2.11 -- (6/14/06)
- Full support for uppercase extensions
Version 1.2.10 -- (6/09/06
- (Fred - Informatix) Finished Multiple Language Support
Version 1.2.09 -- (6/07/06)
- (Fred - Informatix) Added multiple language support (French, English)
- (Fred - Informatix) fix a few bugs
Version 1.2.08 -- (6/07/06)
- International character support in the web interface too
- Small prefs.php bug fix
Version 1.2.07 -- (6/07/06)
- International Character support
- Album art loader (loads first image in folder)
- Better playlist scrolling
- Fixed recursive play issue
- Working on implementing playlists...
Version 1.2.01 -- (5/31/06)
- Moved the file structure around a bit to make more sense
- Added streaming (you no longer have to have your media directory open to the internet)
- Added international support (only extended ascii, not unicode yet)
- Added a shuffle feature (in the swf player)
- Added single file playing support
- Various speedups and fat-trimming
- Made the Play links a little farther apart
- Minor sorting issue fix
Note: Code based on fileNice
