Old 09-22-2008, 01:16 AM   #391
mrlexo
Junior Member
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 13
Default

Thanks a ton o_dog, gonna test it out now!
mrlexo is offline   Reply With Quote
Old 09-23-2008, 01:57 PM   #392
GBRenson
Junior Member
 
Join Date: Dec 2006
Posts: 5
Default !imdb

!imdb godfather in chan results in:

[imdb ] The Godfather (LIMITED) ( http://www.imdb.com/title/tt0068646/ ), a Francis Ford Coppola movie which scored 0 of 10 (- people voted). it peaked with 323 screens . Made in USA and they speak English, Italian, Latin

Any idea why the score and number of voters are not comming in correctly?
What file should I investigate?
GBRenson is offline   Reply With Quote
Old 09-26-2008, 08:11 AM   #393
GBRenson
Junior Member
 
Join Date: Dec 2006
Posts: 5
Default

Quote:
Originally Posted by GBRenson View Post
!imdb godfather in chan results in:

[imdb ] The Godfather (LIMITED) ( http://www.imdb.com/title/tt0068646/ ), a Francis Ford Coppola movie which scored 0 of 10 (- people voted). it peaked with 323 screens . Made in USA and they speak English, Italian, Latin

Any idea why the score and number of voters are not comming in correctly?
What file should I investigate?
Found it!
For those interested, change relevant entry in imdb.tcl to:

set matches [regexp {<div class="general rating">.+?<b>(.+?)/10</b>.+?<a href=\"ratings\" class=\"tn15more\">(.+?) votes</a>.+?</div>} $data -> rating votes]
GBRenson is offline   Reply With Quote
Old 09-29-2008, 12:17 PM   #394
GBRenson
Junior Member
 
Join Date: Dec 2006
Posts: 5
Default carriage/return

what instruction within ioNINJA.zst in the line announce.IMDBVAR would generate a carriage/return in channel ?
GBRenson is offline   Reply With Quote
Old 09-29-2008, 12:18 PM   #395
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

what are you talking about?
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 09-29-2008, 12:25 PM   #396
GBRenson
Junior Member
 
Join Date: Dec 2006
Posts: 5
Default

Quote:
Originally Posted by o_dog View Post
what are you talking about?
Info within announce.IMDBVAR is too much for 1 scentence in chan.
I want to split it (controlled) in 2 scentences with a carriage return.
GBRenson is offline   Reply With Quote
Old 09-29-2008, 12:27 PM   #397
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

use "\n" to split line
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 09-29-2008, 06:52 PM   #398
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

new nxtools fix out and this one works with new version of ioftpd. Not that it does not work with older versions. -6.6 I think
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 10-01-2008, 02:37 AM   #399
Dahlia
Member
 
Join Date: Sep 2008
Posts: 33
Default

Hi,
i have a problem with 'site rescan mp3'. When im trying to rescan my mp3dir i always get this error msg in SystemError.log:

Code:
09-30-2008 23:32:38 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "mpeghead": no such variable
    while executing
"binary scan $mpeghead B32 mp3head"
    (procedure "mp3information" line 139)
    invoked from within
"mp3information "$temp_mp3""
    (procedure "rescan" line 47)
    invoked from within
"rescan"
    invoked from within
"if {[lindex $args 0] == "SYMCLEAN"} { 
	symlinkclean
  } elseif {[regexp -nocase $ioNJ(skipdi
How can i fix that ?

Thank you.
Dahlia is offline   Reply With Quote
Old 10-01-2008, 07:33 AM   #400
razoor
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2006
Posts: 163
Default

is there annyway you could make an updater for top250 imdb sorting?
Since that list changes from time to time, so it would need some sort of checking and renaming that list on site.
But thats might be to much coding or something, just a request if it´s possible. =)
__________________
ioFTPD 7.0.3 nxTools ioNiNJA ioJM http://ioftpd.zapto.org /
razoor is offline   Reply With Quote
Old 10-01-2008, 07:44 AM   #401
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

dahlia: you have a bad mp3 file. remove it

razoor: don't see any nice way of doing that.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 10-01-2008, 01:40 PM   #402
Dahlia
Member
 
Join Date: Sep 2008
Posts: 33
Default

Quote:
Originally Posted by o_dog View Post
dahlia: you have a bad mp3 file. remove it
hm. i thought is something like that but i hope not. i hope all my mp3 rls r ok :-)
but the problem can be in my previous zs script. i was using ngzs script before ioninja. mby that ngzs (by badaas) made some 'bad' mp3 files in mp3 dirs. because mp3 files are all okey /rescan shows file crc always ok/

so that error text means: "this is not normal mp3". right ? i must check the dir again what can be wrong inside :-(



btw. razoors idea is not bad. i need similar script for everyday clearing and resort for few dirs with imdb top250 movies :-)
it can be something like 'site rescan imdb' -> 'site resort imdb' -> but only with symlinks. /and why i dont use 'everyday' site rescan imdb ? -> its useless since that cmd changed the date of rescaned dirs :-(/

i used this script 1 or 2years ago:
http://rapidshare.com/files/15004033..._2-io.zip.html
- but now its totally useless bcs imdb site is rewritten.
Dahlia is offline   Reply With Quote
Old 10-01-2008, 05:39 PM   #403
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

for top250 imdb: well, it would first of all need to keep a db of every single release uploaded, then that db would have to be kept up to date to actually find the movies we're looking for. Then setup some way of updating that list every day or so. In other words it's jsut not worth the time it would take.
Use "site rescan imdb" for resorting of imdb.

To tell you the truth i'm just not up for it right now. Got tons of new stuff already added to the next version that i need to sort out and fix. You got Tv sorting and tv poster downloading.... And alot of other stuff thats changed. The ioFTPD.message file are gone in next version, replaced by another way of showing racestats. Better since this will let you control the output all over the site without rescanning.
Moved alot of the proc to a lib file that is laoded on startup instead of loadign it each time ioNiNJA is run. This is no where near all of the changes either.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 10-02-2008, 09:00 AM   #404
razoor
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2006
Posts: 163
Default

Well thats why we love you o_dog, you keep this script up to date.
And we are all greateful for it, without it we wouldent have annything to use.

But maybe you could have that imdb thingy on your list for todo,. (if you find a way to do this)
As Dhalia said, it only need to update those in /imdb250/ dir.
Caus if i add a movie from that list it will be 2 or more that have the place 034_movie.1 , 034_movie.2 so need check what place those movies are and then rename it to 035_movie.1, 039_movie.2. Since the symlink is still valid after that.
A well was just an idea, if you feel up to it someday it will be much appreciated.

*edit*
Or just make an schedule to rescan all imdb on imdb250 dir only?
__________________
ioFTPD 7.0.3 nxTools ioNiNJA ioJM http://ioftpd.zapto.org /
razoor is offline   Reply With Quote
Old 10-02-2008, 09:06 AM   #405
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

i don't think i will add that imdb top250 update thing. it's just not worth the effort. There's just no way of really doing it nicely. So don't keep your hopes up for this one.

The imdb part of ioninja is moving to a plugin.

another new thing in next version is that resort & rescan can cover several drives and virtual raids.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Reply

Tags
alpha, dead, support, thread, versions

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 09:42 AM.

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