Author Topic: Download basket  (Read 12450 times)

Offline MagnarTBL

  • Newbie
  • *
  • Posts: 11
    • View Profile
Download basket
« on: August 24, 2009, 18:29:41 »
Monty wrote in a separate request, "my idea was to implement a download basket you can fill with mods and receive later by email in one big archive."

This idea by Monty really caught my eye. Because, a download basket is something I would really love to see here on AMP!

Wouldn't it be great to have some sort of a download basket you could add songs to? With a simpler way of downloading songs from different composers etc, maybe even "download all" feature from artists?
Compress it as a zip file and just download. That would have been really nice, instead of clicking on each link for each song, which is a couple of hundred links to click if you want to download all the songs by Lizardking.

Anyway, a download basket would be really nice!

/Magnar

cybfree

  • Guest
Re: Download basket
« Reply #1 on: August 28, 2009, 18:20:09 »
and it's not really hard to do  ;D
I made a basket for my site and that seems to work fine.
I used pclzip.lib.php

problem is the speed of the php server and the limited size of the zip file (but it's not a good server).
another problem is "how to empty the temp. zip directory after download". "how to detect the end of the download and erase the archive"...
I made a button "erase after download" but nobody do it. I think I'll block all until user press erase.
If you have any idea for this problem.

p.s. : another subject
it will be really nice to include the new Flash Mod Player FLOD for playing module before download.
but archived file don't work with flod... to see on flashtro topic.
« Last Edit: August 28, 2009, 18:31:47 by cybfree »

Offline Asle

  • Administrator
  • Hero Member
  • *****
  • Posts: 1 075
    • View Profile
    • Amiga Music Preservation
Re: Download basket
« Reply #2 on: August 28, 2009, 19:13:32 »
The technical side isn't a problem to achieve this basket thing.
You can cron daily to delete temp files older than one day.
Anyway, the problem is somewhere else, and I'm surprised Crown didn't say anything, yet ...

Sylvain
PS: and I'm not interested by a mod player (especially flash/java). MP3 generation on the fly like it's done on Exotica sounds far better, and very close to accurately replayed when UADE is behind :). Just my opinion, here.

Offline swirlythingy

  • Full Member
  • ***
  • Posts: 109
  • Bad blood? What bad blood?
    • View Profile
    • Kingfisher Corner
Re: Download basket
« Reply #3 on: September 02, 2009, 15:21:33 »
Monty wrote in a separate request, "my idea was to implement a download basket you can fill with mods and receive later by email in one big archive."

This idea by Monty really caught my eye. Because, a download basket is something I would really love to see here on AMP!

I'd just like to register my support for this feature too - especially the 'download all' thing.

The thing which really bugs me about the current setup is how the links in the modlist don't actually link straight to the file to download - they link to a new (and mostly blank) webpage, which makes it very awkward downloading lots of tunes at once, what with either having to keep clicking the 'back' button or constantly opening new windows...

If there are technical problems to implementing a basket, like Asle said, fixing this would do nicely.

Offline Monty

  • Administrator
  • Newbie
  • *****
  • Posts: 29
    • View Profile
    • Amiga Music Preservation
Re: Download basket
« Reply #4 on: September 06, 2009, 00:36:55 »
This is how the download basket feature will work:
-User needs to be registered on AMP.
-User add files to the basket while surfing on AMP (with a counter somewhere on top of the page)
-Once the basket is over, a few options needs to be set to complete the process (like moving mod. to .mod in filenames, remove weird character from filenames, receive archive by email or receive a dynamic link by email to download the archive later)
-If sent by email the archive will be deleted on the fly
-If sent through a dynamic link, the archive will be removed from AMP after a few days (sometimes downloads fails you know :) )
-The maximum size of an archive is 10MB, enough to store more than 50 modules.
-A cron job to process the orders (create and remove archive, send emails...) running every 10 or 15 minutes (depending on the load of the server)

Of course the max archive size is not big enough to download every musics available for some composers (like Lizardking or 4Mat).

I'm working on it...
Chiptunes & Cheaptunes & Chipstunes

Offline jegougou

  • Jr. Member
  • **
  • Posts: 74
  • Bass !!!
    • View Profile
    • Amiga Vibes
Re: Download basket
« Reply #5 on: September 25, 2009, 09:28:00 »
Ok,

@Cybfree: you're the cyberpingui?

cybfree

  • Guest
Re: Download basket
« Reply #6 on: October 16, 2009, 21:30:18 »
@jjg : yep, why ?  ???
 :-X

Offline Anarkhya

  • Full Member
  • ***
  • Posts: 131
  • Mig' or Die!
    • View Profile
Re: Download basket
« Reply #7 on: January 23, 2010, 22:15:33 »
the dl basket is/was used by amigaremix and this was a very convenient tool.
@swirlthingy: downloading plenty of mods on amp is not so bugging, I'm using firefox and I can download 50 mods from the same author within 50 clicks, just don't close the second amp tab opened by your browser...