streaming of files with big letters in the extension fails
streaming of files with big letters in the extension fails
put test.MP3 into the media dir, update the database and try streaming the file - it fails. Now rename the file to test.mp3, update the DB and try again - it works.
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Thanks,
It is easy to fix:
change line 112 from stream.php
to
The same bug accurse when trying to record from files with high case extensions.
change line 135 from record.php
to
It is easy to fix:
change line 112 from stream.php
Code: Select all
$extension = $pathinfo['extension'];
Code: Select all
$extension = strtolower($pathinfo['extension']);
change line 135 from record.php
Code: Select all
$extension = $pathinfo['extension'];
Code: Select all
$extension = strtolower($pathinfo['extension']);