diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-07 19:44:00 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-07 19:44:00 +0000 |
commit | 059f6d4d5cde3a66b3c1a998ce123e7eb88e7a98 (patch) | |
tree | 0f5cd4d5d651b15225bccab6a607662f6be5a165 /lib/class/stream.class.php | |
parent | 6ff7d498cf43c7f9453bcef495ca137da298ccf0 (diff) | |
download | ampache-059f6d4d5cde3a66b3c1a998ce123e7eb88e7a98.tar.gz ampache-059f6d4d5cde3a66b3c1a998ce123e7eb88e7a98.tar.bz2 ampache-059f6d4d5cde3a66b3c1a998ce123e7eb88e7a98.zip |
fix download and batch download Addresses #408 and #407
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r-- | lib/class/stream.class.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php index b8242832..0c16dd4e 100644 --- a/lib/class/stream.class.php +++ b/lib/class/stream.class.php @@ -547,8 +547,7 @@ class Stream { // Build up our object $song_id = $this->media['0']; - $song = new Song($song_id); - $url = $song->get_url(); + $url = Song::play_url($song_id); // Append the fact we are downloading $url .= '&action=download'; |