diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-18 16:49:50 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-18 16:49:50 +0000 |
commit | ebd39247d9e7a4eda49ac3410197de1e1a2f2457 (patch) | |
tree | 8cd483816d3fa8d514bc63e618e2073be132365f /batch.php | |
parent | ccf03a68e2584835fb4d6fe3a6bc2e2cc780ce8c (diff) | |
download | ampache-ebd39247d9e7a4eda49ac3410197de1e1a2f2457.tar.gz ampache-ebd39247d9e7a4eda49ac3410197de1e1a2f2457.tar.bz2 ampache-ebd39247d9e7a4eda49ac3410197de1e1a2f2457.zip |
few mpd style tweaks, new archive lib and a new print_tags
Diffstat (limited to 'batch.php')
-rw-r--r-- | batch.php | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -38,7 +38,6 @@ /* Drop the normal Time limit constraints, this can take a while */ set_time_limit(0); - if(batch_ok()) { switch( scrub_in( $_REQUEST['action'] ) ) { case 'download_selected': @@ -51,7 +50,7 @@ } $name = "selected-" . date("m-d-Y",time()); $song_files = get_song_files($song_ids); - set_memory_limit($song_files[1]+16); + set_memory_limit($song_files[1]+32); send_zip($name,$song_files[0]); break; case "pl": @@ -60,7 +59,7 @@ $name = $pl->name; $song_ids = $pl->get_songs(); $song_files = get_song_files( $song_ids ); - set_memory_limit( $song_files[1]+16 ); + set_memory_limit( $song_files[1]+32 ); send_zip( $name, $song_files[0] ); break; case "alb": @@ -69,7 +68,7 @@ $name = $alb->name; $song_ids = $alb->get_song_ids(); $song_files = get_song_files( $song_ids ); - set_memory_limit( $song_files[1]+16 ); + set_memory_limit( $song_files[1]+32 ); send_zip( $name, $song_files[0] ); break; default: |