Zipping up directories

Zipping up directories

am 12.09.2007 20:17:48 von Tam

Hi group,

I have a rather extensive and large mp3 collection which I have hidden
behind a username/password so I can access it from work easily.

The mp3 is organised in single tracks with a directory for each album.
As I browse the collection I get a listing of each of the items in
that directory.

My question is that I've been trying to find a way of consecutively
play an album or number of tracks from a folder/directory without
having to click each track in turn.

My thought was to have a link on each page to a cgi script that would,
when clicked, pass in the current directory as an argument which would
then zip up that directory for easy download.

Can anyone either tell me how to do this or perhaps come up with a
different and/or easier way of accomplishing what I am trying to do.

Thanks

Tam

Re: Zipping up directories

am 12.09.2007 20:34:54 von unknown

Post removed (X-No-Archive: yes)

Re: Zipping up directories

am 12.09.2007 22:50:11 von Tam

>
> Get an Mp3 player, they can fit in your pocket and you can use them
> while walking.
>

Thanks for your well thought out and kind response, it must have taken
you ages to compile. Its also about as useful as a chocolate teapot.

I have an mp3 player... but it doesn't *quite* have capacity for 200gb.

Re: Zipping up directories

am 13.09.2007 06:48:06 von David McKenzie

Tam wrote:
>> Get an Mp3 player, they can fit in your pocket and you can use them
>> while walking.
>>
>
> Thanks for your well thought out and kind response, it must have taken
> you ages to compile. Its also about as useful as a chocolate teapot.
>
> I have an mp3 player... but it doesn't *quite* have capacity for 200gb.
>
His point is that there are much better solutions than pushing it out by
Apache. If it's on a local network, setup file sharing through NFS or
Samba then open them up through Winamp or XMMS. If it's on a web server
elsewhere, man up and buy a new hard drive.

--
DM davidm@cia.com.au

'It would go against respecting principles and truth if you have to
respect and accept anything just because it is the other side's view.'
- Kim Jung Ill

Re: Zipping up directories

am 13.09.2007 09:46:10 von phantom

"Tam" wrote in message
news:1189621068.595355.184790@d55g2000hsg.googlegroups.com.. .
> Hi group,
>
> I have a rather extensive and large mp3 collection which I have hidden
> behind a username/password so I can access it from work easily.
>
> The mp3 is organised in single tracks with a directory for each album.
> As I browse the collection I get a listing of each of the items in
> that directory.
>
> My question is that I've been trying to find a way of consecutively
> play an album or number of tracks from a folder/directory without
> having to click each track in turn.
>

You want a playlist file (.m3u)

Re: Zipping up directories

am 13.09.2007 20:40:46 von Tam

> You want a playlist file (.m3u)

Yup... thanks... I'll write something that will automate the process
and create m3u lists/files as there must be the thick end of a
thousand albums.

Simply buying a new drive(s) and replicating the data isn't what I
need... my work means I am often in various locations so its
impractical to be carrying around (and installing) it/them... not to
mention the hassle that it would entail keeping them up to date.

m3u it is :)