transcoding files with scandinavian characters does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ampache4 |
Won't Fix
|
Unknown
|
|||
ampache (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: ampache
On Jaunty updated today. Ampache version 3.4.4-0ubuntu1.
I can't stream flac-files with scandinavian characters that are being transcoded to mp3.
Log:
2009-04-13 12:06:00 { toffe } ( auto_transcode ) - Transcoding to flac
2009-04-13 12:06:00 { toffe } ( downsample ) - Starting Downsample...
2009-04-13 12:06:00 { toffe } ( downsample ) - Start Downsample: flac -dc '/home/
2009-04-13 12:06:00 { toffe } ( stream ) - Starting stream of /home/kbergstr/
2009-04-13 12:06:07 { toffe } ( stream ) - 1253 of 8167050 streamed, less than 4083525 not collecting stats
2009-04-13 12:06:07 { toffe } ( stream ) - Stream Ended at 1253 bytes out of 8167050
It's seems that it looses the ö-character in the transcoding command. The changelog for 3.5.0-beta2 says something about multibyte characters. Might be related.
Changed in ampache (Ubuntu): | |
status: | New → Triaged |
Changed in ampache4: | |
status: | Unknown → Won't Fix |
Changed in ampache (Ubuntu): | |
importance: | Undecided → Wishlist |
narrowed down the problem to the following line in /usr/share/ ampache/ www/lib/ class/stream. class.php
$song_file = escapeshellarg( $song-> file);
Changing this to $song_file = $song->file; almost works, but not for paths with spaces (which is most of them). Besides it would have been a workaround at best.
I'll continue googling...