Go Back   FlashFXP Forums > > > >

StarDog's scripts ioZS, newday

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-28-2003, 10:47 AM   #76
malexx
Senior Member
 
Join Date: Feb 2003
Posts: 104
Default

so i can delete this entrys in the ioz ini file?
malexx is offline   Reply With Quote
Old 02-28-2003, 12:45 PM   #77
zpr
Senior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 170
Default

StarDog, how can i lock uploaded and checked sfv file? pleez i need it fast thx!
zpr is offline   Reply With Quote
Old 02-28-2003, 01:40 PM   #78
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default

Ok, First, to clarify things. The links are done at a lower level, using NTFS (NTFS in Windows 2000 and up supports whats called junction points, they work very similar to symlinks in unix). Nothing need to be added to ioFTPD to support this, but if you don't have NTFS, it won't work.

Now to set it up. Lets say for example my MP3s are upped to dated dirs in D:\Incoming\MP3z\ and in this dir I want to have the sorted links. In D:\Incoming\MP3z make three sub dirs, Sorted by Genre, Sorted by Artist, and Sorted by Year. Next in ioZS.ini add the following lines:

AUDIO_GENRE_PATH=D:\Incoming\MP3z\Sorted by Genre\
AUDIO_ARTIST_PATH=D:\Incoming\MP3z\Sorted by Artist\
AUDIO_YEAR_PATH=D:\Incoming\MP3z\Sorted by Year\

Note: The dirs defined in ioZS.ini MUST be created, If not, it won't work, and you'll get an error in the iozs-error.log telling you the dirs don't exist. Also, the dirs that the MP3s will be sorted to must be on the same drive that the MP3s are upped to. Links do not work across filesystems.

Now lets say some wonderful tunes from 1986 are upped (and you allow these classic sounds) to D:\Incoming\MP3z\02.28.03\, in D:\Incoming\MP3z\Sorted by Year\ ioZS will make (if it doesn't already exsit) a sub folder called 1986 and in there, it will make another folder that matches the uploaded MP3 release folder, and it will make this folder link to the actual release in D:\Incoming\MP3z\02.28.03\. Basically to ioFTPD these two dirs will look identical, and they are, except that the files only reside in one folder. It will also make the links in Artist, and Genre dirs. If for some reason it can't creat the link, you'll get an error in the iozs-error.log file.

Hopefully this explains the link feature.

StarDog
Stardog is offline   Reply With Quote
Old 02-28-2003, 01:48 PM   #79
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default

zpr: I don't understand what you mean by 'lock' the file...If mean prevent people from uploading in an already checked release, then that requires using a pre-stor script. Something that checks the dir to see if there is already an sfv file present in the current directory.


I don't understand how people are using ioFTPD to run full sites..a lot of the scripts required to make it work correctly have not been developed yet. Don't forget that ioFTPD is still beta, and if the platform that scripters are building their scripts for is beta, then the scripts themselves are beta as well...
Stardog is offline   Reply With Quote
Old 02-28-2003, 02:15 PM   #80
-=DoBBeR=-
Senior Member
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 298
Default

a feature I'd like to see is that the script chmods the dir to 555 after sfv is completed, so noone can write to that dir when race is over, or is there already such a feature that I've missed?
-=DoBBeR=- is offline   Reply With Quote
Old 02-28-2003, 03:48 PM   #81
malexx
Senior Member
 
Join Date: Feb 2003
Posts: 104
Default

this you can make with the io file permissions,or grab yourself FTPServertools,there you have the Option in the Script!
malexx is offline   Reply With Quote
Old 02-28-2003, 04:14 PM   #82
malexx
Senior Member
 
Join Date: Feb 2003
Posts: 104
Default

about the Mp3 part!!!!!

i have it like this:
g:\site\4---MP3-Section\
there are the Artist,Genre,Year Folder,and one UploadFolder,
i upload Something in thje Uploadfolder and no links are created,also it says no sfv,but there is!


02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:04 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\
02-28-2003 12:42:05 ERROR: Finding .sfv in: g:\site\4---MP3-Section\upload\Rammstein\

this was read out so for sure there is a sfv:
|[Year:]|[Bitrate:] |[Frequency:]|[Mode:] |[Version:] |
[12:45:51] 226- | | 192 KBit | 44 KHz | Stereo | MPEG 1.0 Layer 3 |
[12:45:51] 226- +----====---------------===[UserTop]====------------------====----+
[12:45:51] 226- | 1. XXXXX 17.9MB 2F 100.00% 4724kB/s |
[12:45:51] 226- +----====---------------===[GroupTop]===------------------====----+
[12:45:51] 226- | 1. SiteOP 17.9MB 2F 100.00% 4724kB/s |
[12:45:51] 226- `---[#-------------------]-------======---------------[ 2/ 29]---'
malexx is offline   Reply With Quote
Old 02-28-2003, 06:00 PM   #83
zpr
Senior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 170
Default

sorry StarDog, maybe i said it in wrong way..

i meant when someone upload sfv and script checks it, make missing files etc then set chmod for that sfv file as 444 (read only)
zpr is offline   Reply With Quote
Old 02-28-2003, 06:41 PM   #84
-=DoBBeR=-
Senior Member
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 298
Default

Quote:
Originally posted by malexx
this you can make with the io file permissions,or grab yourself FTPServertools,there you have the Option in the Script!
if i do it this way only one racer can race a movie, I want alot of racers being able to race on a movie 777, but after sfv=completed I want dir chmodded to read only, 555
-=DoBBeR=- is offline   Reply With Quote
Old 02-28-2003, 07:02 PM   #85
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default

I'll add the ability to change the perms on completed release in a future version...
Stardog is offline   Reply With Quote
Old 02-28-2003, 07:07 PM   #86
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Exclamation v0.94 Released (MAJOR BUG FIX!)

Ok, I rushed this version out to fix a MAJOR problem when attempting to disable MP3 links. I've made lots of other changes, and really wanted to release this with full rescan ability, but it will have to wait until next week.

From the Changelog:

02/28/2003 v0.94
* Fixxed a MAJOR bug when attempting to disable MP3 Link dirs, it would still link, only in the current release directory. If this has happened to you, find me on IRC, and I will send you something to remove these links.
* Fixxed ZIP_COMPLETE message on a race, the racers % completed was wrong.
* Fixxed 100% complete tag not being removed when deleting files from ZIP release.
* Wrote on the fly CRC checking. If ioFTPD does not pass the CRC to ioZS, ioZS will calculate the file's CRC itself.
* Changed how the CRC value is stored in the .ioFTPD.race file.
* Now ioZS tests all files in the .sfv, even if they weren't passed through ioZS. This is basically one way of doing a rescan (remove sfv and resend it).
* Corrected MP3 year,bitrate,genre check to check to see if its accepted BEFORE it says the file is ok and counted. Also, if its not accepted, the file is removed.
* Fixxed Zip releases for groups that use "Disks xx/01" for releases with more than 1 disk. Now ioZS just keeps incrementing the total disk count. Also made it not log more than once. This made changes to .ioFTPD.race format. Thanks alot TALio! grr.
* Made various changes to both SFV and ZIP checks. (Mostly for the above fix, and to implement rescan)

Enjoy!

StarDog
Stardog is offline   Reply With Quote
Old 02-28-2003, 09:47 PM   #87
magregus
Junior Member
 
Join Date: Feb 2003
Posts: 3
Default hmm

is iozs in conjunciton with dzsbot spozed to announce racestats at the end, usertop and grouptop like zipscript?
magregus is offline   Reply With Quote
Old 03-01-2003, 11:03 AM   #88
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

hy.

just crashed ur script :/

doin multi delete of upped 100% files after moving them.

ta. i got a stackdump etc. if u need pm on chan.

l8tz.
b>d>>s is offline   Reply With Quote
Old 03-01-2003, 12:20 PM   #89
zpr
Senior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 170
Default

hmm weird, there was incomplete release (parent inc dir and inc dir in rls dir + some_file.r42-missing) and i did site rescanall some_file.sfv -> no effect yes, rescanned complete dir was created, but inc parent dir, inc dir from rls dir and that missing file haven't gone :/

using ioZS 0.94, ioA 0.7.0, ioFTPD 4.1.5
zpr is offline   Reply With Quote
Old 03-02-2003, 04:25 AM   #90
iSno
Junior Member
ioFTPD Registered User
 
Join Date: Sep 2002
Posts: 3
Default 2x complete msg

nice and fast script Stardog

but i got 2x complete +stats logged with "video race" (1x700mb) using 0.94 , where the 2nd complete states 20s longer racetime than the first .oO
iSno is offline   Reply With Quote
Reply

Tags
added, changed, downloaded, race, times

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
keep downloading files in queue? dR7Ma General Discussion 8 06-10-2005 03:28 AM
how to change F8 to something else? Gary King General Discussion 1 11-10-2004 07:03 PM


All times are GMT -5. The time now is 02:45 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)