Re: Newbie Questions

"James Spibey" <[email protected]> Wed, 30 Jul 2003 16:25:22 +0100
Newsgroups gmane.comp.audio.netjuke.user
Message-ID <[email protected]>
> > 1) Is it possible to create a user which only have read-only access i.e.
> > they can search and stream but can't download or edit?
>No, I'm afraid it's not. Normal users shouldn't be able to edit
>metadata currently and downloading can only be disabled for all users.
>That's why we thought of introducing a better permission system for
>the next version.

That sounds great :) It would be great to be able to grant and revoke 
privillages per user or group.

> > 3) Why is the import done in PHP? Surely it would be much more efficient 
>to
> > write a native app which could be run on a cron job or whatever just to
> > synchronise the DB to the media files?
>I don't think it is that inefficient - not as fast as native code
>could be, I admit. But on the other hand PHP provides easy access to
>database (adodb) and the getid3 library for tag reading. The cronjob
>ability should definitely be addressed in 1.1 but I'd opt for an
>additional php-shellscript which can be called to update the database.

The reason I suggested this was that the import script didn't work too well 
with my MP3 collection. I have about 7000 tracks and though the import 
script reported that it had recursed added all my media, I found that in 
fact only about 1000 were added. I had to manually add the remaining tracks 
in blocks of no more than 300 tracks at a time. This is OK but it's a bit of 
a pain when dealing with large collections. I also noticed that the text on 
the import page didn't display until the import was done but I think this 
may be because my PHP installation is set to buffer output. By the way, I'm 
using a Windows Server (I know, I know) to run this so that may explain why 
the performance isn't up to much. Is there anything which can be done to 
increase perfomance?

And one last little question (I promise) - I noticed that my list of artists 
looks correct but for every letter in the alphabet there is an artist of the 
same name. If I click on one of these artists it shows that netjuke has 
incorrectly identified the artist - for example, if I click on 'b' in the 
artist list there are a list of tracks by an artist called 'b' but the 
artist is actually 'The Bluetones' or 'Blondie'. The ID3 tags are correct.

Thanks for your help

James

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection 
http://www.msn.co.uk/specials/btbroadband



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01