http://kpsite/music/streamsid_5888/c_99 ... myfile.mp3
replacing the original form:
http://kpsite/index.php?sid=5878&c=99-1111818111
This new form improves the functionality in a few audio players, especially WMP.
Enabling this feature consists of the following (recipe for Apache only)
- Code: Select all
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/music/.*
RewriteRule ^(.+) /index.php?path=$1
(Put this in a virtualhost or directory context.)
And enable in the script:
- Code: Select all
$cfg['filepathurl'] = true;
If the name 'music' is occupied for your setup, change it in both the apache setting and this parameter inside kP: $cfg['filepathurlprepend']
It's recommend to put the above apache settings in a .htaccess file and this file should (must) reside in the same directory as the kPlaylist script.
Åge
