Re: Newbie Questions
Florian Maul <[email protected]> Wed, 30 Jul 2003 15:46:14 +0200
| Newsgroups | gmane.comp.audio.netjuke.user |
|---|---|
| Message-ID | <[email protected]> |
Hello James, > I just downloaded netjuke yesterday (v1.0 rc1) and it's great. I > have a few questions though:- We are currently starting off with the netjuke v1.1 codebase which will have a revamped database and program structure for different filetypes, UI templates, etc. You made some good points we should consider for the next version but I don't think anything will change for 1.0 in that respect. > 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. > 2) Is it possible for users to sign-up for a new account by themselves? For > example, a link on the login page would allow them to sign-up and they would > get an account with the privilages assigned in 1). They could then request > to be 'upgraded' to a full account for downloading. Users are able to sign-up with the 1.0 and 0.0 security modes, but you don't have the ability to set their permissions cause there aren't any, see above. > 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. > 4) Can you add more charts to the front page such as top ten artists by > number of tracks etc? Some sort of configurable blocks system is planned for the future but 1.0 is feature frozen atm and I don't think Blake is planing on extending it much but if you like to provide small patches or extensions to the 1.0 code your help is welcome, I guess. > Hope someone can answer these questions. I am willing to code some of the > above if required (particularly the offline DB synchroniser) just let me > know if you think I can help. For an easy solution you could try to query the tabfile-recursive.php with lynx or wget from a cronjob. I haven't done this so far and it might require altering code (or pass cookies) for authentication. Florian <[email protected]> ------------------------------------------------------- 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