Home « Server software «
Documentation: collections/play_audio.php
collections/play_audio.php - List all audio files in a playlist
This script turns a YACS server to a pseudo-streaming server. On intranets or at home, with VLC, Winamp or Windows Media Player installed at workstations, it allows people to view films on-demand.This script builds a paylist for following extensions:
.au
.mid
.mp3
.wav
.wma
.ra
.snd
The downloaded object is always cacheable, to avoid IE to remove it too early from temporary directory.
Optionnally, this script also reads internal information for some file types, in order to enhance the provided listing. This reading is based on the getid3() library, which is loaded if it is available.
For authentication on protected page this script use basic HTTP authentication. This means that the anonymous surfer will have either to use the regular login page, or to provide name and password on a per-request basis.
Accept following invocations:
- play_audio.php?path=<collection/path/to/browse>
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
Testeurs:
- Rodney Morison