RE: Newbie Questions
"Chuck Rider" <[email protected]> Wed, 30 Jul 2003 10:52:07 -0700 (PDT)
| Newsgroups | gmane.comp.audio.netjuke.user |
|---|---|
| Message-ID | <[email protected]> |
I also modified the php time out settings. Yes, non-IIS systems also have a php.ini file. I imported over 18,000 tracks with no problem at all. It took over 1/2 hour, but it is a one-time thing. [Okay, one-time everytime I do an upgrade. :( ] > > James, > > I have a collection of about 6000 mp3s and was able to get them to > import just fine with the import script in Netjuke. However, I did have > to change a couple of server settings to allow PHP to run a script for > the length of time. Since I'm running IIS, I had to change the CGI > timeout for IIS from 300 seconds to some bigger number. 5 minutes isn't > enough time to import collections as big as mine(ours). Also, in the > php.ini (which I don't believe exists for non-IIS?) I edited the php > script timeout to be much longer than 300 seconds. > > This is probably what your problem is (or at least that one). > > > -----Original Message----- > From: James Spibey [mailto:[email protected]] > Sent: Wednesday, July 30, 2003 8:25 AM > To: [email protected] > Subject: Re: [Netjuke-users] Newbie Questions > > >> > 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 > _______________________________________________ > Netjuke-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/netjuke-users > > > > > > ------------------------------------------------------- > 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 > _______________________________________________ > Netjuke-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/netjuke-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf