Bug 1883 - Download track from slimserver, incorrect filename
: Download track from slimserver, incorrect filename
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.1.1
: PC SuSE Linux
: P2 minor (vote)
: ---
Assigned To: KDF
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-27 20:15 UTC by Will Irace
Modified: 2009-09-08 09:12 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
wrap in quotes to allow spaces (580 bytes, patch)
2005-07-27 22:46 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Will Irace 2005-07-27 20:15:16 UTC
When downloading an MP3 from slimserver, it seems to split by " " and name the
downloaded file with $_[0].mp3. In other words, /mp3/_rips/2003/Jaco Pastorius -
The Birthday Concert/06 Punk Jazz.mp3 is downloaded as "06.mp3".
Comment 1 KDF 2005-07-27 22:46:12 UTC
Created attachment 676 [details]
wrap in quotes to allow spaces

sprintf %s seems to not naturally allow spaces (like so many things).  wrapping
in quotes helps to keep the full filename if it contains things like spaces.
Comment 2 Dan Sully 2005-07-28 14:07:44 UTC
Looks good - please commit when you have a chance.
Comment 3 KDF 2005-07-28 14:48:51 UTC
heh, all this activity...I'll get to it tonight :)
Comment 4 KDF 2005-07-28 20:10:29 UTC
committed to trunk at change 3813, branch at change 3814