diff options
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'; |