Harm's scripts ioBanana, Readd script, ioVote |
12-17-2003, 08:25 PM
|
#46
|
Junior Member
Join Date: Oct 2003
Posts: 7
|
Any plans to optimize ioBanana? Of all current zipscripts for ioFTPD, I find ioBanana to be the most resource consuming script...I had to remove it from my faster sites and ioBanana lagged far to much during ~120mbit races.
Its a good script, just needs some major optimizations to speed things up.
|
|
|
12-19-2003, 03:55 AM
|
#47
|
Member
ioFTPD Foundation User
Join Date: Jul 2003
Posts: 83
|
autovoice TOP10 ... it works only on the announcechannel .. the primary one but not on the section channels.
does it'll be implemented?
does it can be disabled?
v19 rocks!
|
|
|
12-19-2003, 06:53 AM
|
#48
|
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
|
Jog: that's an idea
rocafella: can you be a little bit more precise.
|
|
|
12-19-2003, 11:19 AM
|
#49
|
Member
ioFTPD Foundation User
Join Date: Jul 2003
Posts: 83
|
Quote:
Originally posted by Harm
Jog: that's an idea
|
ok .. so on a ring i had to disable it by hands and on an other one i had to set to autovoice on all channel ...
when i made the changes i'll give it to you so u can implent on next version of ioB
|
|
|
12-25-2003, 01:23 AM
|
#50
|
Junior Member
Join Date: Oct 2003
Posts: 7
|
Quote:
Originally posted by Harm
rocafella: can you be a little bit more precise.
|
Quote:
Originally posted by rocafella
Any plans to optimize ioBanana? Of all current zipscripts for ioFTPD, I find ioBanana to be the most resource consuming script...I had to remove it from my faster sites and ioBanana lagged far to much during ~120mbit races.
|
well...simply put; iobanana is slow and uses a lot more resources then current zipscripts...just wondering if theres any plans to optimize it, always new features added but not much to boost its speed.
|
|
|
12-25-2003, 03:26 AM
|
#51
|
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
|
rocafella: You're only using other words to say the same thing.
"Hey! It's slow here..." What do you thing I can do with that ?
Stop criticizing and say something usefull.
What cpu do you have ? How much memory ? ...
You could even do some comparison with other zipscripts on the same computer.
Everyone: Merry Xmas. :banana:
|
|
|
12-29-2003, 03:57 AM
|
#52
|
Junior Member
Join Date: Oct 2003
Posts: 7
|
Quote:
Originally posted by Harm
rocafella: You're only using other words to say the same thing.
"Hey! It's slow here..." What do you thing I can do with that ?
Stop criticizing and say something usefull.
What cpu do you have ? How much memory ? ...
You could even do some comparison with other zipscripts on the same computer.:
|
I'm not critizing, I was just wondering if any optimizations could be done to speed up ioBanana.
And yes, I have compared ioB to other zipscripts, ioZS and php_psio, both are faster and less cpu consuming...I really like ioBanana; that is why I was hoping there could be a few speed improvements...
|
|
|
12-29-2003, 10:12 AM
|
#53
|
Posse Member
Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 1,956
|
It's slower because it does about 10,000 more things than all other zipscripts. The more features u have, the slower it will be. If you want a faster zipscript, you'll need to settle for one that doesn't include a dupecheck, check for .nfo and imdb, etc.
You should disable the compute stats on each file option too. I warned ppl that this would be cpu consuming.
|
|
|
01-18-2004, 01:08 PM
|
#54
|
Posse Member
Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 1,956
|
Just FYI, here's how the bitrate is fetched in ioB, for cbr and vbr MP3.
Code:
int CMP3Info::getBitrate() {
if (VBitRate) {
// get average frame size by deviding fileSize by the number of frames
float medFrameSize = (float)fileSize / (float)getNumberOfFrames();
/* Now using the formula for FrameSizes which looks different,
depending on which mpeg version we're using, for mpeg v1:
FrameSize = 12 * BitRate / SampleRate + Padding (if there is padding)
for mpeg v2 the same thing is:
FrameSize = 144 * BitRate / SampleRate + Padding (if there is padding)
remember that bitrate is in kbps and sample rate in Hz, so we need to
multiply our BitRate with 1000.
For our purpose, just getting the average frame size, will make the
padding obsolete, so our formula looks like:
FrameSize = (mpeg1?12:144) * 1000 * BitRate / SampleRate;
*/
return (int)(
( medFrameSize * (float)header.getFrequency() ) /
( 1000.0 * ( (header.getLayerIndex()==3) ? 12.0 : 144.0))
);
}
else return header.getBitrate();
}
|
|
|
01-29-2004, 10:51 AM
|
#55
|
Member
Join Date: Mar 2003
Posts: 75
|
ioB, option to disable complete/halfway announc
is there any way i can disable these for a specified section?
|
|
|
01-29-2004, 10:52 AM
|
#56
|
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
|
You can disable those announces for all sections but not for a specific section.
|
|
|
01-30-2004, 07:23 AM
|
#57
|
Member
Join Date: Mar 2003
Posts: 75
|
yeh i know..
will that option come? or not.. is possible with project-zs...
|
|
|
02-10-2004, 12:54 AM
|
#58
|
Member
ioFTPD Foundation User
Join Date: Jan 2002
Posts: 37
|
Yeah this is a feature that would be cool to have...
Disable Complete/Halfway for specific Sections. Since right now you can only disable newdir per section.
|
|
|
07-02-2004, 04:29 AM
|
#59
|
Senior Member
ioFTPD Scripter
Join Date: Feb 2004
Posts: 181
|
Quote:
# Groups excluded from monthly quota
|
Is possible to have also
Code:
# Users excluded from monthly quota
-That would be nice because certain fillers I would not want to have quota enforced on. Thx.
|
|
|
07-03-2004, 10:35 PM
|
#60
|
Senior Member
ioFTPD Scripter
Join Date: Feb 2004
Posts: 181
|
Nevermind, you can disregard that if you want; I figured out a different way to do what I wanted.
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:10 PM.
|