diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-05-15 13:26:30 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-05-15 13:26:30 +0000 |
commit | 809a3fc72ff5829b683a9167d6230e5fa101b6d3 (patch) | |
tree | 59aa3baab20b18554980f937bbe026bcbd5ba4ce /stream.php | |
parent | 4259d662decc9f128519daf7b46d975bd72f5320 (diff) | |
download | ampache-809a3fc72ff5829b683a9167d6230e5fa101b6d3.tar.gz ampache-809a3fc72ff5829b683a9167d6230e5fa101b6d3.tar.bz2 ampache-809a3fc72ff5829b683a9167d6230e5fa101b6d3.zip |
add download for video that does not work, and most likely break song downloads \o/
Diffstat (limited to 'stream.php')
-rw-r--r-- | stream.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -116,7 +116,7 @@ switch ($_REQUEST['action']) { $urls = array($democratic->play_url()); break; case 'download': - $media_ids[] = $_REQUEST['song_id']; + $media_ids[] = $_REQUEST['song_id']; default: break; } // end action switch @@ -131,6 +131,7 @@ switch ($_REQUEST['method']) { // Run the access check and exit if they are not allowed to download if (!Access::check_function('batch_download')) { access_denied(); exit; } + // Format the zip file $name = "AmpacheZip-" . date("m-d-Y",time()); $song_files = get_song_files($media_ids); |