Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#132290 - 28/12/2002 17:24 integrating the songdatabase into the FTP server?
ilDuce
journeyman

Registered: 22/06/2002
Posts: 92
I am reaaaallllyyyy missing the function of instead seeing the FIDs on connecting through FTP, to see a "proper" Artist - Title.mp3 name...... I have been thinking of adding my empeg as an alternative or virtual path in my regular FTP server, containing my music. But the problem now is that you see the real filename, wich doesnt make any sense to anybody not knowing what to look for.
But wouldnt it be possible to script the FTP server like they have scripted the http server to be able to display artist and title?

Top
#132291 - 28/12/2002 17:56 Re: integrating the songdatabase into the FTP server? [Re: ilDuce]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

I actually have a directory in my html path that is a symlink tree (created with mirrordb). This way, ftp users can get the links with a friendly format (artist - album - track - title.mp3) and it takes very little additional space. The bad news is that it is not automatic.

_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#132292 - 28/12/2002 18:44 Re: integrating the songdatabase into the FTP serv [Re: pgrzelak]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
the source to mirrordb never appeared anywhere, did it?

Top
#132293 - 29/12/2002 00:40 problems with mirrordb [Re: pgrzelak]
ajayrockrock
journeyman

Registered: 29/12/2001
Posts: 99
Loc: Riverside, CA
I tried that mirrordb program and this is the output when I run it from my empeg:

sh-2.03# ./mirrordb .
mirrordb v0.2.1
Copyright 2001 Pepijn Schmitz
Killed

I'm trying to create all the links and whatnot in the current folder. My drives are mounted read/write. Got any ideas as to what's getting "killed"?

thanks,
ajay

Top
#132294 - 29/12/2002 08:18 Re: problems with mirrordb [Re: ajayrockrock]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

The killed is because you ran out of free RAM. Do a swapon /swapfile before running and a swapoff -a after it completes. There are just too many songs for it to store in RAM without having trouble.

As to source availability, I do not know if it was ever officially posted. I requested and received the source directly from the author. I had intended to add some additional functionality (configurability with command line options, etc.), but never got around to it.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#132295 - 29/12/2002 10:43 Re: problems with mirrordb [Re: pgrzelak]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Of course, if the author disappeared....

Sigh.

Top
#132296 - 29/12/2002 11:33 Re: problems with mirrordb [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
(which isn't to imply that this author has; It's just a general lament about things where source hasn't been released)

Top
#132297 - 29/12/2002 17:55 Re: problems with mirrordb [Re: pgrzelak]
ajayrockrock
journeyman

Registered: 29/12/2001
Posts: 99
Loc: Riverside, CA
Thanks!

The swapon/off trick worked and all the links were created. I really needed something like this because I just switched to Linux on my desktop and charcoalgrey99's web interface doesn't work in Mozilla/Phoenix.

Can you post the souce somewhere because I'd like to take a look at it and make some small improvements like automatically turning the swap on/off (or at least printing a better error message).

later,
ajay

Top
#132298 - 29/12/2002 18:19 Re: problems with mirrordb [Re: ajayrockrock]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

If the author grants permission for me to publish it, I will post it. I have not heard anything from him at this point. I will send an email out to him as I do not know how active he is on the board.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#132299 - 29/12/2002 23:22 Re: problems with mirrordb [Re: pgrzelak]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I PM'd him and he emailed me a copy.

Top
#132300 - 30/12/2002 06:32 Here's the source [Re: pgrzelak]
Captain_Chaos
member

Registered: 18/11/2000
Posts: 126
Loc: Amersfoort, The Netherlands
I do not know how active he is on the board.

Fairly active, but I had missed this thread... :-)

I don't use mirrordb anymore since Hijack covers my needs more than adequately. Consequently I haven't worked on the source any more either. I'm not terribly proud of it in its current state (especially the dumb memory "management"), but anyway, here it is. I hereby place it in the public domain; do with it what you will...


Attachments
131296-mirrordb.c (147 downloads)


Top
#132301 - 30/12/2002 11:58 Re: problems with mirrordb [Re: ajayrockrock]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
With Hijack loaded, simply hit this web page:
http://empeg/?FID=101&EXT=.htm

That will provide you a basic HTML output that should work fine in Mozilla, and allow you to keep the Charcoalgrey99 web interface installed as well.

Top
#132302 - 31/12/2002 00:12 Re: problems with mirrordb [Re: drakino]
ajayrockrock
journeyman

Registered: 29/12/2001
Posts: 99
Loc: Riverside, CA
I *totally* forgot about that basic http interface until I got mirrordb working and saw a little link to it on the bottom of each page. So it's not really necessary for me anymore either... But I still like the idea of being able to ftp into the empeg and downloading whole albums instead of using jemplode.

later,
ajay

Top
#132303 - 21/05/2003 13:04 Re: problems with mirrordb [Re: ajayrockrock]
ilDuce
journeyman

Registered: 22/06/2002
Posts: 92
well... I have beem running mirrordb for a while now... And I am very pleased with being able to ftp in and grab entire playlists of songs...

Now.... Anybody have any idea on how I can mount the empeg on my regular ftpserver running mandrake 8.0 and proftpd?
Is there a way without installing samba of NFS? Or is there any 'easy to install' binarys or something out there for the empeg?

I am not that good in linux so extensive explenations would be appreciated.... thanx!!!!!

Top
#132304 - 22/05/2003 06:29 Re: problems with mirrordb [Re: ilDuce]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
I believe that what you want is called the "FTP Filesystem". Look for it in Google and/or SourceForge.net

It's basically a package that you install on your PC (Redhat, whatever), that allows accessing a remote host (Empeg) over FTP, but presenting it on the PC as if it were an NFS mount or similar.

Cheers

Top
#132305 - 22/05/2003 08:32 Re: problems with mirrordb [Re: mlord]
ilDuce
journeyman

Registered: 22/06/2002
Posts: 92
thanks.... I got the ftp filesystem working now.... and it works like a charm! thanks mlord!

Allthough... I have updated my mirrordb.... And now when I try to fallow a symlink in my ftp client... It complains that it cant find that directory. (When I try to download the link)
Any ideas?
I tried changing my ftp clients "Fallow symlinks recursively" And it doesnt work either way....

edit: It works when I use "GET".... So its definetly a client problem... My client seems to cwd when i try to download a symlink...


Edited by ilDuce (22/05/2003 08:41)

Top