Download basket

Started by MagnarTBL, August 24, 2009, 18:29:41

Previous topic - Next topic

MagnarTBL

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

#1
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.

Asle

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.

swirlythingy

Quote from: MagnarTBL 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!

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.

Monty

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

jegougou

Ok,

@Cybfree: you're the cyberpingui?
[url=http://www.amigavibes.org]Amiga Vibes Demoscene podcast[/url]

cybfree


Anarkhya

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...