summaryrefslogtreecommitdiffstats
path: root/templates/show_song.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-28 18:13:48 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-28 18:13:48 +0000
commitdbdd96ed1b3b00a850be001f3dbeea3273739a98 (patch)
treeccd23afffb6a4c2dc185bd6ffc39e13435fc1179 /templates/show_song.inc.php
parent3a3e0c6a9f72d5031a4025dedcf2360c497c4953 (diff)
downloadampache-dbdd96ed1b3b00a850be001f3dbeea3273739a98.tar.gz
ampache-dbdd96ed1b3b00a850be001f3dbeea3273739a98.tar.bz2
ampache-dbdd96ed1b3b00a850be001f3dbeea3273739a98.zip
unify how the stream is constructed and played, this is a major change might be some regressions
Diffstat (limited to 'templates/show_song.inc.php')
-rw-r--r--templates/show_song.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_song.inc.php b/templates/show_song.inc.php
index 45f8c90c..000e1581 100644
--- a/templates/show_song.inc.php
+++ b/templates/show_song.inc.php
@@ -28,7 +28,7 @@ $button_flip_state_id = 'button_flip_state_' . $song->id;
<dd class"<?php echo $rowparity; ?>">
<?php echo Ajax::button('?action=basket&type=song&id=' . $song->id,'add',_('Add'),'add_song_' . $song->id); ?>
<?php if (Access::check_function('download')) { ?>
- <a href="<?php echo $song->get_url(); ?>"><?php echo get_user_icon('link'); ?></a>
+ <a href="<?php echo Song::play_url($song->id); ?>"><?php echo get_user_icon('link'); ?></a>
<a href="<?php echo Config::get('web_path'); ?>/stream.php?action=download&amp;song_id=<?php echo $song->id; ?>"><?php echo get_user_icon('download'); ?></a>
<?php } ?>
<?php if (Access::check('interface','75')) { ?>