Page 1 of 1

problem with media data bank

Posted: Sat Mar 26, 2011 5:57 pm
by manes
hi there,

i finished an installation just a few weeks ago and still try to get familiar with s9y.
i have some trouble with media data bank.
it contains about 7000 mp3- and flac-files, witch i want to have password-protected access to.
its embarrassing to include media to a blog entry, almost every attempt to choose a media data banks' subdirectory i am confronted with »no media found« (Keine Mediendaten gefunden).
»vorschau erneuern« didn't make a difference.
the lefthand list shows a list of subdirectories, but the single files are not found.
Image
any hint to solve this issue?

greetings
manes

Re: problem with media data bank

Posted: Sat Mar 26, 2011 6:14 pm
by garvinhicking
Hi!

How did you add the files to the mdb in first instance? IF you check the serendipity_images table, does it contain entries?

How much RAM does your server have? Parsing 7000 files all at once might take up a lot of time...

Regards,
Garvin

Re: problem with media data bank

Posted: Sat Mar 26, 2011 6:23 pm
by Timbalu
Hi

I don't think you will get happy with this amount of mp3 or flac files in the media db.
Mp3 should work since it is build in functions_images.inc and sets a mime,

Code: Select all

        case 'mp3':
            $mime = 'audio/x-mpeg3';
            break;
but not flac. Maybe you try and add a case 'flac':

To get happy with audio files an additional plugin would be needed, I think.
But I don't know if there is one. I expect you have to wait for Garvin trying to find a better answer.

Oops, he already answered from the off ;-)

Re: problem with media data bank

Posted: Sun Mar 27, 2011 1:20 am
by manes
garvinhicking wrote:How did you add the files to the mdb in first instance?
IF you check the serendipity_images table, does it contain entries?
How much RAM does your server have?
at first, i just copied all the files to the upload dir, made them readable to all and initiated »vorschau erneuern«, which took some time, rather hours than minutes. uploading all the files one by one with serendipity could make me crazy.
sorry, i didn't find any images table yet. i guess i have to have a look at postgres? well, i'll find out.
its a pentium m with 1,5gb ram.

greetings
manes