Bug 16424 - Add original track filename to download url
: Add original track filename to download url
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.5.1
: PC Other
: P4 enhancement with 3 votes (vote)
: 7.6.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-01 10:01 UTC by Richard Harman
Modified: 2011-01-17 04:55 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Harman 2010-08-01 10:01:29 UTC
In Menu/TrackInfo.pm change it to this

                        weblink => $track->isRemoteURL($turl)
                                ? undef
                                : '/music/' . $track->id . '/download/'.($track->path =~ m,/([^/\\]+)$,)[0]

This lets you get files downloaded with their original filename instead of just "download".
Comment 1 Richard Harman 2010-08-23 18:08:00 UTC
*** This bug has been confirmed by popular vote. ***
Comment 2 Michael Herger 2011-01-17 04:55:10 UTC
Fixed in change 31767