Go Back   FlashFXP Forums > > > >

bounty's scripts BQUOTA, NEWDIR, BTRIAL, OCSCRIPT, VERSION SCRIPT, IMDB.TCL

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-11-2005, 10:05 PM   #1
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default windrop crashes on alternative URL format in NFO // imdb.tcl

Uhm... I had this problem for a long time but finally found the problem:

my windrop crashes right away on recieving .nfo IF the url in it formatted like this:
http://us.imdb.com/Title?xxxxxxx

it does NOT crash if it's formatted in the old way like:
http://us.imdb.com/title/ttxxxxxxx/

(where xxxxxxx is the ID of the movie)

I'm pretty sure about this bug. Yes, I have tried the way with curl.exe, bot just freezes (stops with all responding etc (probably because it runs as a service)).

Could anyone help with this problem? (No, I don't code TCL, otherwise I would ask here, right?)

Regards
wooolF[RM] is offline   Reply With Quote
Old 02-12-2005, 01:59 PM   #2
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

quick fix...

in imdb.tcl find the following

set ttcode "0000001"
if [regexp {/title/tt[0-9]+} $html ttcode] {
set pos [string last / $ttcode] ; incr pos
set ttcode [string range $ttcode $pos end]
}

and ADD DIRECTLY AFTER THIS

if [regexp {/Title\?[0-9]+} $html ttcode] {
set pos [string last / $ttcode] ; incr pos + 5
set ttcode [string range $ttcode $pos end]
}

no more crashing... kthx
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 02-12-2005, 03:02 PM   #3
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

confirmed working, no more crashes, thnx2u ^_^
wooolF[RM] is offline   Reply With Quote
Reply

Tags
crashes, formatted, problem, url, windrop

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


All times are GMT -5. The time now is 11:22 AM.

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