PDA

View Full Version : [NEW] php psio v0.1.4


SnypeTEST
02-22-2004, 11:21 PM
php psio 0.1.4
http://www.ioftpd.com/scripts/download.php?f=63

+ new faster cache, optional in config.php
+ progress meter cookie thing in footer [#####----] blah
- remove zip.exe


post replies/bugs/suggestions for this version here on this thread.

ferran
02-23-2004, 08:53 AM
great!

:D

rAWfOX
02-23-2004, 09:28 AM
G/W

Sersen
02-23-2004, 06:43 PM
getting this here with the new version,did i miss something from upgrading to 1.4 from 1.3? with 1.3 all worked fine

150 Opening ASCII mode data connection for xxx.nfo.
226-.--------------------------------------------------.
226-
226-Warning: Invalid argument supplied for foreach() in D:\ioFTPD\scripts\psio\imdb.php on line 43
226-
226-Warning: Invalid argument supplied for foreach() in D:\ioFTPD\scripts\psio\imdb.php on line 52
226-| + File: ok! |
226-`--------------------------------=====-------------'

maybe you can have a peek at it :banana:

bye and thanks for the progressmeter *hehe*

odd
02-24-2004, 08:41 AM
Same here.

STOR SomeNfoFile-heh.nfo
150 Opening ASCII mode data connection for SomeNfoFile-heh.nfo
226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
226-
226-Warning: Invalid argument supplied for foreach() in C:\ioFTPD\scripts\php_psio\imdb.php on line 43
226-
226-Warning: Invalid argument supplied for foreach() in C:\ioFTPD\scripts\php_psio\imdb.php on line 52
226-| + File: ok! |
226-`--------------------------------=====-------------'
226 [Section: Default]-[Free: 113MB]-[Credits: 0.0M]-[Ratio: Unlimited]
Transferred: SomeNfoFile-heh.nfo 6_823 bytes in 0,08 (6,66 KBps)


EDIT:
Is it possible to change characters in the progressbar?
I noticed this in the func.php

return str_repeat("#",$bars).str_repeat("-",20-$bars);
And tryed to replace "#" with words but the word repteded it self. So is it possible to put a word instead of "#" in the progressbar?

SnypeTEST
02-25-2004, 09:02 AM
yep u can put words

odd
02-25-2004, 10:26 AM
sorry I wasnt clear enough.

What I meant was if I could put a word like this

[PROGRESS-BAR] it would look like this when upping.

[PROGRE######] -> [PROGESS-B###] -> [PROGESS-BAR] finished.

is this possible. NOTE if its not, dont waste time changeing anything, I just wanted to see how it looked. It might not even be good looking so if it cant be done now dont waste your time on it :) thx
But if it can be done without much problem would u like to tell me how?
Im not a coder nor will ever be so I have no clue what to do.
I tryed to change the code to following
return str_repeat("PROGESS-BAR-BLA-BLA-",$bars).str_repeat("#",20-$bars);
But then as I should have know the cookie just repteded it self 20times.

Mouton
02-25-2004, 10:33 AM
u sure have odd ideas...
anyway, using his code, it can't be done.
but u can just change the line to something like that (un-tested):

return substr("PROGRESSBAR-PROGRESS",0,$bars).str_repeat("#",20-$bars);

Your string must be 20 chars long, because the $bars variable has a max of 20... So when complete, it will show chars 0 to 19 (20 chars) of your string, and 20-20=0 times #.

odd
02-25-2004, 11:08 AM
226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
226-| + SFV-file: oK! |
226-`-[####################]------------------[ 0/17]--'

226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
226-| + CRC-Check: oK! |
226-`-[PR##################]------------------[ 1/17]--'

226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
226-| + CRC-Check: oK! |
226-`-[PR##################]------------------[ 2/17]--'

226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
226-| + CRC-Check: oK! |
226-`-[PROG################]------------------[ 3/17]--'

226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
226-| + CRC-Check: oK! |
226-`-[PROG################]------------------[ 4/17]--'


mahahahha it works ;) many thx mouton
"odd ideas" I guess Iam making up for my name :)

freak007
02-25-2004, 01:38 PM
I have a Problem with php_psio 0.1.4 and imdb too.

150 Opening ASCII mode data connection for test.nfo.
226-.--------------------------------------------------.
226-
226-Warning: Invalid argument supplied for foreach() in C:\ioFTPD\scripts\php_psio\imdb.php on line 43
226-
226-Warning: Invalid argument supplied for foreach() in D:\ioFTPD\scripts\php_psio\imdb.php on line 52
226-| + File: ok! |
226-`--------------------------------=====-------------

Using ioFTPD 5.8.3r + ioa 1.1.0 + php_psio 0.1.4

I have tried to replace the php4ts.dll that came with ioFTPD with the php4ts.dll from the php.rar pack from Snypes Page but the same Problem so i wnt back to original ioFTPD php4ts.dll

Please someone could help ?

Thx

Freak007

SnypeTEST
02-25-2004, 03:28 PM
Originally posted by freak007
I have a Problem with php_psio 0.1.4 and imdb too.



Using ioFTPD 5.8.3r + ioa 1.1.0 + php_psio 0.1.4

I have tried to replace the php4ts.dll that came with ioFTPD with the php4ts.dll from the php.rar pack from Snypes Page but the same Problem so i wnt back to original ioFTPD php4ts.dll

Please someone could help ?

Thx

Freak007

will be fixed asap, been working on iom0d , 'work' , etc :)

freak007
02-25-2004, 04:43 PM
Great man

Very Thanks

MOVAH09 posted a fix on irc.
Maybe you could use this for you package:
http://www.deinecam.de/phppsio_imdbfix.rar

Cya Freak007

MaZza_Dj
02-28-2004, 10:59 AM
hi snypeTEST 8)))
excuse me but why some release in sfv when are uploaded there is this bug?


;Planetarium Rulez
;
01-nervchild-we_got_(a_bass_overload)-delta.mp3 da5b3d48
3 da5b3d48 <-------- with this the release remain incomplete

DaPhreak
02-28-2004, 11:02 AM
Originally posted by MaZza_Dj

;Planetarium Rulez
;
01-shit_head_mp3s_without_rls_name.mp3 da5b3d48
3 da5b3d48 <-------- with this the release remain incomplete

hmm .. is the original sfv maybe not clear ?!

SnypeTEST
02-28-2004, 11:03 AM
php psio does not edit/delete anything in sfv files. your sfv may be corupt.

MaZza_Dj
02-28-2004, 11:12 AM
is one problem from original sfv file?
if is this not depende from me but from the other site and other sfv script... 8))) there isn't php_psio if work bad :p

St0rm
02-28-2004, 03:00 PM
This might happen when 2 users try to up the same sfv at the same time. 1 users uploads it, the other 'resumes' it and because user 2's sfv has some comments at the start, it uploads crap at the end. So try to disallow resuming of files.

Maybe :confused:

MaZza_Dj
02-28-2004, 04:52 PM
???? what?
i seack very little english but this...
8))))))))))))))
the same file in the same moment ohhhh in italian 'porca troia che sfiga...' in english mmmm that misfortune?

:cool: thanks for the help men

Guardian
02-29-2004, 04:52 PM
u gonna add a function to del the cached files after race is complete for new version ?

.ioFTPD.psio_cache._mp3_info_ etc...

Grtz
Guardian

Sersen
02-29-2004, 05:30 PM
STOR file_id.diz
150 Opening ASCII mode data connection for file_id.diz.
226-.--------------------------------------------------.
226-| + CRC-Check: SKIPPED! |
226-
226-Warning: Division by zero in D:\ioFTPD\scripts\psio\funcs.php on line 4

getting this error here.

bye

foutchman
03-03-2004, 05:45 PM
is it possible to use 2 folders for creating incomplete tagz ?
like for example in the config.php , having a setup like :

$incomplete_cd_indicator = "..\\..\\(incomplete)-(%0)-%1";
$incomplete_indicator = "..\\(incomplete)-%0";
$incomplete_cd_indicator = "D:\\ftproot\\incomplete\\(incomplete)-(%0)-%1";
$incomplete_indicator = "D:\ftproot\\incomplete\\(incomplete)-%0";

so I can check directly in INCOMPLETE folder if there is any to finish , or directly in the dir I'm uploading to .
hehe , i've tried to create my own $incomplete_cd2_indicator fonction , in "funcs.php" but no way , i dunno nothing in programming , copy/past isn't enough ! :D :D :D


a little annoying thing is all the new ".ioFTPD.psio_cache._" files created , like Guardian said , a nicee option, will be to delete them after the race.

great zipscript Snypetest.




... kthx.stfu.omg.roflmao.afk.btw ...

wooolF[RM]
03-03-2004, 07:04 PM
Originally posted by foutchman
is it possible to use 2 folders for creating incomplete tagz ?
[... skipped ...]
so I can check directly in INCOMPLETE folder if there is any to finish , or directly in the dir I'm uploading to .I'm agreed, that would help a lot on some sites :)

SnypeTEST
03-03-2004, 11:14 PM
ive been busy lately -- alot of school work / colleges / job blah blah... I'll see when I can get around to it

wooolF[RM]
03-07-2004, 04:23 PM
sounds great :) and yes, real life takes lots of time from time to time :)

SnypeTEST
03-12-2004, 12:07 PM
I'll do some stuff today... :P probably release the fix for the imdb thing which someone else already fixed :-P.

My shmem thing is still beta... works(worked!) pretty well.... just gotta rewrite the class... badaas implemented a similar thing into his ZS , he said it was fast.. join #iom0d [efnet] check out his site.

oldelpaso
03-13-2004, 05:08 AM
Originally posted by Sersen
STOR file_id.diz
150 Opening ASCII mode data connection for file_id.diz.
226-.--------------------------------------------------.
226-| + CRC-Check: SKIPPED! |
226-
226-Warning: Division by zero in D:\ioFTPD\scripts\psio\funcs.php on line 4

getting this error here.

bye



This happends when no .sfv is finde. Reupload .sfv

oldelpaso
03-13-2004, 05:09 AM
Originally posted by oldelpaso
This happends when no .sfv is finde. Reupload .sfv
then site rescan done/fixt :)

Sersen
03-13-2004, 06:42 AM
yep,no .sfv file because it was a zip archive,in 1.3 it worked fine only in 1.4 this appears.

bye

Unique
03-13-2004, 06:42 AM
Is there an average speed cookie? the %A one doesnt work correct.

Seems it gets average speed from files and not release... (kinda like iozs does) So if someone ups 2 files at 20 mb/sec, and waits an hour between each file it will still say 20mb/sec average :eek:

foutchman
03-14-2004, 09:37 AM
quote:
--------------------------------------------------------------------------------
Originally posted by Sersen
STOR file_id.diz
150 Opening ASCII mode data connection for file_id.diz.
226-.--------------------------------------------------.
226-| + CRC-Check: SKIPPED! |
226-
226-Warning: Division by zero in D:\ioFTPD\scripts\psio\funcs.php on line 4



in config.php
that fix this error msg for me

$allowed_types = "jpg,avi,mpg,cue,m3u,diz";
$ignored_types = "diz,jpg,cue,m3u,nfo,sfv";

MaZza_Dj
03-14-2004, 10:09 AM
Yes, Same problem from me... I have change one option: "Force sfv for first = True" , but the problem is only avoided not resolved 8)))))

odd
03-14-2004, 10:38 PM
Hey snyptest

When reUploading nfo in a already complete release all php_psio.message files get deleted(?) except imdb(if your useing it).
But if I upload nfo and after that reupload sfv(or maybe just rescan) all stats like user,group,nfo_exerpt gets back.


When reuploading a sfv-file(or rescan) in a release dir that wasent original uploaded when php_psio was installed, the release complete message gets bugged.
250-Release Completed in 12492d 5h 4m 29s
Dunno how it works but if script cant get the time when it was completed maybe it could add tag N/A instead of 12492d 5h 4m 29s.

SnypeTEST
03-15-2004, 07:34 PM
hi guys, still working on stuff... very busy months/weeks.. alot of important stuff going on for me. I dont know when I'll be back to the ioftpd/irc/internet world :) , I check ioftpd boards all the time , just no time for coding.

wooolF[RM]
03-16-2004, 03:46 PM
I hope this project wont die as some other zipscripts did :( gl with your real life SnypeTEST :)

laShan
03-19-2004, 05:26 AM
When uploading MP3's that are Blues, php_psio 0.1.4 reports them as being Remix. The problem is in mphp3.php it seems.
Apart from that, php_psio is awesome :)

odog
03-19-2004, 05:44 AM
dunno what si going on with the script it deltes 1 file in every sfv race but still post the release as complete, when i try to reupload the file it gets delted again and the script send complete announce to sitebot again. using ioftpd 5.8.4+mediinfo 4.0+ioa+newdir+ioFTPWHODLX.itcl. i can't find anything thats wrong and it does't report any erros it just deltes the last file uploaded.
would really like som help.

Unique
03-22-2004, 12:50 PM
mm whats the cookie to use for user and group in the norace announce?/
i tried %U but it doesnt work...


Cookies seem to be changing anywayz :confused:
example:
$video_norace_complete = "COMPLETE: \"%v\" \"DONE -> %B%r%B [ %B%m%BmB in %B%f%BF at %B%A%BkB/s ] was completed by %B%u%B racer(s) from %B%g%B group(s). %l %L\""; */

$user_top = "STATS: \"%v\" \"%n. %B%u%B/%g [%mM/%fF/%p%/%sKB/s] - rank:%u\"";


%u is user in stats but a number in complete :confused:

Either way i wanted something like this:
$audio_norace_complete = "COMPLETE: \"%v\" \"DONE -> %B%r%B [ %B%m%BmB in %B%f%BF at %B%A%BkB/s in %t ] was completed by %B%u%B/%g \"";

Anyone can help?
:banana:

SnypeTEST
03-24-2004, 09:55 AM
unique hmmm


$audio_norace_complete = "COMPLETE: \"%v\" \"DONE -> %B%r%B [ %B%m%BmB in %B%f%BF at %B%A%BkB/s in %t ] was completed by %B".getenv("user")."%u%B/".getenv("group")." \"";


odog

no clue dog...

LaShan

look in arrays.php, and change blues to remix ? :) I think thats the file anyway....

laShan
03-25-2004, 11:02 AM
Actually, the problem is in mphp3.php, I did a ugly little hack to fix it, not really sure if I messed something else up.

sid
04-09-2004, 03:51 AM
can you send me this hack?
tnx
:)

bobby89
04-19-2004, 01:46 PM
when i send an nfo from a movie i get ..

226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
226-
226-Warning: Invalid argument supplied for foreach() in C:\ioFTPD\php_psio\imdb.php on line 43
226-
226-Warning: Invalid argument supplied for foreach() in C:\ioFTPD\php_psio\imdb.php on line 52
226-| + File: ok! |
226-`--------------------------------=====-------------'

any idea what i did wrong?

SnypeTEST
04-19-2004, 02:46 PM
bobby89

Originally posted by freak007
Great man

Very Thanks

MOVAH09 posted a fix on irc.
Maybe you could use this for you package:
http://www.deinecam.de/phppsio_imdbfix.rar

Cya Freak007

bobby89
04-19-2004, 05:25 PM
Thanks SnypeTEST, great script!

ftd
04-26-2004, 05:28 PM
im getting this sfv problem aswell

after you upload the first mp3 and race stats are generated everything goes downhill, deletes new files you upload. i thought maybe if i delete the dir and try again, it somehow remembers and wont let you upload a new sfv/anything (just deletes after you finish sending i guess) and i dont have a dupe logger enabled

which would be the best stable build to go back to?

hot_pit
04-27-2004, 08:31 AM
deleting files is an problem on bad OnUploadComplete event ... check yours and you will see the problem ;)

ftd
04-28-2004, 06:52 PM
[Events]
OnUploadComplete = EXEC php.exe -q c:\ioFTPD\php_psio\zipscript-c.php
OnUploadComplete = TCL ..\scripts\nfourl.itcl
OnUploadComplete = EXEC ..\ioTRIAL\php.exe -q -n c:\ioFTPD\iotrial\main.php xfermon
OnUploadError = EXEC php.exe -q c:\ioFTPD\php_psio\zipscript-c.php
OnFtpLogIn = EXEC ..\scripts\ioA\ioA.exe logon

there something wrong with that?
ioftpd is in c:\ioftpd btw :)

hot_pit
05-03-2004, 07:06 PM
Originally posted by ftd
[Events]
OnUploadComplete = EXEC php.exe -q c:\ioFTPD\php_psio\zipscript-c.php
OnUploadComplete = TCL ..\scripts\nfourl.itcl
OnUploadComplete = EXEC ..\ioTRIAL\php.exe -q -n c:\ioFTPD\iotrial\main.php xfermon
OnUploadError = EXEC php.exe -q c:\ioFTPD\php_psio\zipscript-c.php
OnFtpLogIn = EXEC ..\scripts\ioA\ioA.exe logon

there something wrong with that?
ioftpd is in c:\ioftpd btw :)

OnUploadComplete = EXEC ..\ioTRIAL\php.exe -q -n c:\ioFTPD\iotrial\main.php xfermon => maybe that

and i suggest you to put php.exe on same dir as ioFTPD.exe then
you use EXEC php.exe .... like you did on first line

are paths correct ??? check them ...

iXi
05-05-2004, 09:58 AM
hum movie sort dont work for me~ (symblink...)
mp3 sort works fine (symblink.... )
but movie dont want to work ;(

cya

Jofa
05-09-2004, 05:02 PM
Is there any way to get php psio to clean up after a genre ban ?
Now it leaves the folder nfo file sfv file and all 0-byte mp3 files..
Or maybe there is some other script that can do that for me ?

please help
//Jofa

hot_pit
06-11-2004, 01:13 AM
it would be a nice new feature if progress bar [#####:::::] could be used on $progressmeter . And on Halfway and New Leader show us the stats of racer like [XMB/51.6%/XKB/s] . Thnx Snype keep up the good work :D

ds-
07-31-2004, 06:03 PM
HI,
i have some trouble with deleted files. Is it a same problem like wrote ftd.

Sometimes on race/norace i have in dirs (mp3/divx, is it some) deleted files.

logs/xferlog
and files in uploaded dir:
.ioFTPD.filedata
.ioFTPD.psio_cache._sfv_files_
- these 3 files includes the deleted files. but in the dir missing.

Anybody knows why ?


my ioftpd.ini
[Events]
OnFTPLogIn = EXEC ..\scripts\stormactivity\stormactivity.exe login
OnServerStart = TCL ..\scripts\ocscript\OnServerStart.itcl
OnLogIn = EXEC ..\scripts\ioA\ioA.exe logon
Upload
OnUploadComplete = EXEC php.exe -q C:\ioFTPD\php_psio\zipscript-c.php
OnUploadError = EXEC php.exe -q C:\ioFTPD\php_psio\zipscript-c.php
OnUploadError = TCL ..\scripts\newdir\OnUploadError.itcl
;!!! this OnUploadComplete line must be added after any zipscript !!!
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl
OnNewDir = TCL ..\scripts\newdir\OnNewDir.itcl
OnNewDir = EXEC ..\scripts\stormsearch\stormsearch.exe newdir
OnDelDir = TCL ..\scripts\newdir\OnDelDir.itcl
OnServerStart = TCL ..\scripts\newdir\OnServerStart.itcl
OnUploadComplete = TCL ..\scripts\nfourl.itcl
OnUploadComplete = TCL ..\scripts\mp3sort.itcl
OnUploadComplete = EXEC ..\scripts\ioSavemnfo\ioSavem.exe upload
OnUploadComplete = EXEC ..\scripts\ioSavemsfv\ioSavem.exe upload
OnUploadComplete = EXEC ..\scripts\ioSavemsubs\ioSavem.exe upload

- i have no idea whats wrong. But with this setting i used ioZS and with him is files upload ok.



PLs. help. :(

chruez
11-26-2004, 04:46 PM
does anyone happen to have the imdb fix for php_psio?

i mean the links here on the board are dead. so would be nice if someone could post a working link or the file again. thx :x

SnypeTEST
11-26-2004, 08:28 PM
just load imdb.php @ the beginning of zipscript-c.php, and comment out the require from the funcs.php

chruez
11-27-2004, 04:40 AM
wooooooooot! thx bro :-D

Moffeneus
11-29-2004, 01:15 PM
[L] 226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
[L] 226-| + CRC-Check: oK! |
[L] 226-
[L] 226-Warning: Unknown modifier 'O' in C:\ioFTPD\php_psio\funcs.php on line 1196
[L] 226-
[L] 226-Warning: Unknown modifier 'O' in C:\ioFTPD\php_psio\funcs.php on line 1196
[L] 226-
[L] 226-Warning: Unknown modifier 'O' in C:\ioFTPD\php_psio\funcs.php on line 1196
[L] 226-
[L] 226-Warning: Unknown modifier 'O' in C:\ioFTPD\php_psio\funcs.php on line 1196
[L] 226-
[L] 226-Warning: Unknown modifier 'O' in C:\ioFTPD\php_psio\funcs.php on line 1196
[L] 226-
[L] 226-Warning: Unknown modifier 'O' in C:\ioFTPD\php_psio\funcs.php on line 1196
[L] 226-
[L] 226-Warning: Unknown modifier 'O' in C:\ioFTPD\php_psio\funcs.php on line 1196

when a file finished upload i get this, can someone help please?

SnypeTEST
11-29-2004, 05:09 PM
paste lines 1194 through 1198

Moffeneus
12-13-2004, 01:17 PM
}

if(preg_match("/^".$baseexp."$/i",$base) && preg_match("/^".$typeexp."$/i",$type)) {
$matches[$i]=$file;
$i++;

lucaz
12-16-2004, 09:18 AM
[L] 226 Transfer complete.
[R] 226-
[R] 226-Warning: fopen(..\site\MP3\1216\DJ_Javi_Boss_-_Master_39_Live_at_Central-CD-2004-EviL\.ioFTPD.psio_cache._rlsinfo_): failed to open stream: No such file or directory in G:\ioFTPD\php_psio\cache.php on line 17
[R] 226-
[R] 226-Warning: fwrite(): supplied argument is not a valid stream resource in G:\ioFTPD\php_psio\cache.php on line 18
[R] 226-
[R] 226-Warning: fclose(): supplied argument is not a valid stream resource in G:\ioFTPD\php_psio\cache.php on line 19

?

cpas
01-05-2005, 07:45 PM
Originally posted by SnypeTEST
just load imdb.php @ the beginning of zipscript-c.php, and comment out the require from the funcs.php

Plz could u explain for people who are not dealing with coding ..

Iv done a brand new installation of the last php_psio + dzbot.tcl and here is what all the announce look like :

<SiTE> [DiVX] + Directory deleted: DiVX/%boldTest5%bold by %boldUSER%bold@SiTEOPs

Cookies seems to have a prob :(

odog
02-24-2005, 12:04 PM
saw you guys had some problem with this error when uploading a file and no sfv exists. this gets rid of the msg.
and yes i know it aint all that nice but atleast it works!
replace in funcs.php (at the top of the file):

function progressmeter($total,$found) {
$dpercent = round($found/$total,1);
$bars = round(20*$dpercent,0);
return str_repeat("#",$bars).str_repeat("-",20-$bars);
}

with

function progressmeter($total,$found) {
if ( $total == "" ) {
return str_repeat("#",0).str_repeat("-",20-0);
} else {
$dpercent = round($found/$total,1);
$bars = round(20*$dpercent,0);
return str_repeat("#",$bars).str_repeat("-",20-$bars);
}
}

iam
02-28-2005, 12:45 AM
Originally posted by odog
saw you guys had some problem with this error when uploading a file and no sfv exists. this gets rid of the msg.
and yes i know it aint all that nice but atleast it works!
replace in funcs.php (at the top of the file):

function progressmeter($total,$found) {
$dpercent = round($found/$total,1);
$bars = round(20*$dpercent,0);
return str_repeat("#",$bars).str_repeat("-",20-$bars);
}

with

function progressmeter($total,$found) {
if ( $total == "" ) {
return str_repeat("#",0).str_repeat("-",20-0);
} else {
$dpercent = round($found/$total,1);
$bars = round(20*$dpercent,0);
return str_repeat("#",$bars).str_repeat("-",20-$bars);
}
}

thx, working

ZAiNT
03-10-2005, 12:01 AM
1. someone uploads a file
2. psio renames it to somefile.bad => release 98% complete
3. after 'site rescan' somefile.bad is suddenly crc-ok(?) => release 100% complete

anyone else had this problem?

ps. lovely script ds.

prozak
03-21-2005, 05:22 PM
As far as I see there is no option for files to be deleted when they do not pass sfv check. Could there be an option that would allow for deletion of all non passed files instead of them being renamed to .bad?

Thanks whatever the anwer may be.

bethlehem
04-04-2005, 10:50 AM
Great work with that zipscript !!

the only thing which has to be improved is the deleting of the cache files like

.ioFTPD.psio_cache._mp3_info_
.ioFTPD.psio_cache._rlsinfo_
.ioFTPD.psio_cache._sfv_files_
.ioFTPD.psio_cache._sfv_info_

this is really annoying :(

but except of this the zipscript is really nice !!

hot_pit
04-04-2005, 11:09 AM
Dont know if its just me , but

$realtime_mp3_info = " ÛÛ TiTLE : %y\n". always give same title (the first mp3 uploaded).

Btw on imdb info uploaded on nfo, psio should "detach" the nfo then get the info, cause the way it is now, until grab info, psio freezes the upload on the nfo ...

I cant wait to get new version ...

Except that, psio is really nice , thnx snype ;)

SnypeTEST
04-05-2005, 04:58 PM
turn mp3 cache off.

hot_pit
04-06-2005, 07:50 AM
Originally posted by SnypeTEST
turn mp3 cache off.

its already off

bethlehem
04-06-2005, 01:21 PM
cache is off completely, but still the cache files are created

iam
04-11-2005, 01:42 PM
Originally posted by prozak
As far as I see there is no option for files to be deleted when they do not pass sfv check. Could there be an option that would allow for deletion of all non passed files instead of them being renamed to .bad?

Thanks whatever the anwer may be.

yeah needeed, too many file *.bad...

SnypeTEST
04-11-2005, 05:48 PM
oh.. sorry guys :) i am taking alitle break until d1 releases new version. I bet someone can just update my script to do not rename bad files

sk1nt
04-12-2005, 03:29 AM
Easy done, in zipscript-c.php replace

if (file_exists($filename.".bad")) {
unlink($filename.".bad");
}
rename($filename,$filename.".bad");
remfile($filename);

with

if ($create_bad_files == TRUE) {
if (file_exists($filename.".bad")) {
unlink($filename.".bad");
}
rename($filename,$filename.".bad");
remfile($filename);
} else {
unlink($filename);
}


If you want the same change for zips do the same change some lines above.

iam
04-17-2005, 09:33 PM
thx sk1nt, (not test atm),

it is normal that that would be long?
Transferred: avp-rejects.nfo 11 KB in 42,52 seconds (0,3 KB/s)

when I activate:
$IMDB_CONF['ENABLED'] = TRUE;
$IMDB_CONF['SECTIONS'] = "DIVX";
$IMDB_CONF['SCREENS_LAYOUT'] = "%B%c%B %n SCREENS :: ";
$IMDB_CONF['ANNOUNCE_MSG'] = "";

without this option that work fine.

hot_pit
04-17-2005, 09:49 PM
Originally posted by iam
thx sk1nt, (not test atm),

it is normal that that would be long?
Transferred: avp-rejects.nfo 11 KB in 42,52 seconds (0,3 KB/s)

when I activate:


without this option that work fine.

sure, its downloading info from imdb and parsing it ...

iam
04-17-2005, 10:09 PM
possible to reduce the time by limiting research ?

SnypeTEST
04-18-2005, 06:16 PM
maybe you can uhh, use your local imdb site... maybe something like

uk.imdb.com ?? etc

iam
04-18-2005, 06:47 PM
I had not thought...
nice: Transferred: ***-****.nfo 4 KB in 4,76 seconds (1,0 KB/s)
thx a lot :) but i have a problem now :(

before (working but very slow):[R] 250-+--------------------------------------------------------------------+
[R] 250-Title : Harold & Kumar Go to White Cas
[R] 250-Director : Danny Leiner
[R] 250-Tagline : Fast Food. High Times.
[R] 250-Cast : English title) (UK)
[R] 250-Plot : Buttoned up Harold and laidback Kumar are stoners
[R] 250-Rating : 7.0/10 (8,898 votes)
[R] 250-Runtime : USA:88 min / USA:90 min (uncut version)
[R] 250-Certification : Australia:MA / Canada:13+ (Quebec) / Canada:14A (
[R] 250-User Comments : Too Good To Miss!
[R] 250-MPAA : Rated R for strong language, sexual content, drug
[R] 250-Country : USA / Canada / Germany
[R] 250-Language : English
[R] 250-Color : Home | Top Movies | Photos | Independent Film | Br
[R] 250-Screens : $5,480,378 (USA) (1 August 2004) (2,135 Screens)$2
[R] 250-Url : http://www.imdb.com/title/tt0366551/
[R] 250-+--------------------------------------------------------------------+

after (problem):[R] 250-+--------------------------------------------------------------------+
[R] 250-Title : Harold & Kumar Go to White Cas
[R] 250-Director : Non-Reported
[R] 250-Tagline : Non-Reported
[R] 250-Cast : English title) (UK)
[R] 250-Plot : Non-Reported
[R] 250-Rating : Non-Reported
[R] 250-Runtime : Non-Reported
[R] 250-Certification : Non-Reported
[R] 250-User Comments : Non-Reported
[R] 250-MPAA : Rated R for strong language, sexual content, drug
[R] 250-Country : Non-Reported
[R] 250-Language : Non-Reported
[R] 250-Color : Home | Top Movies | Photos | Independent Film | Br
[R] 250-Screens : $5,480,378 (USA) (1 August 2004) (2,135 Screens)$2
[R] 250-Url : http://french.imdb.com/title/tt0366551/
[R] 250-+--------------------------------------------------------------------+

SnypeTEST
04-18-2005, 07:10 PM
I see.. you must go into imdb.php and change the way things are worded...

for instance,

"Tagline" = "Accroche"
"User Rating" = "Note des utilisateurs"
"Runtime" = "Durée"


etc. etc. etc. :) have fun

iam
04-18-2005, 07:11 PM
yes I saw, i m doing :)

SnypeTEST
04-18-2005, 07:15 PM
toma.

edit: whoops reget. :)

edit: wtf. i dnot see attachment..

iam
04-18-2005, 07:24 PM
toma ? dont understand sorry (im french)

and:
[R] 250-Title : Harold & Kumar Go to White Cas
[R] 250-Director : Danny Leiner
[R] 250-Tagline : Fast Food. High Times.
[R] 250-Cast : English title) (UK)
[R] 250-Plot : Buttoned up Harold and laidback Kumar are stoners
[R] 250-Rating : 7.0/10 (8,898 votes)
[R] 250-Runtime : USA:88 min / USA:90 min (uncut version)
[R] 250-Certification : Australia:MA / Canada:13+ (Quebec) / Canada:14A (
[R] 250-User Comments : Hilarious- simply brilliant
[R] 250-MPAA : Rated R for strong language, sexual content, drug
[R] 250-Country : USA / Canada / Germany
[R] 250-Language : English
[R] 250-Color : Color
[R] 250-Screens : $5,480,378 (USA) (1 August 2004) (2,135 Screens)$2
[R] 250-Url : http://french.imdb.com/title/tt0366551/

Transferred 1 file totaling 4 KB in 22,11 seconds (0,2 KB/s)

22 sec it is still long for a nfo :(
thx synpe
possible of disable certain function?

edit: Attachment: french.imdb.zip argh raced...[

SnypeTEST
04-18-2005, 07:28 PM
ah yes, in config.php you can disable IMDB :)

anyway, I posted up a french.imdb.php just incase you got it wrong :-P

http://www.ioftpd.com/scripts/download.php?f=714

iam
04-18-2005, 07:31 PM
I know, I want only disable certain function:

TITLE GENRE TAGLINE PLOT RATING CAST CERTIFICATION USER_COMMENTS MPAA COUNTRY LANGUAGE COLOR SCREENS DIRECTOR RUNTIME

(not the complete imdb)
..for that would be faster

SnypeTEST
04-19-2005, 09:41 AM
oh, yea just remove them from that line, although that line is also located in the middle of the script

jenga201
08-22-2005, 10:24 PM
I love your script, it works great.

Is there a way to have it check a crc within a filename?
ex.
FILENAME[YEAR]{D517AF3B}.mkv

have it pick the crc out of the {} and use that to check the file.

thanks