PDA

View Full Version : ioNiNJA


Pages : [1] 2

o_dog
03-26-2011, 06:55 AM
2014-11-02: Update
Nothing new added, replaced media.exe and mediainfo.dll in Misc, hopefully they still work.
- replace ..\scripts\misc\media.exe
- replace ..\scripts\misc\mediainfo.dll
- replace ..\scripts\scripts\imdb.itcl
- replace ..\scripts\misc\NiNJALIB.tcl

Version info:
- Nothing new added, included fixes that were already posted in the thread. No need to update if the script works.

NEW:Zippyshare.com - ioNiNJA.1.0.Beta5.rar (http://www35.zippyshare.com/v/59256837/file.html)

joppiesaus
04-05-2011, 07:01 AM
Thanks o_dog your work is appreciated

mr.babek
04-20-2011, 01:49 PM
hooray for Odog!

SRH99
04-21-2011, 05:28 PM
o_dog, extremely nice to hear

m4r3z
05-01-2011, 03:16 PM
huzzaaah !

www.crashplan.com :>

o_dog
06-07-2011, 05:36 AM
there, now i have time and wills tart looking over the code. Expect an early release within a week or two. Need testers though so I can sort out the kinks.

o_dog
06-07-2011, 05:43 AM
And if anyone can recommend a webohotel thats free i would be very happy, mine went down

peep
06-11-2011, 04:38 PM
Considering your previous shell provider (tx shells) I'm assuming that you're swedish, so perhaps skysurfen.nu would be OK depending on your requirements (offers 2 GB storange, 20 GB traffic and PHP/MYSQL for free).

Give me a shout when you need something tested..

m4r3z
06-12-2011, 04:19 PM
I can throw up a folder on my home http, use it as mirror of you want.

mr.babek
06-16-2011, 04:03 PM
Odog, would it be possible to add a "free space and move script" to IOninja someday? This is something I really miss in IOftpd. For instance if you have a directory/volume that is running low on space to automatically free some space so uploading doesn't stop or when the site has an small incoming dir on a fast disk and files should be moved out to slower bigger disks when space in the incoming is running out.

peep
06-17-2011, 10:15 AM
Odog, would it be possible to add a "free space and move script" to IOninja someday? This is something I really miss in IOftpd. For instance if you have a directory/volume that is running low on space to automatically free some space so uploading doesn't stop or when the site has an small incoming dir on a fast disk and files should be moved out to slower bigger disks when space in the incoming is running out.

I have no idea if it works, but you could try to set up Warchive 2.1, who knows, maybe it'll work?

https://sites.google.com/site/ioftpdscripts/home/warc

mr.babek
06-17-2011, 04:54 PM
maybe it would but I am not interested in old scripts with no support. :eek: Too tricky. Thanks for the tip anyway.

o_dog
06-20-2011, 02:19 PM
mr.babek: yes, such a script is coming from me, but need to finish ioNiNJA update first. Warchive still works and it doesn't need all that much support. It has a few bugs but i would suggest you use it for now.

2011-06-20

ioNiNJA update :
Merged ioNiNJA with ioPRECHECK. Checks against sfv and stuff is made before an upload starts.
Anti****up: No more cd creation if sfv in root etc etc......
Removed locks, and changed the way ioNiNJA handles races.
Changed to curl for http access

Changed the way audio sorting works, can now look up artistname for sorting on audioscrobbler (less crappy tagging)
Also added functions to mvid sorting (same as audio)
Added a game script, for finding info on games
cduniverse scraper for xxx
TheTvDB.com script for TV info.

+alot of other things. I'm working hard at fixing a few kinks atm.

If there are some new things you want added leave a message.

Dahlia
06-21-2011, 02:14 AM
maybe it would but I am not interested in old scripts with no support. :eek: Too tricky. Thanks for the tip anyway.

yea o_dog is right, i suggest you to use warchive v1.4 which still work with current io version. the only thing i'm missing is some option with "do not change timestamps of dirs/files" (currently something change the timestamps of moved dirs, files still has the original timestamp) and some script which can do changes in sql database after 'move' or 'wipe'. thats what i'm missing.

o_dog
06-21-2011, 03:48 AM
i have no idea what that means. The timestamp of folder will probably change if you move it. Sure ou could revert it but I think that ioftpd would still touch the .ioFTPD file and windows would see that as a timestamp change for the dir. Not much to do about that one.

mr.babek
07-17-2011, 07:59 AM
it's reaaaaaally quiet =) any news?

o_dog
07-17-2011, 04:00 PM
sure, it's taking time. Added a few things and cleaning up things. Just finished rewriting the rescan.

o_dog
07-22-2011, 09:37 AM
first alpha release out

mr.babek
07-23-2011, 02:09 PM
You da man! gonna test it asap!

o_dog
07-23-2011, 08:34 PM
any news? Does it work?

ArtX
07-24-2011, 02:41 AM
working okay here so far :)

SRH99
07-24-2011, 03:24 AM
planing tests later today/in the evening :)

peep
07-24-2011, 11:24 PM
Been abroad on vacation, will start testing tonight and let you know if something comes up..

o_dog
07-26-2011, 08:31 AM
bug report?

peep
07-26-2011, 08:33 AM
I did run into a few bumps on the road, but I didn't have much time to do the testing yesterday, so it'll have to wait until tonight.

The botchk script was missing twapi, "dZSbot warning: Invalid log line: 07-25-2011 23:54:10 IMDB:.." and missing exec lines for the commands in ioftpd.ini (rescan, utime, etc.). But I'll try and find more time tonight and see what I can come up with..

o_dog
07-26-2011, 08:47 AM
Dunno what you mean by missing exec commands rescan utime etc?

twapi: yeah forgot to copy it to the lib
it's in ioNiNJA.1.0.ALPHA.1.2011-07-22\eggdrop\lib\tcl8.5\twapi
just copy that to the lib dir.

peep
07-26-2011, 03:59 PM
Things I've encountered so far:

Info: io running as service, eggdrop started using scheduled botchk. Couldn't have io start using the local system account, the eggdrop wouldn't start. It dies to quickly for me to see the reason and it doesn't log it.

Will keep testing tomorrow. Only thing running as of now is io and ioNinja. Will set up nxTools next.

------------ from the partyline (newdir not announced)


[22:37] dZSbot debug: Received event: NEWDIR (log: 0).
[22:37] dZSbot error: Unhandled error, please report to developers:
unable to find window "ioFTPD::MessageWindow": The operation completed successfully.
while executing
"ioftpd user get $msgWindow $user"
(procedure "get_tagline" line 2)
invoked from within
"get_tagline [lindex $line 1]"
(procedure "readlog" line 66)
invoked from within
"readlog"
[22:37] dZSbot debug: Received event: NFO (log: 0).
[22:37] dZSbot debug: Announce skipped, "NFO" is disabled.


[22:37] dZSbot debug: Received event: DELDIR (log: 0).
[22:37] dZSbot error: Unhandled error, please report to developers:
unable to find window "ioFTPD::MessageWindow": The operation completed successfully.
while executing
"ioftpd user get $msgWindow $user"
(procedure "get_tagline" line 2)
invoked from within
"get_tagline [lindex $line 1]"
(procedure "readlog" line 66)
invoked from within
"readlog"

-------------- from SystemError.log

07-26-2011 21:26:32 "../scripts/ioninja/plugins/ioTV.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ep": no such variable
while executing
"screw_octal $ep"
(procedure "::ioNiNJA::ioTVDB::TV_MKD" line 119)
invoked from within
"::ioNiNJA::ioTVDB::TV_MKD"
invoked from within
"if {![info exists pwd]} {
set pwd [file dirname [lindex $args 2]]
set path [file dirname [lindex $args 0]]
set args [lrange $args 1 end]
::ioNiNJ..."
(file "../scripts/ioninja/plugins/ioTV.itcl" line 848)

o_dog
07-26-2011, 04:04 PM
I need to know whats going on, pasteing logs doesn't tell me much unless i can recreate the problem.

The ioftpd:messagewindow's errors means the bot is not running under the same account as ioftpd or that it can't find the ioFTPD::MessageWindow, meaning you renamed it in ioftpd.ini

eggdrop has it's own logging system: eggdrop\logs
check int here why it doesn't start under system account, that should work.

As for the tvep thing, I can't really say, and it's not a high up on the todo list. Plugins comes last.

o_dog
07-26-2011, 08:19 PM
New Release out with bugfixes, read first post for link and update instructions.

peep
07-27-2011, 03:41 AM
That's partly the reason why I previously asked if there's another place to post bug reports. This forumeasily get's cluttered when you want to post a complete report.

Both io and eggdrop was running on the same account (the eggdrop was started by io through scheduled botchk as I said), and the window names were the same (checked it a second time just before I hit submit on the post). Haven't seen those errors in the partyline during my brief test with the latest version tho.

Your latest patch got rid of the newdir events that I was talking about and you also fixed my earlier note regarding the missing lines in io.ini (regarding rescan, invite, etc.)

If I leave lock_ignore_flags (in ioNinja.cfg) empty, as in "", trying to delete a folder marked as complete gives the following errors:

[R] DELE xxx.xxx.xxx-xxx.sfv
[R] 500 'DELE': Command failed. (pre-cmd-event script)

SystemError.log:
07-27-2011 10:28:25 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
invalid bareword "lock_ignore_flags"
in expression "...ags) $flags] || ioNJ(lock_ignore_flags) == "" ";
should be "$lock_ignore_flags" or "{lock_ignore_flags}" or "lock_ignore_flags(...)" or ...
(parsing expression "![regexp $ioNJ(lock_ig...")
invoked from within
"if {![regexp $ioNJ(lock_ignore_flags) $flags] || ioNJ(lock_ignore_flags) == "" } {
set ioerror 2
set message "550 $ioNJ(zipscript_header)\n550...


EDIT: It didn't matter even if I added a couple of flags e.g. "1|M", still gives the same error.

o_dog
07-27-2011, 03:48 AM
Sorry, Thats my bad. New version up, if you updated to the old 07-27: download new version and replace ioNiNJA.itcl

peep
07-27-2011, 05:41 AM
Deleting a folder now works but the the eggdrop partyline still gives the following error:

[12:35] dZSbot debug: Received event: DELDIR (log: 0).
[12:35] dZSbot error: Unhandled error, please report to developers:
unable to find window "ioFTPD::MessageWindow": The operation completed successfully.
while executing
"ioftpd user get $msgWindow $user"
(procedure "get_tagline" line 2)
invoked from within
"get_tagline [lindex $line 1]"
(procedure "readlog" line 66)
invoked from within
"readlog"

io is running as service and both io and eggdrop is running under the same user account (eggdrop is launched via scheduled botchk). The window name is exactly the same in both io.ini and dzsbot.conf (untouched as in ioFTPD::MessageWindow). Running on Win7 x64.

EDIT: During the testing period I had restarted the io service, but had kept the eggdrop running. I now tried to kill the eggdrop and let io's scheduler restart it and then the message didn't appear when deleting a folder.

o_dog
07-27-2011, 05:45 AM
There you Go =)

o_dog
07-27-2011, 08:07 PM
No more bugs?

peep
07-28-2011, 02:07 AM
Still many features to try out. Between work, new apartment and real life, one can only reserve so much time for alpha testing.

SRH99
07-28-2011, 05:05 PM
Regardless of settings in ioNiNJA.cfg I cant get the site xdupe (version 3) to work, am I missing something?

No errors in logs.

[TestFTP] SITE XDUPE 3
[TestFTP] 500 'SITE XDUPE': Command not understood.

Client works fine with other ioFTPD/ioPRECHECK

o_dog
07-28-2011, 05:07 PM
you need to add the command to ioftpd.ini
right now it's not and permission xdupe = *

SRH99
07-28-2011, 05:51 PM
me being blind AND an idiot, missed some cut n paste in FTP_Custom_Commands

correcting sure did the trick, tks

:)

Yil
07-28-2011, 06:54 PM
The new ninja has xdupe? The unreleased v8 will have support for that as well. It might make sense for you to mention the ^ prefix in your documentation for your new version so users can do something like ^xdupe = TCL ... so yours will override the built-in version.

o_dog
07-28-2011, 06:59 PM
i'll just remove it when v8 comes out, it needs the site xdupe to work, client checks if it works that way. Had it in ioprecheck for 2 years i think, i just merged the two scripts. Made no sense to check if a file was in a sfv AFTER it being uploaded.

As for xdupe, it doesn't actually check anything since it stores no user specifics, it always send the answer to user. I thought about implementing user settings but since it's supported in v8, there is no need for me to develop it.

mr.babek
07-30-2011, 09:35 AM
O-DOG, for some reason my sample files get deleted, according to the settings they shouldnt be:
## These file types are check for media info if uploaded in /sample/ dir, and only theese files will be allowed
## the rest will be deleted.
set ioNJ(samples) {\.avi$|\.mpg$|\.mpeg$|\.divx$|\.vob$|\.mkv$|\.rm$ |\.wmv$|\.qt$|\.mp4$|\.m2v$}

Sample files are .mkv

There is an error in the logs about this:

07-30-2011 16:28:49 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ioNJ(sample_video_cabac)": no such element in array
while executing
"regsub -all {%value} $ioNJ(sample_video_cabac) $second"
("Format settings, CABAC" arm line 1)
invoked from within
"switch -- $first {
"Scan type" { set v_codec_scantype $second ; append samplemessage [regsub -all {%value} $ioNJ(sample_vid..."
(procedure "getsample" line 76)
invoked from within
"g

o_dog
07-30-2011, 10:17 AM
When it says, a clean install that means ALL files shoudl be replaced, including themes!

mr.babek
07-30-2011, 10:31 AM
eeew that means alot of work =) ok then

mr.babek
07-31-2011, 08:59 AM
OK, that worked, BUT now I have a new problem. everything seems to work fine but now and then I am getting this error and it kinda screws up ioftpd , cant login after that 500 'PASS': Command failed. when trying to login. I get this in the systemerror.log

07-31-2011 15:40:06 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
divide by zero
while executing
"expr $io_fsize/$uptime"
(procedure "::ioNiNJA::CWD" line 70)
invoked from within
"::ioNiNJA::CWD "
("CWD" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 1018)
----

I already disabled the scheduled symlink clear in ioftpd.ini

o_dog
07-31-2011, 09:15 AM
has nothign todo with symlink cleaning. That should work.
uploading a new test version. replace misc/NiNJALiB.tcl and restart ioftpd
http://www.2shared.com/file/vZLwW5WB/ioNiNJA10ALPHA1012011-07-27.html
download this and replace file and let's see how it goes

SRH99
07-31-2011, 03:47 PM
help please, i cant figure the setting
set ioNJ(banned_allowed_dirs)
got {1} {/DVDR/} {\Sample} to work, but how do i ad yet another directory?
Tried adding {1} {/DVDR/} {\aaa} but it keep telling 550 | + Anti****up: Dir is banned!

TIA

o_dog
07-31-2011, 03:48 PM
regexp matching separted by |
check the examples.

never use \ in any way or form it's always /

SRH99
07-31-2011, 04:02 PM
thanks, now it works :)

SRH99
08-01-2011, 02:50 AM
hi again

i've edited imdb.itcl not to fetch folder.jpg, fanart.jpg and .tbn file
set ioNJ(imdb_get_cover) 0
set ioNJ(imdb_fanart) 0
set ioNJ(imdb_tbn) 0
restarted the server, but it still creates and doesnt seem to honor the settings

Any advise please

Regards.

o_dog
08-01-2011, 10:26 AM
set ioNJ(imdb_get_cover) ""

try that

SRH99
08-01-2011, 10:53 AM
it worked, tks again :)

mr.babek
08-01-2011, 04:08 PM
Odog, tried the version you made to help me with the error. But still getting the same stuff
--- ErrorInfo ---
divide by zero
while executing
"expr $io_fsize/$uptime"
(procedure "::ioNiNJA::CWD" line 70)
invoked from within
"::ioNiNJA::CWD "
("CWD" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 1018)

I could try reinstalling and reconfiguring next weekend I really havent got a clue where to look

o_dog
08-01-2011, 08:24 PM
you need to restart the server after replacing the file.

And delete the systemerror.log

when a new error occurs check the log and check the timestamp

mr.babek
08-01-2011, 11:37 PM
I ofcourse restarted the server , but a few seconds after I restarted it the error came up again. The server doesnt accept commands anymore. The PASS and STOR commands both fail for sure.

o_dog
08-02-2011, 05:33 AM
and the sytemerror.log says?
and you are sure about the right timestamp?

mr.babek
08-02-2011, 05:00 PM
well the log isnt giving me any errors now. I completely reinstalled ioninja, still got the problem that after a while the site commands wont work anymore. Seems like something is failing, but since there are no errors in the logs I am in the dark here

When the error has occurred I can't login , nothing works, rescan command, stor command etc.

After I restart io everything is fine again , until that certain moment the error occurs

Ps when changing back to 0.8 everything is fine

o_dog
08-02-2011, 05:19 PM
my guess would be that you have a bd hdd, controlercard or cable

Yil
08-03-2011, 01:33 AM
I can't think of any obvious reason why site commands would just stop working all of a sudden. It's entirely possible there is some other issue like memory corruption that is going on but I'd expect random crashes, corrupted files, etc and not the exact same problem with site commands.

After this "error" occurs have you tried logging in again just to see if the problem is tied to the login and not the server as a whole? Have you tried site commands like "site help", "site swho", etc? Those being built-in commands should behave differently than scripts do.

mr.babek
08-03-2011, 03:51 AM
I can't think of any obvious reason why site commands would just stop working all of a sudden. It's entirely possible there is some other issue like memory corruption that is going on but I'd expect random crashes, corrupted files, etc and not the exact same problem with site commands.

After this "error" occurs have you tried logging in again just to see if the problem is tied to the login and not the server as a whole? Have you tried site commands like "site help", "site swho", etc? Those being built-in commands should behave differently than scripts do.

Well I cant login since the "PASS" command isnt working anymore (thats teh error I get when trying to login). I Have to shutdown io and restart it, then its working again

HurricaneHunter
08-03-2011, 10:59 AM
Good Morning all;

I have just recenlty went back to ioftpd after using glftpd for many years and seem to be having a small promblem with the ioniga scripts.

When user upload a file and it scompleted, i get a complete bar that shows like

[ioNiNJA] - ( 874KB 1F - COMPLETE ) - [ioNiNJA]

is there any way to edit that to my likeing. I have searched and searched and seem to be missing it.

Any help would be appreicated.

Thanks

o_dog
08-03-2011, 11:19 AM
When i experienced that, it's always been a faulty drive or cable.

o_dog
08-03-2011, 11:33 AM
update avalible

Yil
08-03-2011, 05:12 PM
mr.babek: Could you try leaving a login using a new test account (so it won't be logged in a 2nd time) just idling somewhere? If you could make that a M flagged account that would be best. After things lock up see if you do 'site crashnow' to generate a debug dump you can can send me.

Any chance you are using a PRE/POST command on the PASS command? I know ioDELUSER uses one to show banned messages, etc... I doubt anybody using the new OnBannedLogin event yet.

Since the server accepts the new connections and allows the USER command, but dies on PASS it's possible the userfile or a lock in the client array is being held and that is preventing normal operation. That should be relatively easy to spot in the dump file if you can generate one. If site crashnow doesn't work, you can try creating one using 'Create dump file' by right clicking on ioFTPD.exe in the process tab of task manager. However on win2k8 x64 I've had people send me dumps created via taskmanager that are useless because of the 64bit compatibility layer and I'm not sure how to fix that so try crashnow first.

The ioFTPD TCL routines track open userfiles, mountfiles, etc and cleanup after each script. It's entirely possible I missed something now that some of the newer features are being used by ioNinja. No matter what TCL does (except for some waitobject usage) it should clean up after itself correctly but it looks like in the case of an error it might not be. A minidump should probably highlight which lock things are stuck on and we can work from there is that is the problem.

HurricaneHunter
08-03-2011, 06:22 PM
Good Morning all;

I have just recenlty went back to ioftpd after using glftpd for many years and seem to be having a small promblem with the ioniga scripts.

When user upload a file and it scompleted, i get a complete bar that shows like

[ioNiNJA] - ( 874KB 1F - COMPLETE ) - [ioNiNJA]

is there any way to edit that to my likeing. I have searched and searched and seem to be missing it.

Any help would be appreicated.

Thanks

Never mind, i have figured it out, its under the themes', Saw that thought it was part of the bot set up.

mr.babek
08-04-2011, 03:32 AM
mr.babek: Could you try leaving a login using a new test account (so it won't be logged in a 2nd time) just idling somewhere? If you could make that a M flagged account that would be best. After things lock up see if you do 'site crashnow' to generate a debug dump you can can send me.

Any chance you are using a PRE/POST command on the PASS command? I know ioDELUSER uses one to show banned messages, etc... I doubt anybody using the new OnBannedLogin event yet.

Since the server accepts the new connections and allows the USER command, but dies on PASS it's possible the userfile or a lock in the client array is being held and that is preventing normal operation. That should be relatively easy to spot in the dump file if you can generate one. If site crashnow doesn't work, you can try creating one using 'Create dump file' by right clicking on ioFTPD.exe in the process tab of task manager. However on win2k8 x64 I've had people send me dumps created via taskmanager that are useless because of the 64bit compatibility layer and I'm not sure how to fix that so try crashnow first.

The ioFTPD TCL routines track open userfiles, mountfiles, etc and cleanup after each script. It's entirely possible I missed something now that some of the newer features are being used by ioNinja. No matter what TCL does (except for some waitobject usage) it should clean up after itself correctly but it looks like in the case of an error it might not be. A minidump should probably highlight which lock things are stuck on and we can work from there is that is the problem.

Hi Yil, thanks for the extensive answer. I will try this next weekend. I doubt I will be able to use any command when io expierences the error.

ArtX
08-04-2011, 07:17 AM
Have you tried with 7.7.3? Doubtful it would solve your issue but you never know :)

mr.babek
08-04-2011, 09:30 AM
Have you tried with 7.7.3? Doubtful it would solve your issue but you never know :)

Well actually that is what I just did, and everything is running fine for several hours already.
(I was running 7.7.2)

I am just trying to figure out how to activate the gamespy plugin ? just add an action in ioninja when uploading the nfo? for now it wont work

SRH99
08-04-2011, 11:56 AM
o-dog, after updating to ioNiNJA.1.0.ALPHA.1.0.2.2011-08-03 the bot don't announce imdb anymore (it worked with ioNiNJA.1.0.ALPHA.1.0.1.1.2011-07-27)

bot log says
dZSbot warning: Invalid log line: 08-04-2011 18:40:21 IMDB:{The Rebound} http://www.imdb.com/title/tt1205535/ 2009 - - 8******14**** 6.4 9,400 - - {} US A English {Comedy Romance} - - {£360,015} UK {25 July} 2010 306 306 - - Limited

- any advise?

HurricaneHunter
08-04-2011, 01:21 PM
o-dag, I have another question i cant seem to figure out, when i upload an .nfo file, it it dissappears and i cant seem to find a the setting for it. Any advice on fixing this, as i checked the .cfg file up and down and not having much luck.

Thanks

mr.babek
08-04-2011, 01:56 PM
o-dog, after updating to ioNiNJA.1.0.ALPHA.1.0.2.2011-08-03 the bot don't announce imdb anymore (it worked with ioNiNJA.1.0.ALPHA.1.0.1.1.2011-07-27)

bot log says
dZSbot warning: Invalid log line: 08-04-2011 18:40:21 IMDB:{The Rebound} http://www.imdb.com/title/tt1205535/ 2009 - - 8******14**** 6.4 9,400 - - {} US A English {Comedy Romance} - - {£360,015} UK {25 July} 2010 306 306 - - Limited

- any advise?

Same problem here , no IMDB output to the bot

mr.babek
08-04-2011, 02:05 PM
Well actually that is what I just did, and everything is running fine for several hours already.
(I was running 7.7.2)

I am just trying to figure out how to activate the gamespy plugin ? just add an action in ioninja when uploading the nfo? for now it wont work

Update: turns out the botchk.ictl is causing the problem, I have got no clue whatsoever why

Yil
08-04-2011, 03:10 PM
Hmm. I bet the invalid log line message which is probably causing the imdb announce to fail is because there isn't a space after the IMDB: tag. I'm pretty sure a bunch of the dbzbot uses the "IMDB:" bit to figure out if and where it should do something and without a space it's getting confused.

o_dog
08-05-2011, 12:43 PM
Sorry, minor bug fix, used wrong source for change of imdb. Should work in new upgrade just replace imdb.itcl and reconfigure it

mr.babek
08-06-2011, 08:51 AM
hmm .. I realy really really dont know how to get the gamesspy function to work ? Can someone explain?

ArtX
08-06-2011, 10:15 AM
just copy the entries already under the exec on nfo upload and point it towards the gamespy plugin

mr.babek
08-06-2011, 02:26 PM
kinda did that.. it just wont work.. does it workon your ftp?

mr.babek
08-06-2011, 02:41 PM
for some reason .jpg files get skipped in the sample and proof dirs. the config says they should be allowed

## These file types are check for media info if uploaded in /sample/ dir, and only theese files will be allowed
## the rest will be deleted.
set ioNJ(samples) {\.avi$|\.mpg$|\.mpeg$|\.divx$|\.vob$|\.mkv$|\.rm$ |\.wmv$|\.qt$|\.mp4$|\.m2v$|\.jpg$}

set ioNJ(banned_allowed_files) {
{0} {/} {^5a\.nfo$|^aks\.nfo$|^atl\.nfo$|^atlvcd\.nfo$|^ba r\.nfo$|^cas\-pre\.jpg$|^cmt\.nfo$|^coke\.nfo$|^dim\.nfo$|^dkz\. nfo$|^echobase\.nfo$|^firesite\.nfo$|^fireslut\.nf o$|^ifk\.nfo$|^lips\.nfo$|^magfields\.nfo$|^mfmfmf mf\.nfo$|^mm\.nfo$|^mob\.nfo$|^mod\.nfo$|^pbox\.nf o$|^ph\.nfo$|^pike\.nfo$|^pre\.nfo$|^release\.nfo$ |^sexy\.nfo$|^tf\.nfo$|^twh\.nfo$|^valhalla\.nfo$| ^zn\.nfo$|^imdb\.nfo$|^vdrlake\.nfo$|^dm\.nfo$|^nu d\.nfo$|^thecasino\.nfo$|^dtsiso21\.jpg$|^dagger\. jpg$}
{1} {/} {\.r[a|0-9][r|0-9]$|\.0[0-9][0-9]$|\.rar[0-9][0-9][0-9]$|\.m2v$|\.mpg$|\.mpeg$|\.zip$|\.mp[2|3]$|\.vob$|\.avi$|\.jpg$|\.nfo$|\.diz$|\.sfv$|\.mpeg $|\.mkv$|\.wmv$|\.mpg$|\.mpeg$|\.cue$|\.rm$}
{1} {/MP3/} {\.mp[2|3]$|\.jpg$|\.cue$|\.jpeg$|\.nfo$|\.sfv$}
{1} {/0-DAY/} {\.zip$|\.nfo$|\.diz$}
{1} {/TV-x264/} {\.r[a|0-9][r|0-9]$|\.0[0-9][0-9]$|\.rar[0-9][0-9][0-9]$|\.nfo$|\.sfv$|\.mkv|\.jpg}
{1} {/x264/} {\.r[a|0-9][r|0-9]$|\.0[0-9][0-9]$|\.rar[0-9][0-9][0-9]$|\.nfo$|\.sfv$|\.mkv|\.jpg}
{1} {/XViD/} {\.r[a|0-9][r|0-9]$|\.0[0-9][0-9]$|\.rar[0-9][0-9][0-9]$|\.nfo$|\.sfv$|\.avi$|\.jpg}

what could, be wrong?

ArtX
08-06-2011, 03:56 PM
kinda did that.. it just wont work.. does it workon your ftp?

Don't have the need for it so have never really tried it, tested it, doesn't seem to work here, so, either I have not configured it properly, the site has changed, the script needs updating.

noelek
08-07-2011, 06:54 AM
Hi,

when i try site rescan this i get this error:

08-07-2011 13:53:22 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "zip_files": no such variable
while executing
"llength $zip_files"
(procedure "ZipScript::ZipScript" line 117)
invoked from within
"ZipScript::ZipScript 1 $pf $crc $vf"
(procedure "::ioNiNJA::ZipScript::rescan" line 77)
invoked from within
"::ioNiNJA::ZipScript::rescan "
("RESCAN" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean

o_dog
08-07-2011, 09:35 AM
there are problems with site recan on releases not uploaded with latest ioninja isntalled. Will look over it some day.

As For the jpg files being skipped in sample dir, it only alllows samples, you need to add the extention \.jpg$ to the sample list.

gamespy plugin? I have no idea, worked when i wrote it but i never used it

Saiph
08-07-2011, 04:18 PM
haven't been online for sometime was wondering if imdb.itcl works yet :)
it announces the xvid but not the dvd's

o_dog
08-07-2011, 10:46 PM
problem with configuration then.
As far as i know it should announce it.

mr.babek
08-08-2011, 01:17 AM
there are problems with site recan on releases not uploaded with latest ioninja isntalled. Will look over it some day.

As For the jpg files being skipped in sample dir, it only alllows samples, you need to add the extention \.jpg$ to the sample list.

gamespy plugin? I have no idea, worked when i wrote it but i never used it

Hey O_Dog, as you can see jpg was included in the sample allowed filetypes (last entry)

set ioNJ(samples) {\.avi$|\.mpg$|\.mpeg$|\.divx$|\.vob$|\.mkv$|\.rm$ |\.wmv$|\.qt$|\.mp4$|\.m2v$|\.jpg$}

for some reason it wont be acknowleged.

Would it be possible to put in another entry for proof dirs like you did for sample? Since a proof is kinda standard for video releases nowaydays

o_dog
08-08-2011, 01:19 AM
you need to allow jpg on the site too if you use precheck. By default this might not be allowed. You set thatup yourself

SRH99
08-10-2011, 07:04 AM
o_dog, i need help.

The imdb.itcl now works as a charm, execpt the IMDB-TV part.

It dont make the imdb_tv_bar nor html link, but the imdb_bar part works just fine.

the ioftpd.log says
08-10-2011 13:57:16 ERROR IMDB: /TVDVDR/dirname..

the bot log says
dZSbot warning: Invalid log line: 08-10-2011 13:57:16 ERROR IMDB: /TVDVDR/dirname..

Any advise, and can you confirm tv-part of imdb.itcl is working?

best regards..

o_dog
08-10-2011, 07:10 AM
Thats because the tv part is not implemented, it doesn't exist and i'm not sure that i will add it.

SRH99
08-10-2011, 07:25 AM
ok, sorry to hear.

is it possible to use ioTV.itcl instead?
I have tried (not much) as it didnt seem to work

o_dog
08-10-2011, 09:29 AM
not ioTV doesn't work on DVDR-TV since the naming conventions are in lack of a better word, ****ed up, and a it's an obsolete format.

mr.babek
08-12-2011, 02:31 AM
hey odog,

the jpg. issue is still giving me headaches. It simply wont accept jpg in the proof directory and it will deny jpg in the sample because the script only accepts 1 file in the sample directory.

any tips?

(I dont have this issue using ioninja 0,8 so its 1.0 related)

o_dog
08-12-2011, 05:17 AM
no it's not 1.0 related. Why it's oot allowing files in proof dir i have no idea. But sample dir only allow one file, hardcoded, and no i wont remove this.

SRH99
08-12-2011, 07:23 AM
hey odog,

the jpg. issue is still giving me headaches. It simply wont accept jpg in the proof directory and it will deny jpg in the sample because the script only accepts 1 file in the sample directory.

any tips?

(I dont have this issue using ioninja 0,8 so its 1.0 related)

I've got it working, dont know if its correctly made tho..

in ioninja.cfg

In "set ioNJ(notparent)" i added |^proof$ to the line

In "set ioNJ(noforce_sfv_dirs)" i added |/Proof/

allowed .jpg in "set ioNJ(banned_allowed_files)" under the section in mind.

added .jpg in "set ioNJ(skipfiles)"

Well actually i cant remember what i changed and what was in the first place, but its working here.

- Same goes for the gamesspy.itcl, I had it working in a previously made test-setup, will guide you when i make it work in this setup, but please be patient.

Regards

SRH99
08-13-2011, 10:12 AM
o_dog, the imdb tag thingy acts strange, (i've set it to file creation) e.g. the title Its.Kind.of.a.Funny.Story.blabla makes a imdb file that says It's Kind of a Funny Story....

Any advise?

SRH99
08-14-2011, 02:56 AM
i'm still having some troubles with the "dZSbot warning: Invalid log line: 08-14-2011 09:52:29 ERROR IMDB:" not all, but some, http://www.imdb.com/title/tt1640459/ is one of them.

(no file/dir creation and no annouce to chan)

uses ioNiNJA.1.0.ALPHA.1.0.3.2011-08-05

mr.babek
08-14-2011, 06:44 AM
I've got it working, dont know if its correctly made tho..

in ioninja.cfg

In "set ioNJ(notparent)" i added |^proof$ to the line

In "set ioNJ(noforce_sfv_dirs)" i added |/Proof/

allowed .jpg in "set ioNJ(banned_allowed_files)" under the section in mind.

added .jpg in "set ioNJ(skipfiles)"

Well actually i cant remember what i changed and what was in the first place, but its working here.

- Same goes for the gamesspy.itcl, I had it working in a previously made test-setup, will guide you when i make it work in this setup, but please be patient.

Regards
Thanks for sharing

I did all the stuff you mentioned just the : In "set ioNJ(noforce_sfv_dirs)" i added |/Proof/
I didnt add it there because the proof directory actually is a subdir.. apperantly that was too much thinking because its working like a sharm now.
I would LOVE to have the gamesspy working.. I really like that functionality

o_dog
08-14-2011, 07:19 AM
dir creation is not my department. Then it mustbe something else since that is ioFTPD's department.

As for the logline, i'm rewriting imdb again, will make sure to replace the html chars.

Error IMDB is not meant to be announced.

It means it couldn't extract the title from the url

The gamespy plugin will most likely not work since they use one of those annoying little firstpages with commercials. Will look into it when i have some time.

mr.babek
08-14-2011, 07:21 AM
Hey Odog,

sorry for all the nagging, but kudos for the 1.0 version! You did a great job

o_dog
08-18-2011, 02:05 PM
http://www.2shared.com/file/tq2LFhK3/imdb.html

try this imdb.itcl if you have problems with it, should work.

SRH99
08-18-2011, 02:43 PM
http://www.2shared.com/file/tq2LFhK3/imdb.html

try this imdb.itcl if you have problems with it, should work.

Brilliant o_dog, thanks, will test right away.

mr.babek
08-18-2011, 03:48 PM
Hey Odog, I've got some weird issue. After someone uploads something some releases get deleted when queueing them again. the script simply deletes all files and I can start uploading the release again ??

o_dog
08-18-2011, 04:14 PM
you have unpack_complete.itcl loaded?

mr.babek
08-19-2011, 03:06 PM
you have unpack_complete.itcl loaded?

Nope, it just deletes all the rars and starts to fill the release all over again. There are no errors related to this problem in the logs

o_dog
08-19-2011, 03:29 PM
the only reason it would do that is if you have unpack_complete.itcl loaded as a plugin.

o_dog
08-19-2011, 05:41 PM
new imdb hotfix up, this one works better, moved config to individual file so in the future you wont have to reconfigure it.

Also fixed a few things so EDIT the new config, do not copy from old one. This one will last a while I hope.

mr.babek
08-20-2011, 02:06 AM
the only reason it would do that is if you have unpack_complete.itcl loaded as a plugin.

ofcourse that would be NORMAL behaviour , but then I wouldn't post this message. and even when it would unpack there would be an unpacked file, which there isn't.:confused:

SRH99
08-20-2011, 03:49 AM
Hey Odog, I've got some weird issue. After someone uploads something some releases get deleted when queueing them again. the script simply deletes all files and I can start uploading the release again ??

make sure that the .sfv is working and not changed by server in any way
set ioNJ(sfv_cleanup) 0
set ioNJ(sfv_cleanup_lowercase) 0
when thats working enable cleanup/lowercase and see if thats makes any difference.

o_dog
08-20-2011, 04:33 AM
does it happen on all releases? and is the dir there if you use explorer isntead of ftp?

SRH99
08-21-2011, 03:46 PM
new imdb hotfix up, this one works better, moved config to individual file so in the future you wont have to reconfigure it.

Also fixed a few things so EDIT the new config, do not copy from old one. This one will last a while I hope.

o_dog, its working very fine, thank you. :)

mr.babek
08-22-2011, 05:34 AM
does it happen on all releases? and is the dir there if you use explorer isntead of ftp?

well no, it only happens "sometimes". Luckily I havent seen it happen since a few days .. lets hope it stays that way

answer ot your second question, yes, I can see the dirs using explorer

o_dog
08-23-2011, 01:01 PM
The files are deleted? Or do they just seem to deleted in ioftpd? It might be that damn CWD command for messages (wish i never did that).

Yil
08-23-2011, 02:08 PM
Actually speaking of CWD... why don't you output the data to the .ioftpd.message file? One nice feature coming in v8 is the ability for the user to decide whether they want to see that file when they CWD. That means it's up to each user and I'm guessing bots will NOT want that :)

The .ioftpd.cwd file which processes cookie/scripts (.message doesn't) is still shown no matter what so things like the requests dir can do stuff if scripters want no matter what the user's settings are.

o_dog
08-23-2011, 02:23 PM
i use neither, It calculates everything on the fly and send output to on cwd. That way you cna change output of stats and info and no need for rescan to update the files.

http://rt.openssl.org/Ticket/Display.html?id=2065&user=guest&pass=guest

Yil
08-23-2011, 03:04 PM
Yea, that would definitely be more flexible if you wanted to change the output on the fly. It also avoids race conditions on updating the message file and/or temp files affecting the directory timestamp... I'll have to give this a bit more thought at some point.

SRH99
08-24-2011, 03:54 AM
o_dog
Regardless of "set ioNJ(exec_on_complete)" settings in ioninja.cfg, the "set ioNJ(UNPACK_TO_PATH)" settings in unpack_complete.itcl kicks in if it finds a matching section. Discovered when using the site rescan command.

The "site rescan all" doesnt seem to "extract" sample info.

Regards.

o_dog
08-24-2011, 03:56 AM
you need to restart ioftpd after changing config

SRH99
08-24-2011, 04:10 AM
yep, done that (always do), but no change. ;)

to reproduce,
in ioninja.cfg (commented out)
set ioNJ(exec_on_complete) {
#{/XXX/|/TV/|/MOViES/|/CiNEMA/|/x264/|/XViD/} {TCL ../scripts/ioninja/plugins/unpack_complete.itcl $args}

in unpack_complete.itcl
set ioNJ(UNPACK_TO_PATH)
{/x264/} {} {1} {1} {1} {0}

then run "site rescan" in a rel. in x264 section, it then will try to unpack. if i # the {/x264/} {} {1} {1} {1} {0}, it doesnt.

o_dog
08-24-2011, 04:12 AM
you can't comment things out in those, you actually need to remove it.

SRH99
08-24-2011, 04:16 AM
Ups, didn't know, sorry.

disregard all after "good morning" then :)

SRH99
09-07-2011, 01:38 AM
i think ive found a small bug.

If year on imdb says (2010/I) the imdb.itcl terminates abnormally

Guess its the /I it dosent like

o_dog
09-07-2011, 05:09 AM
I need an imdb link link

SRH99
09-07-2011, 05:12 AM
yup,

http://www.imdb.com/title/tt1023114/

http://www.imdb.com/title/tt1294688/

o_dog
09-07-2011, 03:34 PM
http://www.2shared.com/file/YwmF6fsE/imdb-hotfix2.html
this should work

Just replace imdb.itcl and you're done if you're using the hotfix

mr.babek
09-13-2011, 02:13 PM
Ho odog,

I am getting a real weird error on some of the uploads

--- ErrorInfo ---
list element in quotes followed by "30"" instead of space
while executing
"join [readchattr 35]"
(procedure "::ioNiNJA::ZipScript::ZipScript" line 25)
invoked from within
"::ioNiNJA::ZipScript::ZipScript 0 [lindex $args 1] [lindex $args 2] [lindex $args 3] "
("CHECK" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript:
09-13-2011 21:07:20 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally

after a release gets this error it's not possible to rescan the directory, the rescan simply fails

--- ErrorInfo ---

while executing
"resolve list "$pwd""
(procedure "outstats" line 41)
invoked from within
"outstats 0 0 0 0 $file "
(procedure "ZipScript::ZipScript" line 301)
invoked from within
"ZipScript::ZipScript 1 $pf $crc $vf"
(procedure "::ioNiNJA::ZipScript::rescan" line 77)
invoked from within
"::ioNiNJA::ZipScript::rescan "
("RESCAN" arm line 1)
invoked from within
"switch -- [lindex $


any ideas on this?

o_dog
09-13-2011, 02:15 PM
what ioNiNJa version?

mr.babek
09-13-2011, 02:34 PM
latest
ioNiNJA.1.0.ALPHA.1.0.2.2011-08-03
+
imdb hotfix

it crashes the scipt (fatal scripterror)

after the rescan attempt the directory was not visible in ioftpd anymore (still is on the drive)
after a restart the rescanned dir is visible as an symlink (?!?!?)

addition: its also not possible to upload files in the directory anymore, not even after a restart or after delete and reupload. IO seems to "remember" the status

addition2: After I first ran into this problem a few weeks ago I completely reinstalled IOninja a few days ago. today I had the same issue again.

o_dog
09-13-2011, 02:35 PM
no idea, hacn't been able to replicate it. Will see if it shows up.

mr.babek
09-13-2011, 02:37 PM
please check pm

o_dog
09-13-2011, 02:41 PM
Check the sfv files....Anything looking wierd in them?

mr.babek
09-14-2011, 08:11 AM
odog,

I now get this error from my tv directory:

09-14-2011 14:57:17 "../scripts/ioninja/plugins/ioTV.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ep": no such variable
while executing
"screw_octal $ep"
(procedure "::ioNiNJA::ioTVDB::TV_MKD" line 119)
invoked from within
"::ioNiNJA::ioTVDB::TV_MKD"
invoked from within
"if {![info exists pwd]} {
set pwd [file dirname [lindex $args 2]]
set path [file dirname [lindex $args 0]]
set args [lrange $args 1 end]
::ioNiNJ..."
(file "../scripts/ioninja/plugins/ioTV.itcl" line 848)

I really cant find where this is coming from. It wont generate tvinfo dirs inside the showdir anymore

I reinstalled the whole script AGAIN.. the error stays ...

Addition:
when I delete the .nfo and then rescan the directory then re-upload the nfo all works fine ?@!!??

o_dog
09-14-2011, 11:22 AM
I know,it happens on some episodes, it should not affect the general behaviour of the script and have no real effects, ignore it for now. I'm kind of swamped at the moment so i will look into it when i have the time

mr.babek
09-14-2011, 11:41 AM
OK, glad its a known issue. It kinda happened on all the TV uploads yesterday and today.
weird that when deleting the nfo and rescanning then uploading the nfo fixes the problem all the eps that generated the error are fine now. Anyway, might give you a hint or direction where to look when you have the time.
I really appreciate your efforts and work.

mr.babek
09-18-2011, 06:48 AM
I have a strange issue, sometimes , really seldom, but it happens, I get subdirectories of an uploade put in de root directory. So for instance if the upload consists of 1 parent and two subdirectories the parent is put in the right section and the subdirectories end up in the root .. I have no idea if this is ioNinja 1.0 related but with the old 0.8 version of ioNinja this has never happened

Rusher
10-02-2011, 12:47 PM
Hello

i am using ioNiNJA.1.0.ALPHA.1.0.2.2011-08-03 + imdb hotfix

having some trouble with "resort". im using the imdb and mp3 scripts only, and they work perfect creating sorted by symlinks for releases im uploading to the server. but i want to run "resort" so all releases on my ftp before i installed the script will get sorted.

when i stand in root and try "SITE RESORT IMDB" i get the following return message :
[19:40:21] [R] SITE RESORT IMDB
[19:40:21] [R] 200-RESORT IMDB: FTP-ROOT-DIR 0
[19:40:21] [R] 550 Command failed (script): Fatal script error.

if i move to /x264/ and try "SITE RESORT IMDB" i get the following :
[19:41:24] [R] SITE RESORT IMDB
[19:41:24] [R] 200-RESORT IMDB: 0
[19:41:25] [R] 200-RESORT IMDB: 0day 1
[19:41:25] [R] 200-RESORT IMDB: _Sorted 2
[19:41:25] [R] 200-RESORT IMDB: apps 3
[19:41:25] [R] 200-RESORT IMDB: audiobooks 4
[19:41:25] [R] 200-RESORT IMDB: dvdcovers 5
[19:41:25] [R] 200-RESORT IMDB: dvdr 6
[19:41:25] [R] 550 Command failed (script): Fatal script error.

this is what systemerror.log shows when i stand in ROOT DIR

10-02-2011 19:40:21 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---

while executing
"resolve list [file join $pwd [lindex [lindex $dirlist $nr] 0]]"
(procedure "::ioNiNJA::resort" line 24)
invoked from within
"::ioNiNJA::resort "
("RESORT" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.it

This is what systemerror.log shows when i stand in /x264/

10-02-2011 19:41:25 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
missing file/directory
while executing
"vfs chattr $path 11"
(procedure "::ioNiNJA::resort" line 33)
invoked from within
"::ioNiNJA::resort "
("RESORT" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 1018)
----


any clue what i might have missed ?

edit : i've now uploaded every nfo again so my sorted list is now complete.. but for the future. it would be alot easier to be able to do "Site resort"

o_dog
11-17-2011, 10:51 AM
I've finished inplementing the flac support into ioNiNJA. Works the same as MP3.
Now i just need to change up the sitebot in order for it to work correctly.
It creates m3u, extracts all info on upload, and a plugin for sorting and getting covers, artist pictures etc is done.
I have no timeline, but a week or something before a new release seems resonable.

o_dog
11-17-2011, 10:54 AM
BTW I just updated the ioTVARCHIVE script pretty majorly, for those interested:
https://oss.azurewebsites.net/forum/new-scripts-announces-updates/15258-iotvarchive-2-0-a.html

it archives by copying or moving, updates symlinks, deletes inferior quality releases etc.
So for it works pretty good for my needs, but improvement suggestions are welcome, as are bugreports.

inetz
11-25-2011, 05:10 AM
for some reason forum wont let me post my error here so ive paste binned it.
if someone would be able to give me some guidence please :)

http://pastebin.com/RXfgUCPd

if it helps at all im running the ioftpd setup from E:/ drive... if that has any impacts. :alien:

o_dog
11-25-2011, 05:30 AM
You've got al error in ninja.ger. Read the readme, test With clean version

inetz
11-25-2011, 09:28 AM
clean version ? i dont quite understand.

im using fresh

ioFTPD-v7.7.2
ioNiNJA.1.0.ALPHA.1.0.2.2011-08-03

o_dog
11-25-2011, 11:00 AM
you have an error in your config which causes it not to load. Probably some extra { or ". Don't use special characters in config. try it with a clean unedited config and restart server to see if it works

inetz
11-25-2011, 11:15 AM
i tried using the original config file form the .zip but still get the same error. i did some poking around and noticed if i try to do site symclean, i get fatal script error.

o_dog
11-25-2011, 11:16 AM
have you copied init.itcl to the right directory?

inetz
11-27-2011, 02:12 PM
erm.. as far as im aware i do, its in ::

E:\ioFTPD\scripts\ioNiNJA\init.itcl

:confused:

ArtX
11-27-2011, 02:35 PM
try moving it to E:\ioFTPD\scripts - or which ever drive ioFTPD is on

inetz
11-27-2011, 03:24 PM
ooops !! ... so sorry i feel like ive waisted everyones time now :)

inetz
11-30-2011, 04:26 PM
another query for the brain boxes, everythings been going well so far with the config of the system, still much to do. been testing some things with the bot today, i notice it doesn't announce NEWDIR creation or DELDIR.. i get the following error when im telnet to the bot.

thought this would relate to ioninja as it was in the package??

[22:20] dZSbot debug: Received event: NEWDIR (log: 0).
[22:20] dZSbot error: Unhandled error, please report to developers:
unable to find window "ioFTPe::MessageWindow": The system cannot find the file specified.
while executing
"ioftpd user get $msgWindow $user"
(procedure "get_tagline" line 2)
invoked from within
"get_tagline [lindex $line 1]"
(procedure "readlog" line 66)
invoked from within
"readlog"

can't seem to find the log ?

o_dog
12-01-2011, 07:13 PM
you are not running the bot from ioftpd, check out botchk.itcl

inetz
12-02-2011, 06:07 AM
you are not running the bot from ioftpd, check out botchk.itcl

i understand that the file has been edited.. and i did these settings already. not too sure on how i launch the bot from within ioftpd though. normally i would run in it from cmd line. :confused:

i have this edited ::

botchk = 0,10,20,30,40,50 * * * TCL ..\scripts\botchk.itcl

the script in the folder its pointing too, but still i cant do !bw !speed and it will announce done on files completes not NEW dirs etc....

o_dog
12-03-2011, 08:34 PM
srry for the wait, but a new version is up with flac support and working resort.
This is a major release, but everythign is not finished. Right now i'm working on the plugins.
Will fix rescan if thats not working, but main focus right now is the plugins

o_dog
12-03-2011, 08:40 PM
inetz: i can only tell you the script works. you need to close the bot and let ioftpd start it.

inetz
12-04-2011, 06:06 AM
inetz: i can only tell you the script works. you need to close the bot and let ioftpd start it.
EDIT:

i have allowed ioftpd to run the bot itself... which it has done. bot joins channels etc.

i telnet to the bot so i can watch any errors, and i get the exact same error:

[12:19] dZSbot debug: Received event: DELDIR (log: 0).
[12:19] dZSbot error: Unhandled error, please report to developers:
unable to find window "ioFTPe::MessageWindow": The system cannot find the file specified.
while executing
"ioftpd user get $msgWindow $user"
(procedure "get_tagline" line 2)
invoked from within
"get_tagline [lindex $line 1]"
(procedure "readlog" line 66)
invoked from within
"readlog"

o_dog
12-04-2011, 12:17 PM
as i have previously told you, the script works. the bot is not running under the same seession as ioFTPD. try running ioFTPD under a username and not system.

inetz
12-04-2011, 01:13 PM
thats why im curious to know if its something OS related... because im running windows 2008 under a user with admin rights as well. and i assume botchk works, because it runs the bot. no cmds work.

back to the drawing board...

ive read over the logs found another error flagged up, might help me.

12-04-2011 16:57:01 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
missing file/directory
while executing
"vfs read $path"
(procedure "::ioNiNJA::ZipScript::POST_MKD" line 12)
invoked from within
"::ioNiNJA::ZipScript::POST_MKD [lindex $args 2] "
("POSTMKD" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\i


.... i think i will start from scratch again tomorow with the new version. see what happends :confused:

mr.babek
12-05-2011, 04:19 PM
srry for the wait, but a new version is up with flac support and working resort.
This is a major release, but everythign is not finished. Right now i'm working on the plugins.
Will fix rescan if thats not working, but main focus right now is the plugins


Any chance I can get a copy ? =)

o_dog
12-05-2011, 04:43 PM
well check first post for latest version. It's updated but there is still work to be done to it.

o_dog
12-05-2011, 04:47 PM
any requestsfor plugins by the way? I'm not saying i'll write them, but atleast it might be nice to see what people want.

thedepartedone
12-05-2011, 06:19 PM
how can i get cwd to display the racestats along with media info when entering a uploaded dir like gl does?

o_dog
12-05-2011, 06:34 PM
you can't atm it seems, a bug with low priority, so it will not be fixed until the plugins are done.

If you need that feature right now I suggest you use an old version.

thedepartedone
12-05-2011, 06:45 PM
ok thanks for the reply, i thought i broke both installs... any you recommend?

o_dog
12-05-2011, 06:46 PM
any i recommend? the old one from way back when i guess. But no support on those and the plugins don't work

edit: i would suggest you just wait for a version where it works though. I'm aiming for a stable release before new years. so sometime before then a version where it works will probably be released

thedepartedone
12-05-2011, 07:22 PM
ive seen a post on a prev version that shows it working but didnt want to risk it... anyone else know of one apart from ioninja?

o_dog
12-05-2011, 07:30 PM
well you could use jeza's zipscript if you want to. check forum

o_dog
12-05-2011, 07:40 PM
hmmm, it seems to work for me to display racestats on new releases. Not on old ones though as far as i can tell

thedepartedone
12-06-2011, 10:11 AM
i only get to see racestats when its actually being uploaded, also is it possible to download from the symlinks? i tried to download a file from my sorted folder links and it says invalid file

o_dog
12-06-2011, 10:13 AM
you have settings for hwo to treat ntfs junction in ioftpd.ini
I can see racestats, have no idea why you can't. check systemerror.log

Henkie2
12-06-2011, 10:39 AM
Nice and great work on your last updates, did a fresh install as you said on 1e post only got some errors :P

12-06-2011 01:47:03 "../scripts/ioninja/plugins/mp3.itcl" terminated abnormally
--- ErrorInfo ---
error during seek on "file54a7b78": invalid argument
while executing
"seek $fd -128 end"
(procedure "get_mp3_information" line 30)
invoked from within
"get_mp3_information $mp3file"
(procedure "::ioNiNJA::MP3::Main" line 16)
invoked from within
"::ioNiNJA::MP3::Main"
invoked from within
"if {![info exists pwd]} {
set pwd "[file dirname [lindex $args 2]]"
set path "[file dirname [lindex $a


12-06-2011 01:49:20 "../scripts/ioninja/plugins/flac.itcl" terminated abnormally
--- ErrorInfo ---
invalid command name "%artist_first"
while executing
"%artist_first %artist %album %decade %genre %year %ripdate %recorddate %retail %type%language %media %group %release"
(file "../scripts/ioninja/plugins/flac.cfg" line 9)
invoked from within
"source [file join [file dirname [info script]] flac.cfg]"
(file "../scripts/ioninja/plugins/flac.itcl" line 5)


The Mp3 is doing he's job, it announce shows genre and sort etc, only still this error sometimes (not on all mp3s)
FLAC is doing nothing here, no genre, announce, sorting. only this error and its default (did no change on cfg)

Hope you can help with this little errors, also the gamesspy don't work here, hope you can check on that also.
One last thing, anyone knows how to fix the topstats.tcl?

Once again, thanks for your great work, Respect!
Here is a other request; Metacritic bar dir/file tag for movies/series/games/apps etc, with irc announce?

thedepartedone
12-06-2011, 10:45 AM
this is the only error im able to see listed quite a few times

--- ErrorInfo ---

while executing
"resolve list [file join $pwd [lindex [lindex $dirlist $nr] 0]]"
(procedure "::ioNiNJA::resort" line 24)
invoked from within
"::ioNiNJA::resort "
("RESORT" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.it

o_dog
12-06-2011, 10:46 AM
well that seems to come from resort so no really interesting

thedepartedone
12-06-2011, 12:04 PM
hmm, is there something i could have possibly messed up in ioftpd.ini? i followed the steps and added everything as the install says for ioninja, for ntfs junctions i have it set to SYMLINK (Perhaps thats my mistake??), all of the scripts work fine it just i cant get cwd to displays stats, it only shows while im uploading... could it be a conflict with nxtools?

o_dog
12-06-2011, 12:14 PM
no conflict with nxtools. But it only works on stuff uploaded in latest ioninja. And if enabled in ioninja.cfg.

It works here thats all i can say.

thedepartedone
12-06-2011, 12:24 PM
#
#
# Show complete message on CWD
#
set ioNJ(show_complete_message) 1

#
# should we show this in complete message
#
set ioNJ(show_user_info) 1
set ioNJ(show_group_info) 1


i have it enabled so i still cant quite figure out my error too. the log file only reports the resort as messing up... i have a question, ive noticed that in the install guide it shows we have to input these and i have but i noticed that they dont have a ; before them like the others in ini file so i added it to them, could that be the source of my issues?

under [FTP_Post-Command_Events]:
dele = TCL ..\scripts\ioNiNJA\ioNiNJA.itcl <---- missing the ;
cwd = TCL ..\scripts\ioNiNJA\ioNiNJA.itcl CWD <---- missing the ;
mkd = TCL ..\scripts\ioNiNJA\ioNiNJA.itcl POSTMKD <---- missing the ;
rmd = TCL ..\scripts\ioNiNJA\ioNiNJA.itcl POSTRMD <---- missing the ;

sorry for being an nuisance, much appreciated for the help

o_dog
12-06-2011, 05:37 PM
in flac.cfg change:
#variables
%artist_first %artist %album %decade %genre %year %ripdate %recorddate %retail %type%language %media %group %release
to:
#variables
#%artist_first %artist %album %decade %genre %year %ripdate %recorddate %retail #%type%language %media %group %release

The problem with the mp3 is not really a problem, it can't read a file. Probably corrupt

o_dog
12-06-2011, 05:44 PM
updated flac, should be working now.

Henkie2
12-07-2011, 03:28 AM
Helloa, thanks for the updates :)

Still got some errors on flac
12-07-2011 09:27:19 "../scripts/ioninja/plugins/flac.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ioNJ(flac_path_check)": no such element in array
while executing
"regexp $ioNJ(flac_path_check) $pwd"
(procedure "get_flac_information" line 79)
invoked from within
"get_flac_information $flacfile"
(procedure "::ioNiNJA::FLAC::Main" line 16)
invoked from within
"::ioNiNJA::FLAC::Main"
invoked from within
"if {![info exists pwd]} {
set pwd "[file dirname [lindex $args 2]]"
set

zag2me
12-07-2011, 06:26 AM
Massive thanks for the lossless support ;)

I keep getting m3u is banned file access denied message. Any ideas whats up?

o_dog
12-07-2011, 06:27 AM
it works now?

Henkie2
12-07-2011, 07:43 AM
Thanks for the updates :)
Got other error now on flac (as default)

12-07-2011 13:03:09 "../scripts/ioninja/plugins/flac.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ioNJ(flac_path_check)": no such element in array
while executing
"regexp $ioNJ(flac_path_check) $pwd"
(procedure "get_flac_information" line 79)
invoked from within
"get_flac_information $flacfile"
(procedure "::ioNiNJA::FLAC::Main" line 16)
invoked from within
"::ioNiNJA::FLAC::Main"
invoked from within
"if {![info exists pwd]} {
set pwd "[file dirname [lindex $args 2]]"
set

Henkie2
12-07-2011, 02:33 PM
Still got flac errors also on dzsbot; dZSbot error: Undefined message type "HALFWAY_NORACE_FLAC", check "msgtypes(SECTION)" and "msgtypes(DEFAULT)" in the config.

Someting else, maybe extra addon like; Metacritic bar dir/file tag for movies/series/games/apps etc, with irc announce?
And still hope that you can check on gamesspy.tcl :)

Once again, respect!

inetz
12-08-2011, 04:58 AM
thedepartedone ,

copy and paste them as they are, i believe if you put ; in front. that will basically make the script not read them.

o_dog
12-08-2011, 05:18 AM
no it will actually crash the script to put a ; infront
in tcl # marks a comment.

do NOT use that on settings. it will actually crash the script if it can't read variables.

inetz
12-08-2011, 05:33 AM
is that just for ioninja? as i notice ioFTPD.ini already contains lines with ;infront

[Help]
* = Help-SiteCmds.ini
;* = Help-nxTools.ini
;* = Help-ioNiNJA.ini

as an example.

going to setup on a temp box today o_dog from scratch using latest versions, see if i can get this bot working ......

inetz
12-08-2011, 07:10 AM
I found my error

in DZSbot config it was listed as :: ioFTPe::MessageWindow
in ioftpd.ini it was listed as :: ioFTPD::MessageWindow

i must have done a miss typing when changing values.
changed them to the same .rehash bot. hey presto !! thumbs up.

Trichlorethen
12-08-2011, 08:18 AM
the flac plugin still seems not working properly. I am using the latest version.
When uploading a flac release it does not show audio info, the sorting dosent work too.

here is the SystemError.log


12-08-2011 13:56:16 "../scripts/ioninja/plugins/flac.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ioNJ(flac_path_check)": no such element in array
while executing
"regexp $ioNJ(flac_path_check) $pwd"
(procedure "get_flac_information" line 79)
invoked from within
"get_flac_information $flacfile"
(procedure "::ioNiNJA::FLAC::Main" line 16)
invoked from within
"::ioNiNJA::FLAC::Main"
invoked from within
"if {![info exists pwd]} {
set pwd "[file dirname [lindex $args 2]]"
set

Trichlorethen
12-08-2011, 10:05 AM
well, i played around a bit with the plugin. I`ve added the flac settings into the config which was missing.
No errors anymore in log.


##================== FLAC Settings ============
# Theese dirs will be checked against the bans and allowed seperate by |
set ioNJ(flac_path_check) {/FLAC/}
set ioNJ(flac_allowed_years) ""
set ioNJ(flac_banned_genres) ""
set ioNJ(flac_allowed_genres) ""
set ioNJ(flac_audio_year_check) 0
set ioNJ(flac_audio_genre_check) 0
set ioNJ(flac_audio_year_warn) 0
set ioNJ(flac_audio_genre_warn) 0


but still, it does not show the audio info on upload. The sorting is almost working, just genre will not.

o_dog
12-08-2011, 10:39 AM
updated, in new version replace flac.cfg, flac.itcl and ioninja.icfg

thedepartedone
12-08-2011, 01:23 PM
thanks inetz and odog, got it all working, it was that damn ";" in the ioftpd ini that prevented everything....

i too noticed the issue with flac, the only info displayed is when its being uploaded to show progress of completion and seems to treat it as a regular packed item like .rar&.sfv. i looked at the theme and cookies file thinking something may be missing, i saw the theme file had parameters for flac but the COOKIES file doesnt have anything related to flac.... perhaps flac requires different triggers for it than MP3?

Trichlorethen
12-08-2011, 01:28 PM
not working, ioNJ(realtime_flac_info) and ioNJ(flac_audio_completebar) missing in ioNiNJA.itcl

it dosent show info on upload and create only a normal completebar without genre/year

inetz
12-08-2011, 01:33 PM
any pointers on what this could be relating too ::

12-08-2011 19:30:52 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
invalid command name "get_uinfo"
while executing
"get_uinfo $user flags"
(procedure "::ioNiNJA::ZipScript::PRE_STOR" line 4)
invoked from within
"::ioNiNJA::ZipScript::PRE_STOR [lindex $args 2] "
("PRESTOR" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(fi
12-08-2011 19:30:52 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
invalid command name "::ioNiNJA::CWD"
while executing
"::ioNiNJA::CWD "
("CWD" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 1018)
----

o_dog
12-08-2011, 02:37 PM
inetz: yes, yu didn't copy init.itcl to scripts dir......
or you svrewed up the theme or config file.

o_dog
12-08-2011, 02:45 PM
now a second update is up, if you've already updated today replace pzs-ng.theme and ioninja.itcl. otherwise, do a clean install

o_dog
12-08-2011, 04:26 PM
is it working now?

Trichlorethen
12-08-2011, 04:39 PM
there is ioNJ(message_flac) missing in NiNJALiB.tcl, which gives no audio info on complete message on cwd.
i changed some lines in NiNJALiB.tcl:

if {[lindex $extrainfo 0] == 0} {
append message "$ioNJ(message_mp3)"
}
if {[lindex $extrainfo2 0] == 0} {
append message "$ioNJ(message_flac)"


its working now but the sorting not

thedepartedone
12-08-2011, 04:52 PM
EDIT: Complete Bar works, Realtime status/info works, and SORT Works

the only thing not working is the flac id3 info when entering for CWD

o_dog
12-08-2011, 06:07 PM
sort for flac works for me.....

hmmm have you updated the flac.cfg and flac.itcl to latest?

the id3 is not workign yet. Not even a bug. It's simply not done yet.

o_dog
12-08-2011, 07:22 PM
btw: did you replace the theme file and restart server?

thedepartedone
12-08-2011, 08:45 PM
yes, ive updated all to the current one... question, if i add the lines Trichlorethen added to that file, would it cause an issue? from the looks of it, he got the id3 for flac to display on CWD.


as for sort, you probably missed a line in the flac.cfg file Trichlorethen since it is working 100% on my end.?

o_dog
12-09-2011, 03:34 AM
no you can add it.

zag2me
12-09-2011, 05:59 AM
Awesome work sir!

[R] 226-| + CRC-Check: oK! |
[R] 226-+-=[FLACtag]=-----------------------===------------+
[R] 226-| Title : Det Nye Or (Bonus) |
[R] 226-| Artist : Michael Bundesen / VA |
[R] 226-| Album : Now Christmas 2011 |
[R] 226-| Genre : Pop |
[R] 226-| Year : 2011 |

I still get m3u is banned file though. How do I turn this off?

EDIT: nevermind, found out I had to add m3u to "set ioNJ(banned_allowed_files)" list. Working now :)

Trichlorethen
12-09-2011, 08:33 AM
yea, i maybe messed up some things, did a clean install now. The flac plugin works like o_dog says.

@thedepartedone: this was just a part of what i changed in NiNJALiB.tcl not the whole code, wasn`t sure if i could paste or link it here. and yes i`ve got id3 info on CWD running.

thedepartedone
12-09-2011, 09:58 AM
hmm doesnt seem to work for me, this is what i have....:

if {$sample != ""} {
append message "$ioNJ(message_sample)"
}
if {[lindex $extrainfo 0] == 0} {
append message "$ioNJ(message_mp3)"
}
if {[lindex $extrainfo2 0] == 0} {
append message "$ioNJ(message_flac)"
} elseif {[lindex $extrainfo 0] == 3} {
append message "$ioNJ(message_mv)"
} elseif {[lindex $extrainfo 0] == 1} {
append message "$ioNJ(message_imdbinfo)"
}


did you define what $extrainfo2 is and where?

Trichlorethen
12-09-2011, 10:46 AM
yes!

find the lines with extrainfo in NiNJALiB.tcl and add the following parts


set extrainfo [readchattr 25]
set extrainfo2 [readchattr 26]



set extrainfo [readparentchattr 25]
set extrainfo2 [readparentchattr 26]



# MP3INFO
if {[lindex $extrainfo2 0] == 0} {
append replacevar " %audio_artist {[lindex $extrainfo2 5]} %audio_album {[lindex $extrainfo2 3]} %audio_title {[lindex $extrainfo2 end-1]} %audio_bitrate {[lindex $extrainfo2 2]} %audio_producer {[lindex $extrainfo2 6]} %audio_description {[lindex $extrainfo2 8]} %audio_genre {[lindex $extrainfo2 7]} %audio_year {[lindex $extrainfo2 4]} %audio_samplerate {[lindex $extrainfo2 15]} %audio_writeapp {[lindex $extrainfo2 10]} %audio_bitdepth {[lindex $extrainfo2 16]} %audio_language {[lindex $extrainfo2 17]} %audio_catalog {[lindex $extrainfo2 18]} %audio_duration {[lindex $extrainfo2 1]} %audio_riptool {[lindex $extrainfo2 19]} %audio_type {[lindex $extrainfo2 end]} %audio_channels {[lindex $extrainfo2 14]} %audio_media {[lindex $extrainfo2 13]} %audio_recorddate {[lindex $extrainfo2 9]} %audio_retail {[lindex $extrainfo2 12]} %audio_ripdate {[lindex $extrainfo2 11]}"
set release_type "FLAC"
}
if {[lindex $extrainfo 0] == 0} {
append replacevar " %audio_artist {[lindex $extrainfo 1]} %audio_album {[lindex $extrainfo 2]} %audio_title {[lindex $extrainfo 3]} %audio_bitrate {[lindex $extrainfo 4]} %audio_mpeglayer {MPEG [lindex $extrainfo 5] Layer [lindex $extrainfo 6]} %audio_chanmode {[lindex $extrainfo 7]} %audio_genre {[lindex $extrainfo 8]} %audio_year {[lindex $extrainfo 9]} %audio_samplerate {[lindex $extrainfo 10]} %audio_lame_version {[lindex $extrainfo 11]} %audio_lame_preset {[lindex $extrainfo 12]} %audio_original {[lindex $extrainfo 13]} %audio_padding {[lindex $extrainfo 14]} %audio_duration {[lindex $extrainfo 15]} %audio_track_nr {[lindex $extrainfo 16]} %audio_vbr_old_or_new {[lindex $extrainfo 18]} %audio_vbr {[lindex $extrainfo 17]}"
} elseif {[lindex $extrainfo 1] == 0} {



if {[lindex $extrainfo 0] == 0} {
append message "$ioNJ(message_mp3)"
}
if {[lindex $extrainfo2 0] == 0} {
append message "$ioNJ(message_flac)"
} elseif {[lindex $extrainfo 0] == 3} {


this adds support for id3 info on CWD

o_dog
12-09-2011, 12:13 PM
an update will be released in afew days where there is alot of changes to those settings so you can wait too.

o_dog
12-09-2011, 12:15 PM
zag2me: acutally it creates the m3u file in the future.
I just forgot to include an updated ninjalib.tcl.....woops =)

thedepartedone
12-09-2011, 04:28 PM
Trichlorethen, works like a charm... thanks for the help

o_dog
12-09-2011, 06:03 PM
New update up now. Some fixes to CWD command and new features. Like Tvinfo (only on new shows or resorted). Fix to rescan and a few minor things like m3u creation on flac upload etc

Henkie2
12-09-2011, 07:17 PM
Thanks for the new updates, flac is running well. Only my imdb is not working anymore, no sorting/announce etc.

Any one else got this as well?

o_dog
12-09-2011, 08:15 PM
Henike2: got an message about something not working. Updates only relates to previous release. Otherwise work backwards or do a clean install.

Also, after replacing the files, always restart the server

thedepartedone
12-09-2011, 11:29 PM
all checks out... great work odog

SRH99
12-10-2011, 10:28 AM
Any help much appreciated

12-10-2011 16:23:43 "../scripts/ioninja/plugins/FLAC.itcl" terminated abnormally
--- ErrorInfo ---
can't read "art": no such variable
while executing
"if {$art != "-1"} {
set ok [writefile $afile [join [lreplace $artists_idx $art $art [list $a1 $artist [file join $artists ${artist}[file extension ..."
(procedure "audioscrobbler_artist" line 50)
invoked from within
"audioscrobbler_artist $artist"
(procedure "get_music_artist" line 9)
invoked from within
"get_music_artist $artist $dir"

also the sorted/flac/ folder looks kinda strange, eg. the 2.artists only contains -'s

everything else works great (incl. the sorted/mp3 folder)
Thanks..

o_dog
12-10-2011, 10:32 AM
in ..\scripts\ioNiNJA\Artists
create a textfile called artists.db

o_dog
12-10-2011, 10:52 AM
there is however a major bug i just noticed. Will look into it and upload a fix tonight

SRH99
12-10-2011, 10:56 AM
in ..\scripts\ioNiNJA\Artists
create a textfile called artists.db

bang on, that did the trick, thank you once again.. :)

o_dog
12-10-2011, 11:04 AM
update up now, replace ninjalib.tcl

Henkie2
12-11-2011, 09:16 AM
o_dog, thanks for your great work. Did clean install of latest version (ofc restarted) and almost everything is working here. only imdb is doing nothing any more. No errors and also no results on sort/announce etc.

Henkie2
12-11-2011, 09:46 AM
on ioftpd.log i see that my imdb got a error
ERROR IMDB: /XVID/Final.Destination.5 - Title Unkown - http://www.imdb.com/title/tt1622979/
also on dZSbot.conf i saw little type that's wrong? set msgtypes(SECTION) HALFWAY_NORACE_MV_FLAC

Trichlorethen
12-12-2011, 01:15 AM
What about rename the group of dir to genre of the music beeing uploaded?

Did site addgroups, but nothing happens. Is there something that i have to change in config
to get it work?

o_dog
12-12-2011, 03:41 AM
remove option to hide group

Trichlorethen
12-12-2011, 11:38 AM
you mean comment out this option?

thats my setting:
set ioNJ(hide_gname_real) ""

it only creates the group i am in, but no genre

o_dog
12-12-2011, 11:39 AM
NEVER comment out anything. It will crash the script. read the config files and turn it off.

o_dog
12-12-2011, 11:41 AM
I might have removed the option it seems.

Trichlorethen
12-12-2011, 11:49 AM
ok, would be nice if you readd this feature again.

o_dog
12-12-2011, 11:50 AM
we'll see. I'm busy for a few days so i'm off now until thursday atleast.

thedepartedone
12-12-2011, 12:44 PM
hey odog, i cant seem to get download from sorted folders to work still... the account ioFTPD is the one im using and when i did uinfo for it, i got uid= 0 gid=0...
under ioftpd.ini i have these set
Default_Directory_Attributes = 777 0:0
Default_File_Attributes = 644 0:0

and have the same settings for nxtools as well... sorting work excellent and does it the way i need it, but i just cant download from any of those links and this is the message that is displayed....:

[R] SIZE test_files.mp3
[R] 550 test_files.mp3: No such file or directory.
[R] PASV
[R] 227 Entering Passive Mode (xx,xxx,xxx,147,21,45)
[R] Opening data connection IP: xx.xxx.xxx.147 PORT: 5421
[R] RETR test_files.mp3
[R] Connected. Negotiating TLSv1 session
[R] 550 test_files.mp3: No such file or directory.
[R] Data Socket Error: Failed TLSv1 negotiation, disconnected
[R] Transfer Failed!
Transfer queue completed
Transferred 0 Files (0 bytes) in 0.08 seconds (0.0 KB/s)
1 File Failed

any ideas?

o_dog
12-12-2011, 12:52 PM
ask Yil, this is not an ioninja problem

Trichlorethen
12-12-2011, 12:54 PM
works here, so no ioNINJA problem. Maybe something with ioFTPD.ini? dunno

o_dog
12-16-2011, 09:33 AM
next version will have a fix for resort in virtual raid dirs. Sorry, screwed this one up pretty badly.

Trichlorethen
12-16-2011, 11:46 AM
When a release is complete and i delete a file which is not in sfv (jpg, cue, m3u ..), the completebar disappears
and announces incomplete, but its not when i do rescan it says complete.

o_dog
12-16-2011, 11:57 AM
ban files not in sfv instead for now.

ArtX
12-17-2011, 06:04 AM
Decided to try your latest version, did a clean install as suggested, when i upload zip files i get this error in logs


12-17-2011 11:01:25 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
integer value too large to represent
while executing
"lsort -decreasing -integer -index 2 "$total_racers""
(procedure "outstats" line 85)
invoked from within
"outstats $newracer $newleader $announce $announcestats $file "
(procedure "::ioNiNJA::ZipScript::ZipScript" line 301)
invoked from within
"::ioNiNJA::ZipScript::ZipScript 0 [lindex $args 1] [lindex $args 2] [lindex $args 3] "
("CHECK" arm lin

Repeated over and over, seems to be doing it on random files, just checked a few other places and a lot of files are missing, just watch it upload a rar file, it was showing in windows then when flash moved onto the next file, it disappeared from explorer.

Edit: now on upload i get this error


12-17-2011 11:15:35 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
invalid command name "get_uinfo"
while executing
"get_uinfo $user flags"
(procedure "::ioNiNJA::ZipScript::PRE_STOR" line 4)
invoked from within
"::ioNiNJA::ZipScript::PRE_STOR [lindex $args 2] "
("PRESTOR" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(fi


Think a clean install of both ioftpd and ioninja might be in order

o_dog
12-17-2011, 06:30 AM
did you forget to move init.itcl?
also, try with an unedited version of ioftpd. oe where you have not changed skin nor config.

as for files, I have no problem here and noone else seems to be screaming out loud

ArtX
12-17-2011, 07:52 AM
after trial and error, even on a clean setup, seems it was me testing and un-commenting two lines in the script that were at fault, note to self, stop testing and un-commenting things :)

Embarrassing thing is, i did check those two lines and thought i had re commented them out and saved the file, guess i hadn't :o

o_dog
12-17-2011, 11:33 AM
don't comment out or uncomment anything.settings are there to be set, not removed.

ArtX
12-17-2011, 12:55 PM
don't comment out or uncomment anything.settings are there to be set, not removed.
as i found out ;)

mr.babek
12-22-2011, 11:29 AM
Guys , for some reason I can't get the IMDB function to work in the latest release (first one I am trying)
I get this error on the bot :

[17:19] dZSbot warning: Invalid log line: 12-22-2011 17:19:21 ERROR IMDB: /XViD/The.Girl.from.the.Naked.Eye.2012.DVDRiP.XViD-NOSCREENS - Title Unkown - http://www.imdb.com/title/tt1079360/

It resolves the movie but doesn't make a imdb dir in the release or download covers nor does it announce.

I've tried everything, I am getting a bit frustrated =)

o_dog
12-22-2011, 11:37 AM
seems it can't find the title fo the movie, might be alot of diffrent reasons for it. Have you set curl to use a proxy in ioninja config?

o_dog
12-22-2011, 11:38 AM
set ioNJ(curl_proxy_type) 5
try setting that to 0

mr.babek
12-22-2011, 11:46 AM
that fixed it , never looked at the proxy settings , many thanks!

inetz
01-05-2012, 07:21 AM
hows the work going : o_dog,
must say since the last update, and configging from fresh, working very well :)

Aviator
01-09-2012, 01:11 AM
Hi all, I just ran into a small problem I need some help with:
I just got a new router/modem from my new ISP and now i'm unable to connect to myself using my external IP or DNS. If I do so, I get a connection timeout. I can now only connect using 127.0.0.1. Not a big deal, but the !bnc command is affected, because of this I now get BNC > 127.0.0.1:999 > UP > 10s ago, How can I make it announce "BlahBlah.ServeFTP.com:999 > UP > 10s ago"?
Thanks in advance !

o_dog
01-09-2012, 10:20 AM
if you can't connect to the bnc from outside it's not up. You need to forward ports in router in order to do so. The bnc command only announces what you enter in config, in other words itonly checks bnc's that are listed.

Aviator
01-10-2012, 06:45 AM
Ports are forwarded, the server is up, people are downloading/uploading. The problem is that I cannot connect the bnc checker to ioFTPD using my external IP or hostmask. Only using 127.0.0.1. If I put the hostmask in de config, it will say the server is down, while actually, it's up.

Just to clarify, I cannot connect to ioftpd from within the LAN environment using anything other than 127.0.0.1, from outside the LAN there is no problem connecting. Since everyting is running on one PC within the LAN, I'm stuck with 127.0.0.1 :mad:

So I need to cheat a bit. Since everything is run from one PC anyway, I need the bouncer to announce hostmask : port instead of 127.0.0.1 : port. Is there any way to do that ? Other option is to just disable the bnc checker, but i'd rather not do that...:cry:

Any suggestions would be welcome !

Yil
01-11-2012, 04:08 PM
Aviator: Any software firewalls or anti-spyware programs installed? I assume you haven't played with the network routing tables either... When you try to connect to the server what error message do you get? If you have enabled the 'Reject_Unknown_Ips' option enabled but failed to have any actual user hostmask contain your actual IP address (say 192.168.*.* or something more specific if behind a NAT router) you will connect but then get immediately disconnected without seeing any text and I want to make sure that isn't what is happening.

thedepartedone
01-12-2012, 05:39 PM
i have a question... how do i get the imdb plugin to work for videos that are not packed? lets say i upload a movie in .AVI format, the imdb doesnt work... my assumption is that its only for packed material.. is there a way to get this working?

EDIT...: NEVERMIND, it does work with those file formats but the only way ive been able to get it to run is on exec_on_nfo upload... is there a way just to get the imdb info without needing anything aside from the file and possibly the directory labeled?

o_dog
01-14-2012, 11:28 AM
well, you also need to add external ip to the user cheking the host. Since it connects over nat it will use external IP

Aviator
01-16-2012, 03:55 PM
O-dog, Yil, I've discovered the problem isn't ioftpd related as other software using the external IP has stopped working also (FTP Client and VNC). Therefore the problem lies within the new modem/router my ISP has provided me with. I assume the problem is caused by it's configuration which according to the ISP cannot be altered. Tried putting the PC in the DMZ but to no avail. Only option left is to disable the bnc checker :( unless you have any other ideas ?

klash
01-18-2012, 10:01 AM
In the Readme.txt from ioNiNJA.1.0.ALPHA.2.0.5.2011-12-10.rar under 1. INSTALLATION are no FTP_Custom_Commands, i think the commands rescan, etc. are so not working or?

greets

o_dog
01-18-2012, 10:03 AM
sorry, it's an alpha relase, and thus it's not fully completed. Should have added them though

inetz
01-18-2012, 12:04 PM
stupid question.... how do i have -today folder

like

/comics/
/comics-today/ (which is dated dir)

o_dog
01-18-2012, 12:05 PM
use nxtools

inetz
01-18-2012, 12:08 PM
ah :( thought it was something with in ioninja

Aviator
01-18-2012, 03:02 PM
Turns out the new modem/router has no NAT loopback function, so I resolved it by adding the hostmask and internal IP of the server in the Windows hosts file. Not pretty, but it works like a charm :D

klash
01-20-2012, 10:27 AM
works the imdb plugin corectly? i have in the imdb bar.. this

[iMDB] - ( MOVIENAME - Horror,IMDb.com, Inc. - 2010 - 5.9 with 393 votes - 0 screens ) - [iMDB]

,IMDb.com, Inc. fits not from

set ioNJ(imdb_bar) "\[iMDB\] - ( %imdb_title - %imdb_genre - %imdb_year - %imdb_rating with %imdb_votes votes - %imdb_screens screens ) - \[iMDB\]"

o_dog
01-20-2012, 12:08 PM
I have no idea what that means

SRH99
01-21-2012, 09:00 AM
guess imdb changed the homepage a bit, i see same issue as klash

o_dog
01-21-2012, 12:52 PM
imdb links?

Trichlorethen
01-22-2012, 08:45 AM
when is the next update coming? i badly miss the addgroup feature.

zombies
01-22-2012, 05:25 PM
First of all, thanks very much o_dog for an awesome script. I've been using it forever and I'm really glad you've continued development on it.

I've noticed a little bug and managed to correct it myself. When you enable the nfo announce, the speed always displays as %u_speed and after doing some digging, I discovered why. The speed for the nfo announce in the dZSbot.vars file isn't listed. To correct this, change the variables(NFO) variable to the following:
set variables(NFO) "%pf %u_name %g_name %release %f_name s:%u_speed"

zombies
01-22-2012, 05:28 PM
Turns out the new modem/router has no NAT loopback function, so I resolved it by adding the hostmask and internal IP of the server in the Windows hosts file. Not pretty, but it works like a charm :D

What exactly do you mean by this? I'm having the same issue and I've just settled for having localhost as the address checked. However, I'm able to connect with an FTP client to the server using the external address.

Aviator
01-24-2012, 01:27 PM
It is quite easy actually, i'm assuming you are using Windows OS ? In this case go to location of your hosts file, this usually is c:\windows\system32\drivers\etc\hosts. Now either open the hosts file with admin rights using notepad or any other text editor. You could also drag en drop the hosts file to your desktop and then open it with notepad or any other text editor.
Just add the following line:
localhost(lan ip) external host (wan ip)
examples:
192.168.1.4 myserver.serveftp.com
10.0.0.4 213.42.24.257
(you are now redirecting local traffic that is trying to connect to the wan ip/hostmask back to the localhost, eliminating the need for NAT loopback in your router)
Save the file and replace the hosts file with the edited one.
Do not forget to edfit the dZSbot config file, change
set bnc(LIST) "Site|ftptls://!checker: pass@localhost: port" into
set bnc(LIST) "Site|ftptls://!checker: pass@your.wan.ip.or.hostmask: port"
Rehash the bot and your all set !

klash
01-25-2012, 05:50 AM
imdb links?

http://www.imdb.com/title/tt1438176/

http://www.imdb.com/title/tt1634122/

as sample

FireKiss
01-30-2012, 08:00 PM
i have same problem with imdbgenre.
it announce movie's genre and {IMDb.com, Inc} tag.
what should i do to remove that last tag?

o_dog
01-30-2012, 08:16 PM
right now you will have tolive with it. Don't have the time to debug it right now.

o_dog
01-30-2012, 08:47 PM
in imdb.tcl exchange

if {[set matches [regexp -nocase -all -inline {<a href="/Sections/Genres/.+?/">(.+?)</a>} $data]] != ""} {
to:

if {[set matches [regexp -nocase -all -inline {<a href="/Sections/Genres/.+?/">([A-Za-z0-9]+)</a>} $data]] != ""} {

FireKiss
01-30-2012, 08:58 PM
oh, good works. thanks alot, o_dog :)

inetz
02-03-2012, 07:52 AM
to get imdb to announce .. do i just edit the following line

{/xvid/} {TCL ../scripts/ioninja/plugins/imdb.itcl $args}

and set it to my dir .. like

{/incoming/xvid/} {TCL ../scripts/ioninja/plugins/imdb.itcl $args}

beucase i have done this, but nothing announces at all IMDB wise, when .nfo is uploaded to the dir. i may be missing something though.

o_dog
02-05-2012, 05:24 PM
check settings for proxy in config.

inetz
02-13-2012, 05:26 PM
check settings for proxy in config.

thank you ! :) very simple fix... or lack of reading should i say.

IMDB works on .nfo now, should TV work in same way :confused:

thedepartedone
02-15-2012, 05:18 PM
@inetz .. yes, TV will work the same but in my case i have only been able to get the imdb feature to work ONLY when a .nfo file is loaded to the directory...

@odog ... i have 3 questions, perhaps you or someone else may be able to help....


first question i have pertaining to imdb plugin.... is there a way to get it to check for nfo first and if non is found (or no imdb link found in the file) then proceed to check by directory name???? i dont use sitebot/irc and i do have latest build for ioftpd, ioninja and nxtools....

second question i have involves the resort feature.... to my understanding, this feature was fixed in the latest build? however, when i try to resort my older mp3 folders to work with the SORTED BY feature, it does not add them or should i say resort them. it only sorts the NEWLY uploaded material and works for both MP3 and FLAC. am i overlooking some features?

third question also is about the RESORT/SORTED BY features.... if i was to move a bunch of folders that were sorted by the script perfectly to another location (EX: if moving the files from a smaller harddrive to a larger one for upgrade/space purposes), will the sorted links still work and be intact along with all info that normally comes up in CWD? or will i have to perform a command like site SYMCLEAN for it to check for broken links or is it something that is remembered by the folders/files and i wont have to do no work except for me transferring the material?

thanks in advance for your help...

o_dog
02-16-2012, 01:35 PM
inetz: not your fault, it shouldn't eb enabled by default.

the resort function was probably not fixed in latest version for virtual raid dirs. Will be fixed when next version comes out but i'm swamped at the moment. if you want to resort it remove one dir at the time from virtual dir and resort it. The remove that one and resort the others one by one. Or wait for the next release.

The imdb plugin works without nfo, add it to "on complete" instead of "on nfo" and it will use nfo if avalible, otherwise the dirname.

No the dirs are not updated by default whne moving dirs around. You need to do a resort. site resort symlink SHOULD work for this since it only resorts based on onld symlinks and updates them.

inetz
02-16-2012, 05:20 PM
ah some maybe if i move tv plugin to on complete?? might work.

fudgi
02-18-2012, 07:29 PM
hi ,
hope you guys might know what could cause this issue.

i was running ioninja+eggdrop just fine, then i reinstalled windows 7 and tried to use my preconfigured ioftpd+ioninja+eggdrop but only ioftpd+ioninja would work, eggdrop would not..

then i setup eggdrop anew but with the same error.
i kind of think that eggdrop needs some kind of dependencies that r missing now in windows 7.

heres the error


[01:24] Tcl error in file 'prue.conf':
[01:24] couldn't open socket: invalid argument
while executing
"socket -async $ftp(host) $ftp(port)"
(procedure "Ftp::Connect" line 13)
invoked from within
"Ftp::Connect $handle"
(procedure "ng_FtpLoad" line 16)
invoked from within
"ng_FtpLoad"
(file "sitebot/dZSbot.tcl" line 318)
invoked from within
"source sitebot/dZSbot.tcl"
(file "prue.conf" line 176)
[01:24] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)


thx in advance

o_dog
02-20-2012, 04:59 PM
you ahve a script called prunetcl loaded. this is failing. Has nothing to do with ioftpd

Yil
02-20-2012, 09:42 PM
Actually I think that's the eggdrop config file being referred to by prue.conf. My guess is you have incorrectly specified either $ftp(host) or $ftp(port) in the config file since those are the arguments used to the socket command giving the error in the bot.

nayan007
02-20-2012, 09:53 PM
Congratulations for o_dog. o_dog your work is appreciated :o

o_dog
02-21-2012, 07:43 AM
hmm, my guess is ip. Use local ip for the contant connection. Anyway it's a config error. I'm kinda confused as to why it would crash though.

fudgi
02-21-2012, 07:57 AM
there is no script called prunetcl in those lines, or am i blind?
ah nvm, didnt see the other responses, but the config line worked before, only not after reinstalling windows 7

edit: and normally it used to just say: cant connect to the ftp, if it was incorrect
edit2: you were right, somehow the config doesnt like my adress anymore, with my ip it works. should have tried it earlier lol

fudgi
02-21-2012, 06:11 PM
another question, in what file is the racestat saved? i can see the racestats shortly when the release is done, but after the unpack_complete.itcl script is finnished and deleted the rars i cannot see the stats anymore. mayb i could excemt that file in the config from being deleted then.

also, how do i use the botchk.itcl where in ioftpd.ini do i add it?

edit: i disabled unpacking for testing purposes, and yes now the racestats show up againw hen i enter the folder, its weird though that there is no file in that folder containing those stats, normally it would be ioftpd.message, but that one isnt there and files that r hidden are enabled to be seen

o_dog
02-22-2012, 02:17 PM
racestats are calculated on the fly when entering directory. Racestats are saved in .ioftpd file. But the unrar complete removes the files and thus the racestats dissapear.

fudgi
02-22-2012, 02:41 PM
ah ok, but i also noticed, that if a new race is complete, the racestats of an older release dont get calculated on the fly anymore. but not only racestats arent shown anymore, neither is imdb info. and i have lookek, but the imdb info isnt added in the .ioftpd file

o_dog
02-22-2012, 03:34 PM
hmmm, i have no idea what that means.

IF you unack a release and it will no longer have the files raced so no racestats are shown. If you want to keep racestats, then don't unpack.

fudgi
02-22-2012, 06:31 PM
i got that, but racestats of untouched releases r only available for the last 1 or 2 races, the rest isnt shown either

Yil
02-27-2012, 04:16 PM
I just started playing with the latest v1.0a release and haven't really done much with it yet, but I noticed this problem.

[15:40:58] [R] 550 .----== ioNiNJA v1.0a ==---------------------------.
[15:40:58] [R] 550 | + Not In SFV: Files has to be in the sfv! |
[15:40:58] [R] 550 `--------------------------------=====-------------'

The first two lines need a dash after the error code prefix, it appears that it's confusing FlashFXP a bit the way it is.

The readme file or whatever didn't have the [FTP_Custom_Commands] needed to actually use the script, but the previous 1.0a release did in case anyone is looking for them.

o_dog
02-27-2012, 05:51 PM
yeah the codes are screwed up. I have no idea which ones are prefixed by default anymore and which are not.

Yil
02-27-2012, 08:55 PM
Check out doc/Events.txt. It's a little bit old but lists arguments scripts are called with for On*, pre/post, etc events as well as the default prefix if any.

Pacman
03-08-2012, 01:43 PM
the cmd site resort mp3 took very long, i need over 3 minutes about one folder with 10 audio files. my system have no load cpu is mostly under 10 % cpu load. maybe someone how to speed up the resort ?
i think rescan is faster with resort as only site resort mp3.

zombies
03-12-2012, 08:07 PM
I'm having an odd issue that I haven't seen before where I get the following error message:
SAMPLE: Only 1 sample per SAMPLE DIR
I can't seem to find anywhere in the config or in the code where this appears. I'd like to be able to upload more than one sample in a given sample directory and to my recollection this has always been possible. Thoughts?

AndreyN
03-18-2012, 01:38 AM
Children who can faced similar problems of sorting mp3. Screens I apply. Advise as will cope with this problem!

danon
03-19-2012, 09:08 AM
Hi, I have problem with ioTV. When I trying to sorting with dir name %release (in ioTV: {/tv/} {C:/ioFTPD/_Sorted/tv/sd/eng/1. Title/%show_name/Season.%epseason/%release} ), my dir looks like that: C:\ioFTPD\_Sorted\tv\sd\eng\1. Title\90210\Season.04\%release . Anyone may help me with last variable? I need to change %release to for example 90210.S01E01.XviD.HDTV-GRP.

Hans_
03-22-2012, 06:21 AM
hi all,

thanks for such a great script :)

i have an issue with the rescan all cmd (if i specify a folder it works, like: site rescan blabla.bld-EE)

following is in the error log:

--- ErrorInfo ---
can't read "zip_files": no such variable
while executing
"llength $zip_files"
(procedure "ZipScript::ZipScript" line 119)
invoked from within
"ZipScript::ZipScript 1 $pf $crc $vf"
(procedure "::ioNiNJA::ZipScript::rescan" line 91)
invoked from within
"::ioNiNJA::ZipScript::rescan "
("RESCAN" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean
:o

i did some more tests and it seems the following is the source of that error, when i add the virtual path to (in ioninja.cfg) the script crashes on rescan all cmd:


set ioNJ(no_sym_nfo) {/0DAY/|/REQUESTS/|/EBOOKS/}

set ioNJ(nosym_sfv_dirs) {/0DAY/|/REQUESTS/|/EBOOKS/}

set ioNJ(no_diz_required) {/GBA/|/NDS/|/EBOOKS/}

o_dog
03-22-2012, 10:15 AM
as i've stated a few times, the rescanall and resort commands are not working as they should at the moment.

I forgot to add the %release varible to ioTV. Not possible at the moment i thinl

danon
03-22-2012, 04:22 PM
Ohh... but i hope that sometime you will find the moment and add this variable to ioTV :)
Peace.

zag2me
04-19-2012, 09:21 AM
Is there any way to auto make flac weekly or daily directories?

mdas9083
04-20-2012, 02:52 AM
Hi O_doug,

I appreciate your work.It is very good script.

zag2me
04-20-2012, 05:30 AM
Also how to disable the bouncer check of the eggdrop?

o_dog
04-28-2012, 08:36 AM
zag2me: don't add any bouncers. Check nxtools for daily dirs etc.

danon
05-21-2012, 02:28 PM
how to disable "force first nfo" in latest ioninja?

o_dog
06-08-2012, 08:19 AM
check configuration.
Sorry, i've been away lately, busy irl. But i will have time this week and the next. So i will finish the script and fix the bugs asap. So please report them, i'm going away for the weekend. And when i get back i will sink my teeth into the script. That is if anyone is still using it?

Henkie2
06-08-2012, 10:02 AM
o_dog any change to get the genre announced on mvid like flac/mp3?

Still loving ya work man :)
respect

o_dog
06-10-2012, 06:36 AM
Henkie: sorry, but no. There is no embedded info for mvid with genre etc. So it's extracted from the nfo. This is a very bad way of doing it but the only one that is possible at the moment. This means seperate annone for genre in mvid

o_dog
06-21-2012, 06:45 PM
i need bug reports in order to fix them..... please? =)

Yil
06-22-2012, 12:19 AM
Don't forget the dashes, as in...
set message "553-$ioNJ(zipscript_header)553-$ioNJ(zipscript_no_sfv)553 $ioNJ(zipscript_footer_skip)"

There's a few similar error responses in ioNiNJA.itcl that need the dash added to the first two lines.

I don't believe the show_execute_time feature works, which is a good thing as it's also missing the dash and something I'd disable anyway, but probably a good idea to remove the option from the config file.

I remember "Proof" should be added to the notparent list.

I think the script should have an option to enable creating an incomplete style link for releases that are oversized. If an uploaded zip contains a diz that indicates say 3 files but 10 are in the dir I think the complete tag will be > 100% but you wouldn't have an easy way to know which dirs aren't "right" unless you manually check them or something. An "oversized" link would be one way to do that.

I'd like to suggest three changes to "site rescan". The first is if you do "site rescan this" it should rescan the directory AND any subdirs that match the "notparent" regex since these would be treated as "one" entity. This would make it easier to highlight a bunch of dirs (but not all of them) and site rescan them without having to go back and do the subdirs...

The second is that I think I used "site rescan" with v1 on a large number of dirs on a disk that was having errors and it seemed to generate a listing of all the files first and then proceeded to work on them. I think trying that on some HUGE fanout directory would probably be a REALLY bad idea. Probably better if it just did a depth first traversal using recursion so it only processes one dir at a time...

And the third idea is to have an option that preserves the timestamp on the directory being rescanned if nothing changed. I'd like it better if only the timestamp on the tag itself changed provided the dir checked out OK which probably means you'd have to check the dir first and then decide to delete the tag and create a new one or just update the time on the old correct one.

Another idea I had was an option (some might not want this) to play games with the group owner of a directory much like mp3's can use genre. Basically the group owner is INCOMPLETE, RACE, or OVERSIZED until it's complete so it's easy to see the status. If complete the group owner should reflect the group who actually won the race. Might be fun and useful.

SRH99
06-22-2012, 12:23 AM
If the issues with site rescan/resort is fixed, I think ioNiNJA is perfect :)

o_dog
06-22-2012, 03:24 AM
YiL: well. Tht was a list =)

Proof, yepp, forgot that 3 times now. =)

So the responses should have dashes now? Will look into it. I know some ftp clients have a hard time.

Show:execute time was a debug option that I added for my own testing and the only reason it's in there is that I forgot to remove it upon release. I will remove it since I see no real purpose for it,and fixing it would eb a headache.

The oversized incomplete dir? I see a hell of a lot of complecations there. wrong files, large dirs, manual work. Should maybe just change the way it picks up total_files and see if there is a better way of doing it? Or jsut peresuade the zip genration that the 90s is dead?

Site rescan workings right now:
site rescan this = what is in the current dir.
site rescan all = What is in the current dir and all subdirs.
Don't think i will change this for 1.0 final. might add more options for it later. Thought about a searchstring options for it. So it would only rescan dirs that match the given search string. if one is given.

I can't really remember why it did the depth travel and cache the dirs. I know there was a reason once. But i'm pretty sure it no longer does that, what i can't remember is if I actually released a version where it was fixed? Will look into it, shouldn't cache it all. Even though the only bad thing with it as far as i can see is the memory buildup.

Think it should preserve the timestamp on rescan, aleready added that option?

The group thing more seems like a damn nightmare for me, but I do like the idea. much better than symlinks. Need to be an option though, since some people want to keep the groups for some reason. Will look into it.

I though about adding a md5 check. Anyone need one of those? I won't be fancy as the sfv check. Only check integrity of a file and then an option to delete or rename. No progressbars etc. Might be useful for OS and stuff?

Yil
06-22-2012, 11:55 AM
Just to be clear on the dash thing. All but the last line of a multi-line response need dashes immediately after the numeric code according to the FTP standard. When a client sees a number without a dash it knows it's got the final line and uses that number as the actual result. Thus you could do something like 200- 200- 200- 500 lines and every client would see it as a 500 and thus an error result. However humans tend to get a little confused by that so the best practice is to do what you're doing and make each line show an error like 500- 500- 500- 500 . Without the dashes on non-final lines FlashFXP and my perl FTP module both got really confused.

On the oversized incomplete dir idea, I actually don't think this is very tricky for you. Just leave things the way they are now but add the oversized tag symlink in the parent if the total number of files is greater than the number expected (and delete it if the size gets back to 100%). Leave it up to the user to delete files or whatever to make things right. The problem I have now is that the dir is already "wrong", but I don't have an easy way of knowing that. Definitely make it an option though so people can keep things the way they are if they want.

o_dog
06-22-2012, 12:23 PM
i it even possible to upload more than the number of files in the diz? Thought i removed that?

jjjvipi
06-23-2012, 06:57 AM
Hello o_dog
thank you for your work with this script!

I have some bugreports/feature requests concerning rescan/resort:

first a little one:
when doing site rescan this the status file looks like this:
[SITENAME] - ( 75MB 16F - COMPLETE ) - [SITENAME]
for newly uploaded stuff it looks like:
[SITENAME] - ( 48MB 10F - COMPLETE - Black Metal 1995 ) - [SITENAME]

one some folders i get a the following error for site rescan this:

06-23-2012 11:51:26 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
integer value too large to represent
while executing
"lsort -decreasing -integer -index 2 "$total_racers""
(procedure "outstats" line 86)
invoked from within
"outstats 0 0 0 0 $file "
(procedure "ZipScript::ZipScript" line 303)
invoked from within
"ZipScript::ZipScript 1 $pf $crc $vf"
(procedure "::ioNiNJA::ZipScript::rescan" line 91)
invoked from within
"::ioNiNJA::ZipScript::rescan "
It only happens on some releases, so i don't think its an error on my side.

When doing site resort all the command is very slow. An option to tell the script just to scan one file (the smallest?) per folder would be nice to speed up things.

Also it would be great to have a command site rescan/resort all *folder*, which would rescan/resort all folders after the folder stated in the cmd. (in alphabetical order)
This would be very usefull for large local archives, which don't run 24/7.

o_dog
06-23-2012, 04:03 PM
i've seen the error, but can't track it down. Don't know why it happens or when.

it doesn't check mp3info on rescan, might add that one.

As for the resort all. It doesn't rescan anything, so it doesn't check the files. It only looks up info and sorts it, this takes time, especially if you have covers and artists etc enabled. It then downloads these while it scans. This can't be done inte the background. If you don't want these things then just turn them off in the configs and it will be faster.

I don't get what you mean by site resort all? It does that automatically. If you're in a folder it will sort that folder and all subdirs.

jjjvipi
06-23-2012, 06:31 PM
hello o_dog, thank you for your answer!

i confused something while writing my first post, sorry for that.
site resort all is indeed fast (cover download etc is disabled).

site resort mp3 takes forever and the idea just to scan the mp3 infos of one file was for this cmd.

atm i have the following problem:
i have several thousand releases i want to rescan/resort on my local archive PC which it's not running 24/7.
So my idea was to start rescan/resort and write down the last release that was scanned, when i shut down my PC. At the next day i would like to start the process with the first release that was not scanned on the day before.

so it would be nice if site resort mp3 *folder* would start with the specified folder and resort everything that comes (in alphabetical order) after it.

With the current script it would take more than a week till site resort mp3 is done (rough estimate)

i hope this clears everything up :)

danon
06-24-2012, 03:33 AM
i have problem with curl.exe. On some rlses (for example when upload this rls: http://www.imdb.com/title/tt0887883/ ) curl.exe hungs, and imdb script not performed... i must kill curl.exe in taskman, then imdb script is performed but some info is not parsed (for example country). When a lot curl hungs (5 or 6) ioftpd is broke, when i kill curl.exe, ioftpd stand up again...

And i have question - is there any method to call imdb script manually? Or i must reupload .nfo file? (imdb execute on .nfo upload)

EDIT.
When you fexed ioninja, suggests a repair sort in ioTV ;) thx ;)

o_dog
06-24-2012, 04:08 PM
site resort imdb when in the dir. It will resort all subdirs.
The ioTV doesn't work? Works here.

o_dog
06-24-2012, 05:09 PM
hello o_dog, thank you for your answer!

i confused something while writing my first post, sorry for that.
site resort all is indeed fast (cover download etc is disabled).

site resort mp3 takes forever and the idea just to scan the mp3 infos of one file was for this cmd.

atm i have the following problem:
i have several thousand releases i want to rescan/resort on my local archive PC which it's not running 24/7.
So my idea was to start rescan/resort and write down the last release that was scanned, when i shut down my PC. At the next day i would like to start the process with the first release that was not scanned on the day before.

so it would be nice if site resort mp3 *folder* would start with the specified folder and resort everything that comes (in alphabetical order) after it.

With the current script it would take more than a week till site resort mp3 is done (rough estimate)

i hope this clears everything up :)


can't just scan one file in mp3 dirs. It's not the scan that takes time, atleast not that much. Right now it does alot of other things too. Might look into it later but this is not a bug. A Week? How many releases are there? I might add a speed command for fast resort of mp3s. Wont be accurate though. Right now it check artist names online etc in order to get the right sorting name (still alpha). A Speed command would only use id3 so you will get alot of different sorting names for the same artist.

As for the site rescan or resort and keeping a list of scanned dirs...wont happen. Just to much work and I don't think alot of people would use it. Sorry

o_dog
06-24-2012, 08:41 PM
Progress report:
Kind of fixed Status update on groups. It's funky on multiple CD releases and will never be perfect in this so i will jsut let it be as is.
What that means is that the group field on the dir is used for progress report. NO_NFO, EMPTY, INCOMPLETE, NO_SFV, COMPLETE.....etc

I readded rename group to genre. Now there is an option to rename group to genre on FLAC and MP3 upon completion. You can still use progress, but genre will override the complete group if it's enabled.
I have not yet added the DIZ oversized check to this, but it will come (hopefully).

Fixed rescan/resort over multiple dirs. (virtual raid)
Fixed rescan of mp3s, now checks mp3info.

Fixed upload of sfv when deleted, if it was deleted with files in dir and uploaded again. it will now check for the files in the dir and rescan them against the new sfv.

Checking the returned numbers for things (Annoying as hell)





Working on postdel crap.

danon
06-25-2012, 05:24 AM
@o_dog, right... ioTV works fine, but sorted with variable %release doesnt work :P

jjjvipi
06-27-2012, 04:37 PM
can't just scan one file in mp3 dirs. It's not the scan that takes time, atleast not that much. Right now it does alot of other things too. Might look into it later but this is not a bug. A Week? How many releases are there? I might add a speed command for fast resort of mp3s. Wont be accurate though. Right now it check artist names online etc in order to get the right sorting name (still alpha). A Speed command would only use id3 so you will get alot of different sorting names for the same artist.

As for the site rescan or resort and keeping a list of scanned dirs...wont happen. Just to much work and I don't think alot of people would use it. Sorry



~30k Rels, some more

An id3-only mode is all i need. thank you! :)

o_dog
06-30-2012, 01:42 PM
can see if i can fix an id3 only scan

SRH99
07-09-2012, 04:08 PM
o_dog, the progress/update mentioned here https://oss.azurewebsites.net/forum/81732-post310.html, is it yet available for download?

o_dog
07-11-2012, 02:01 PM
nopp, no official release as of yet.

Got distracted by writing an archive/freespace script since warchive does not seem to work with shmem for me anymore.

let's try this: http://www.sendspace.com/file/un5hvy

Yil
07-12-2012, 04:16 PM
I don't use warchive but I'm not aware of any issue with it not working. I don't think it needs a shared memory connection to work either, but if it does and you're using a service-run ioFTPD you'll want to make sure the scheduler or a site command invokes it so it runs in the same session.

o_dog
07-13-2012, 05:02 AM
Yeah, I do. Still exit with: cant read shared memory for some reason.

o_dog
07-13-2012, 08:28 AM
new version Early beta, new features, clean install. REPORT BUGS!
Anyone know where you can upload files? =)

let's try this: http://www.sendspace.com/file/un5hvy

o_dog
07-14-2012, 06:46 AM
n1 tried it?

SRH99
07-14-2012, 07:54 AM
not yet o_dog, but will do as soon as possible

jjjvipi
07-16-2012, 03:28 PM
n1 tried it?

i tried it today. I have the following error while doing site resort mp3

07-16-2012 22:24:49 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "art": no such variable
while executing
"if {$art != "-1"} {
set ok [writefile $afile [join [lreplace $artists_idx $art $art [list $a1 $artist [file join $artists ${artist}[file extension ..."
(procedure "audioscrobbler_artist" line 50)
invoked from within
"audioscrobbler_artist $artist"
(procedure "get_music_artist" line 9)
invoked from within
"get_music_artist $artist $dir"
(proced

I did two clean reinstalls. The error appears on every release i have tested.

o_dog
07-18-2012, 08:17 PM
k, i will check it ASAP. Any other problems?

o_dog
07-20-2012, 11:06 AM
http://www.sendspace.com/file/eo05wt
replace ninjalib.tcl in ""scripts/ioNiNJA/MiSC/"
and let's see what happens

o_dog
07-21-2012, 09:47 AM
well? is it working?

o_dog
07-27-2012, 02:50 PM
anyone tried it? Bugs?

o_dog
08-05-2012, 01:40 PM
No feedback means no development. So for now i will just leave it be and see when i have time again.

mr.babek
08-09-2012, 07:18 AM
Hey o_dog. thanks for the new version. I didn't see that you posted a new version up till now I only checked your first posting of the thread.
I'll install it this weekend

rifleman83
08-19-2012, 10:46 AM
could you please make another mirror of the file? the file hostet at sendspace is down since days :/

Yil
08-20-2012, 11:23 AM
Hmm, the sendspace link appears to be failing for me. I don't know how big a file you can send as an attachment here, but I'll approve it if that works so others can grab it directly from here.

Flow
08-21-2012, 02:04 PM
Updated my small google webspace with latest zipscripts files (with the latest NiNJALiB file included/replaced)

Henkie2
08-22-2012, 06:51 PM
For some reason your latest version i can't dl
Also nice to see your still doing great work o_dog , respect :)

Yil
08-23-2012, 10:56 AM
Installed latest and it appears to be working great so far!

Yil
08-23-2012, 11:00 AM
Here's the latest as attachments so you can download from here.

Henkie2
08-23-2012, 07:28 PM
Thx yil, and indeed just installed and no probs yet XD

Henkie2
08-25-2012, 12:55 PM
Got a error, dunno if i did something wrong?

08-25-2012 19:51:44 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
missing file/directory
while executing
"vfs chattr [file dirname $path] 35"
(procedure "::ioNiNJA::ZipScript::PRE_MKD" line 19)
invoked from within
"::ioNiNJA::ZipScript::PRE_MKD [lindex $args 2] "
("PREMKD" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(f


Also i noticed that on unpack_complete that DVD dirs working fine on unrar and delete files. The CD dirs they are on loop now, they got scanned,unrarred but not removed, unpack_complete is doing it over and over on same CD dirs

o_dog
08-27-2012, 10:41 AM
Got a error, dunno if i did something wrong?

08-25-2012 19:51:44 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
missing file/directory
while executing
"vfs chattr [file dirname $path] 35"
(procedure "::ioNiNJA::ZipScript::PRE_MKD" line 19)
invoked from within
"::ioNiNJA::ZipScript::PRE_MKD [lindex $args 2] "
("PREMKD" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(f


Also i noticed that on unpack_complete that DVD dirs working fine on unrar and delete files. The CD dirs they are on loop now, they got scanned,unrarred but not removed, unpack_complete is doing it over and over on same CD dirs

Have no idea what the errors are. When does it occur? What hapens? etc....

As for the unpack complete I have no idea what so ever since it has not changed. Check the settings.

Henkie2
08-27-2012, 05:53 PM
Have no idea what the errors are. When does it occur? What hapens? etc....

As for the unpack complete I have no idea what so ever since it has not changed. Check the settings.

Hi thanks for ya reply, error is keep coming. Will do a reinstall again.

And about unpack i never used it really can't tell if it worked properly anyway, hope you can check that.
After 2CD dirs in 1 release dir it's unpack and renaming the files also removes the rars. Only for some reason it won't make a complete tag (if you upload the rars/sfv/nfo again its keep doing the same)

On 2DVD dirs in 1 dir its keep the files in the dvd dirs instead of replacing it like CD dir is doing it (dvd1 and dvd2 got both a complete status, cd1 and cd2 not and replace the files to main dir, without complete status)
Hope you know what i mean XD

Edit: Rest of your last work is working fine :)

o_dog
08-28-2012, 08:14 AM
I have no idea what you mean. But it sounds to me like a dupe issue when you use transfer and refresh or something like that. When transfering a dir several times IoNiNJA will unpack and delete the dirs but you script do not recognize the dirs as complete and therefore upload them again.

Since ioNiNJA is not a dupechecking script there is no real way for it to block recreation of CDx dirs etc in root directory. You must check nXTOOLS or your transfer script for a way to dupecheck either the files or CDx dirs.

As for the other error I have no idea.

Henkie2
08-28-2012, 08:33 AM
Thx again, i did a fresh install again and for now no errors here yet :) Think i did some rush on firts time

And will have a check on nxtools

ironman
09-10-2012, 04:29 AM
hi everyone, can someone help me fix this thingy i dunno what the hell is wrong, sorted on mp3 is not working maybe got to do with this?

09-10-2012 11:18:34 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
missing file/directory
while executing
"vfs read [file join $path [lindex $args 2]]"
(procedure "::ioNiNJA::ZipScript::PRE_STOR" line 24)
invoked from within
"::ioNiNJA::ZipScript::PRE_STOR [lindex $args 2] "
("PRESTOR" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi
09-10-2012 11:18:36 "../scripts/ioNiNJA/plugins/mp3.itcl" terminated abnormally
--- ErrorInfo ---
can't read "art": no such variable
while executing
"if {$art != "-1"} {
set ok [writefile $afile [join [lreplace $artists_idx $art $art [list $a1 $artist [file join $artists ${artist}[file extension ..."
(procedure "audioscrobbler_artist" line 50)
invoked from within
"audioscrobbler_artist $artist"
(procedure "get_music_artist" line 9)
invoked from within
"get_music_artist $artist $dir"
(pr

o_dog
09-10-2012, 05:51 AM
https://oss.azurewebsites.net/forum/attachments/ioftpd/ioftpd/scripting/new-scripts-announces-updates/1149d1345737603-ioninja-ninjalib.rar

replace ninjalib.tcl in ioninja/misc/. Or something like that.

ironman
09-10-2012, 05:59 AM
seems to be working sorted still not ok or linked have it in a day dir but still have some error

09-10-2012 12:57:16 "../scripts/ioNiNJA/plugins/mp3.itcl" terminated abnormally
--- ErrorInfo ---
can't read "art": no such variable
while executing
"if {$art != "-1"} {
set ok [writefile $afile [join [lreplace $artists_idx $art $art [list $a1 $artist [file join $artists ${artist}[file extension ..."
(procedure "audioscrobbler_artist" line 50)
invoked from within
"audioscrobbler_artist $artist"
(procedure "get_music_artist" line 9)
invoked from within
"get_music_artist $artist $dir"
(pr

o_dog
09-10-2012, 07:00 AM
you need to restart after replacing it.

ironman
09-10-2012, 07:44 AM
after restart

09-10-2012 14:42:37 "../scripts/ioNiNJA/plugins/mp3.itcl" terminated abnormally
--- ErrorInfo ---
can't read "art": no such variable
while executing
"if {$art != "-1"} {
set ok [writefile $afile [join [lreplace $artists_idx $art $art [list $a1 $artist [file join $artists ${artist}[file extension ..."
(procedure "audioscrobbler_artist" line 50)
invoked from within
"audioscrobbler_artist $artist"
(procedure "get_music_artist" line 9)
invoked from within
"get_music_artist $artist $dir"
(pr

o_dog
09-10-2012, 09:02 AM
did you actally replac the ioninjalib.tcl file?

ironman
09-11-2012, 04:07 AM
yea i did but it still doesnt create a sorted dir after uploading, wierd

ironman
09-11-2012, 04:08 AM
u have something to fix this with? suppose an older ninjalib to fix this thingy?

o_dog
09-11-2012, 04:13 AM
there is no need to fix it, unless there is a problem. This file works jsut fine for me. So you must have done something wrong.

o_dog
09-11-2012, 04:18 AM
try to disable fanart/backdrop in the mp3 script.

ironman
09-11-2012, 09:56 AM
ok wil try, thanks for help:)

baltar
09-13-2012, 08:32 AM
Hi!
Is clean install mandatory to use the newest beta or can i update simply from
ioNiNJA.BETA.Stable.v0.8.9.6-2009-06-29 ? :rolleyes:

ArtX
09-14-2012, 02:44 PM
i would do clean install

bebeef
09-16-2012, 07:56 AM
hi
having problems with mp3 resort too
latest version, NiNJALiB replaced, fanart disabled in mp3.cfg

an option with only binary reading from files, without all the picture stuff whould be nice for fast rescan of archives
anyways thx for your work


09-16-2012 14:56:25 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "art": no such variable
while executing
"if {$art != "-1"} {
set ok [writefile $afile [join [lreplace $artists_idx $art $art [list $a1 $artist [file join $artists ${artist}[file extension ..."
(procedure "audioscrobbler_artist" line 50)
invoked from within
"audioscrobbler_artist $artist"
(procedure "get_music_artist" line 9)
invoked from within
"get_music_artist $artist $dir"
(proced

o_dog
09-17-2012, 10:50 AM
there is an option for only binary reading. Just disable all the extra stuff i.e. read the config...

bebeef: please upload that ioninjalib.tcl that you use somewhere where i can download it.

ironman
09-20-2012, 12:19 PM
o_dog can u tell me how to comment this bug out so i dont get error no more?

o_dog
09-20-2012, 12:57 PM
try creating a empty file called:
..scripts\ioNiNJA\Artists\artists.db

bebeef
09-21-2012, 03:32 PM
after creating Artists folder and the .db file:

09-21-2012 22:29:41 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "img": no such variable
while executing
"file extension $img"
(procedure "audioscrobbler_artist" line 58)
invoked from within
"audioscrobbler_artist $artist"
(procedure "get_music_artist" line 9)
invoked from within
"get_music_artist $artist $dir"
(procedure "::ioNiNJA::MP3::Main" line 42)
invoked from within
"::ioNiNJA::MP3::Main"
(procedure "::ioNiNJA::resort" line 48)

i dont know why its getting band pics at all, ik have disabled all pic related in conf

o_dog
09-21-2012, 05:09 PM
Did it work? Please report back. Otherwise i need to look it over more thoroughly.

ironman
09-27-2012, 07:17 AM
nah not really mp3 creates no sorted dir also

--- ErrorInfo ---
missing file/directory
while executing
"vfs read [file join $path [lindex $args 2]]"
(procedure "::ioNiNJA::ZipScript::PRE_STOR" line 24)
invoked from within
"::ioNiNJA::ZipScript::PRE_STOR [lindex $args 2] "
("PRESTOR" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi
09-27-2012 14:14:50 "../scripts/ioNiNJA/plugins/mp3.itcl" terminated abnormally
--- ErrorInfo ---
can't read "art": no such variable
while executing
"if {$art != "-1"} {
set ok [writefile $afile [join [lreplace $artists_idx $art $art [list $a1 $artist [file join $artists ${artist}[file extension ..."
(procedure "audioscrobbler_artist" line 50)
invoked from within
"audioscrobbler_artist $artist"
(procedure "get_music_artist" line 9)
invoked from within
"get_music_artist $artist $dir"
(pr

o_dog
09-27-2012, 05:28 PM
http://www.sendspace.com/file/gvmwj5

replace ..\scripts\misc\ninjalib.tcl

filly
09-28-2012, 02:36 AM
Hi,

all running fine for me.

I've replaced ninjalib.tcl, but when I do site zsver the b1 version is displayed.
What should I replace to display the new version ?

Greetz

o_dog
09-28-2012, 05:15 AM
there is a line last in ioninja config if you want to change it. Copy from the included ioninja config.

o_dog
09-28-2012, 09:42 AM
Ok, so here is a real update that might actually fix the resort of mp3.
There is also an added option to use fast sort (if speed is important remember to turn off all of the art downloding in config)

The fast sort feature is avalible for mp3 and flac. It only scans one file in each dir and sorts according to the info in that. This will speed up resort ALOT, especially if you turn off the art downloading.

To Download:
http://www.sendspace.com/file/0acglr

AndreyN
09-28-2012, 10:40 AM
Prompt how to realize sorting mp3 on a resource? Such look
Example:
sorted.by.resource/LIVE/%releases
sorted.by.resource/WEB/%releases
sorted.by.resource/CDM/%releases

o_dog
09-28-2012, 10:47 AM
not possible. Might add it though. Please help by putting together a list that includes all the diffrent release names.

o_dog
09-28-2012, 10:58 AM
Don't post stuff like that please.

i meant, compile a list of all sources like: cdm cds dvbs dvbc live
etc

AndreyN
09-28-2012, 11:24 AM
I apologize
BOOTLEG, CABLE, CD, CDM, CDR, CDS, DAB, DVBC, DVBS, DVD, EP, FM, FLASH, LIVE, MCD, SAT, SBD, STREAM, TAPE, VINYL, VLS, WEB

AndreyN
09-28-2012, 11:26 AM
happens and without them Unknown

o_dog
09-28-2012, 01:00 PM
that would mean that all regular cds are unknown, remember why i never implemented it now =)

AndreyN
09-28-2012, 01:17 PM
and on this problem the decision is not found? https://oss.azurewebsites.net/forum/ioftpd/ioftpd/scripting/new-scripts-announces-updates/15608-problem-sorting-audio-need-help.html

AndreyN
09-28-2012, 01:29 PM
that would mean that all regular cds are unknown, remember why i never implemented it now =)
and by means of regexp_sorting.itcl it is possible to realize it?

o_dog
09-28-2012, 02:45 PM
by regexp it is possible. didn't think of it but it should. Only you will have to get creative in the regexp to sort things not matching the desired variables. Menaing regular releases.

On the other question i have no idea. I have never expereienced it and am not able to reproduce it. Must use some really ****ed up tagging.

bebeef
09-28-2012, 03:36 PM
hi
now there seems to be a problem within the symlink proc

pasted errorlog taken from latest beta from today

09-28-2012 22:23:44 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
unmatched open brace in list
while executing
"lappend symlinks $item"
(procedure "sorting" line 41)
invoked from within
"sorting $ioNJ(mp3_sym_type) $linkto $dirmap $pwd"
(procedure "::ioNiNJA::MP3::Main" line 106)
invoked from within
"::ioNiNJA::MP3::Main"
(procedure "::ioNiNJA::resort" line 48)
invoked from within
"::ioNiNJA::resort "
("RESORT" arm line 1)
invoked from within
"s

o_dog
09-29-2012, 04:37 AM
the sylink proc did not change so i doubt that one is new. And i actually need some more information than that.

Like, what release. How does it fail. Is it on one release only?

try deleting the .ioftpd file in that dir and try again on that release only.

bebeef
09-29-2012, 05:43 AM
hi
it happens on few random releases, nothing special as i can see
btw there is still an Artists folder created with millions of band pics downloaded
i have all pic stuff disabled
here my mp3.cfg

set ioNJ(special_sorting) ""

set ioNJ(special_sorting_theme) { (%special)}

set ioNJ(mp3_sym_type) 1
set ioNJ(mp3_fast_sorting) 1

# This goes online to lastfm and corrects artists name if warrented. 1=enabled 0=disabled
set ioNJ(lastfm_correction) 0

##Cover Download from here on out

# www.discogs.com api id
# Go to www.discogs.com and register then get your own id. It's free and only take a few seconds.
set ioNJ(discogs_api_id) ""

#should we download cover?
set ioNJ(get_cover_enabled) 0

#should we download fanart? 1= enable 0 = Disable
set ioNJ(mp3_fanart_enabled) 0

#Strip The from artist name?? 1= enable 0 = Disable
set ioNJ(mp3_strip_the) 0

set ioNJ(search_order) {
audioscrobbler
discogs
amazon
local
}

#Should we try to get picture of artist?
set ioNJ(mp3_overwrite_old_cover) 0


# Try to download the Artist jpg and save it as folder.jpg, set to "" to disable
set ioNJ(artist_pic) ""

o_dog
10-01-2012, 02:56 AM
I have no idea why an artist folder is being created since that should not happen if you updated all the files. But your config file does not look like the one in the latest release. Maybe forgot to replace mp3.itcl? ninjalib.tcl etc.

Since i do not experience this problem myself and can't reproduce it it's hard to say why it happens. Try renaming \scripts\ioninja\plugins\artists folder to artist.backup or something. It might be that if the picture is already downloaded it will use them?

victor4
10-01-2012, 10:03 AM
Hello o_dog!

i have the same Problem as bebeef.
I did a complete clean install with beta3.

It downloads Artist Pictures to ioNiNJA\Artists, even if it's disabled in the config. If i rename the Artist Folder it just creates a new one.

# Try to download the Artist jpg and save it as folder.jpg, set to "" to disable. i.e:
# set ioNJ(artist_pic) ""
# if set to "" this will disable the downloading of artist pictures and speed up sorting.
set ioNJ(artist_pic) ""

Audio sorting is working fine, thank you!

bebeef
10-02-2012, 11:30 AM
I have no idea why an artist folder is being created since that should not happen if you updated all the files. But your config file does not look like the one in the latest release. Maybe forgot to replace mp3.itcl? ninjalib.tcl etc.

iam using clean install from http://www.sendspace.com/file/0acglr
the config file is ok, i checked with the one in your beta

o_dog
10-02-2012, 01:08 PM
Hello o_dog!

i have the same Problem as bebeef.
I did a complete clean install with beta3.

It downloads Artist Pictures to ioNiNJA\Artists, even if it's disabled in the config. If i rename the Artist Folder it just creates a new one.



Audio sorting is working fine, thank you!

New version:

This "should fix" the artist picture problem.

Sorry for this, i used a diffrent ninjalib.tcl, so it's a screwup on my part.

http://www.sendspace.com/file/c4vzri

replace NiNJAlib.tcl in ..scripts/ioninja/misc/

victor4
10-03-2012, 09:16 AM
New version:

This "should fix" the artist picture problem.

Sorry for this, i used a diffrent ninjalib.tcl, so it's a screwup on my part.

http://www.sendspace.com/file/c4vzri

replace NiNJAlib.tcl in ..scripts/ioninja/misc/

i replaced the file and restarted ioftpd, still the same

o_dog
10-04-2012, 04:50 AM
right now i have no idea why. I've even done a clean install here. And site resort mp3 works just fine. No artist pictures etc. did you set ioNJ(artist_pic) to "" and actually disable it? Since here it works just fine and doesn't try to download anything if everything is disabled.

victor4
10-06-2012, 04:22 AM
yes it is disabled. And i double checked, that i replaced the file.
But i noticed that only for site resort mp3 artist pictures are downloaded. If i upload new stuff nothing happens.

I will do a clean reinstall, but it could take some days

o_dog
10-06-2012, 12:39 PM
try replacing all the .itcl files in plugins and the ninjalib file first. See what happens. And check the other plugins and see if there is a "set ioNJ(artist_pic)" variable defined in there somewhere. Might be that the mp3 variable is overwritten since it only happens on resort. That seems likely to me.

FireKiss
10-07-2012, 09:24 PM
i have some problems.
i'm using ioFTPD + ioNiNJA + nxTOOLS. and all files are lastest version.

first, in systemerror.log:
-------
10-08-2012 11:05:40 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---

while executing
"crc32 [file join $path $fn]"
(procedure "::ioNiNJA::ZipScript::ZipScript" line 268)
invoked from within
"::ioNiNJA::ZipScript::ZipScript 0 [lindex $args 1] [lindex $args 2] [lindex $args 3] "
("CHECK" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi.

---
i think, when this err log occur, sitebot does not announce "update" msg in chan.

second problem is transfer speed announcing. my sitebot sometimes announce awesome tranfering speed. ex) 13498MB/s ... but i'm using 100Mb line. what's wrong?

third problem is that sitebot doesn't announce "speedtest" msg. i've installed many times ioFTPD, i don't know why. every setting is good i think.

please help me. sorry for my bad english.

o_dog
10-07-2012, 09:38 PM
If that error occur, there is something wrong, it means it couldn't crccheck the file. The reason why it doesn't announce update is that you didn't upload the sfv first, I would suggest you ignore the error unless it's causing you problems.

Why it announce amazing speed? I have no idea. Need more info on when it happens etc. I know it might do that on rescan etc.

set disable(SPEEDTEST) 0
set disable(SPEEDTEST) 0
make sure those are set, apparently there are two of them in the dzsbot config?

and make sure ioNJ(speedtest_dir) is set to the correct /PWD/ in ioninja.cfg, note that it's not path but pwd.

victor4
10-08-2012, 12:38 PM
right now i have no idea why. I've even done a clean install here. And site resort mp3 works just fine. No artist pictures etc. did you set ioNJ(artist_pic) to "" and actually disable it? Since here it works just fine and doesn't try to download anything if everything is disabled.

I downloaded beta4, replaced everything and just kept my .cfg files, still the same.
set ioNJ(artist_pic) ""

I don't have any other Scripts installed.

I also had some other errors:
while doint "site rescan all"
10-08-2012 16:28:45 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---

while executing
"resolve list "$pwd""
(procedure "outstats" line 42)
invoked from within
"outstats 0 0 0 0 $file "
(procedure "ZipScript::ZipScript" line 347)
invoked from within
"ZipScript::ZipScript 1 $pf $crc $vf"
(procedure "::ioNiNJA::ZipScript::rescan" line 94)
invoked from within
"::ioNiNJA::ZipScript::rescan "
("RESCAN" arm line 1)
invoked from within
"switch -- [lindex $

Happend two times on different releases, one of them is very big, besides that i didn't notice anything strange about those releases.

Then i had a very strange Problem. While doing "site rescan all" ioftpd just stopped to respond and i could only terminate and restart it. I noticed that inside the last release ioninja scanned a shortcut to the release dir itself was created (and sometimes to other releases scanned earlier, one time i had over 400 shortcuts inside). This happened several times to serveral different releases.

And i have a little feature request :)
I had to restart "site rescan all" very often and scanned some releases 10-15 times. It would be really nice to have an option to skip releases, that are in the "complete" group already.

o_dog
10-09-2012, 06:04 AM
Will not add a feature to skip releases, do this manually. I have not experienced any of these problems, but there could be a problem with the parsing or with the config. Need more info.

It does not matter if you "use" other scripts or not, it still loads them.

Note that the site rescan all command was not really designed to be used over a whole site.

o_dog
10-16-2012, 02:51 PM
is it working?

Rusher
11-05-2012, 04:24 PM
nopp, no official release as of yet.

Got distracted by writing an archive/freespace script since warchive does not seem to work with shmem for me anymore.

let's try this: http://www.sendspace.com/file/un5hvy


any progress on archive script ? would it be possible to have it update nxtools dupe db when moving stuff ?

jeza
11-06-2012, 03:16 AM
any progress on archive script ? would it be possible to have it update nxtools dupe db when moving stuff ?

jeza.ioFTPD.Tools has an archive script that supports updating of dupe DB ...

Rusher
11-06-2012, 02:38 PM
jeza.ioFTPD.Tools has an archive script that supports updating of dupe DB ...

is that so =) then i'll have to take a look! thx for info

Henkie2
11-12-2012, 06:07 PM
Hi, i got 2 little points on ioninja
1) on lock release, any change to set also the lock on rls for CD/DVD etc. My second prob is because of this.
2) I use the unpack scipt as well, right now the rls with cd1 and cd2 its unpack the files to root of rls.
Problem is that the lock not work then (no complete tag), and its repeating the unpack again if someone is upping a sfv nfo in the same release :P Or is it possible that the unpacked files stay in sub dir

Hope you understand me lol, and mayb you can help me with this little prob
Thx :)

o_dog
11-16-2012, 11:20 AM
This is a dupescript problem. Ioninja can't lock releases for creations of subdirs. If you uploaded CD1 you could not create cd2. Tellt he traders to use completeflags. Might be able to mod nxtools to dupecheck relesae/cdx if you know any tcl.

Henkie2
11-17-2012, 10:08 AM
This is a dupescript problem. Ioninja can't lock releases for creations of subdirs. If you uploaded CD1 you could not create cd2. Tellt he traders to use completeflags. Might be able to mod nxtools to dupecheck relesae/cdx if you know any tcl.

Thanks again for ya answers o_dog. I'm not good on snips :( I checked on nxtools dunno how to edit the line for cdx lol. Hope someone can help me with this. Thx

Or is it possible to add one extra function on unpack_complete.itcl
if subdir then unpack in subdir (subdirs cd1/2, dvd1/2, dis[ck]1/2 etc) :)

o_dog
11-22-2012, 10:24 PM
Here you go, this will only work on newly uploaded dirs (hopefully)
It's a nxtools fix for dupe part that will dupecheck release/CDx dirs so it will not be allowed to be created once it's deleted. It will not dupececk just CDx only release/subdir.
read the readme for info on how to install. Enjoy

http://speedy.sh/eKjdT/nxdupe.v0.1.rar

Note: This does not negate the dupe fuction. So It will list release, release/subdir etc. Might change that in the future if enough people ask. Right now this was just a quick fix for people wanting to use the unpack script.

Henkie2
11-23-2012, 06:10 PM
Here you go, this will only work on newly uploaded dirs (hopefully)
It's a nxtools fix for dupe part that will dupecheck release/CDx dirs so it will not be allowed to be created once it's deleted. It will not dupececk just CDx only release/subdir.
read the readme for info on how to install. Enjoy

http://speedy.sh/eKjdT/nxdupe.v0.1.rar

Note: This does not negate the dupe fuction. So It will list release, release/subdir etc. Might change that in the future if enough people ask. Right now this was just a quick fix for people wanting to use the unpack script.

Thanks o_dog for checking and making some time for it. Going to use it :)
*works great, once again thanks

zag2me
11-28-2012, 07:16 AM
Anyone got a working imdb tcl script?

o_dog
11-28-2012, 07:27 AM
Working just fine here

zag2me
11-28-2012, 07:43 AM
Thx, updated latest version. Must have been a little behind.

xy0thep
12-01-2012, 12:26 PM
hi there,

using the latest version i encountered a problem:

when uploading e.g. a mp3-release and keeping it incomplete (like nfo/sfv and 1 of lets say 10 files)
the incomplete symlink in root dir is present as expected.

if im then deleting that incomplete release it gets deleted but after refreshing root dir symlinks for incomplete/no_sfv/no_nfo show up.

this didnt happen with the version i was using before.

settings misconfiguration or bug?

o_dog
12-06-2012, 02:19 PM
xy0thep: have no idea why. Can't reproduce it here.

o_dog
12-11-2012, 11:57 AM
ioNiNJA.cfg
ioNJ(complete_lock) locks users from entering dir and downloading
Never experienced this. It is only executed on predele and prestor. That they can not enter dir is not due to this.

ioNJ(lock_ignore_flags) "M|G" G not working <- Never tried it but whoudl work if the user actually have the FLAG G.

ioNJ(sym_inc_dir) {o:/_INCOMPLETE/} DOES NOT WORK
Needs to be created in order for it to work

NO DIZ, NO NFO, NO SFV, NO SAMPLE, ETC SHOULD ALSO BE LISTED IN THAT PATH
No it should not, it did fromt he beginning but alot of people thought it was messy. Now it just points towards incomplete releases.

imdb.cfg
html and imdb bar should serve same purpose!
set ioNJ(imdbtype) (2=html link 1=file 0=directory)
or
set ioNJ(imdbtype) (2=disabled 1=file 0=directory)
set ioNJ(imdb_get_html) have same variables as imdb bar
No it should not. And this will never be implemented since it's just stupid.
The imdb html link is set accordign to preference, so it can be named as you please.

unpack_complete.cfg
%release should be a option that way i could have stuff extracted to seperate dir and have the folder.jpg file copied to each dir
I have no idea what you mean. The files are renamed to %releasedir if unpacked. I see no need to have a seperate %release unpack varaible.

ioNJ(UNPACk_RESCENE_DIR) {o:/_ReSCENE/} NOT WORKING
The directory needs to exist if i remeber correctly.

o_dog
12-12-2012, 02:55 AM
I just remberd why i really didn't like you, and why i was always reluctant to add anything you wanted.

o_dog
12-12-2012, 09:33 AM
If many people feel the same way they should say so, it's never been my intent to be dsrespectful towards people. But for a while there were alot of feature requests, and I was intentionally short in my answers in order to avoid long discussions.

But your way of expressing yourself is outright disrespectful. Truth is I did develop ioNiNJA for myself, i've never stated anything else. As for the additions they have come from requests by users. By users i mean people that don't demand things but ask for them. When asking for a feature it might be a good idea to explain why you want it, what is preferable against current feature if something needs to be changed. And also accept when a I say no, something you never did, you ALWAYS kept on arguing, If you want something special that no other users requests then you will have to code it yourself. The script was not written for you alone.

zag2me
12-12-2012, 12:49 PM
Ahh back to the good old days :)

I miss this haha

New version working well on my system. Loving the FLAC support. The default sorting location seems to be the root of the system drive. Not sure if this could be changed to inside the site root as it may confuse new users. Other than that all good so far.

Only other request I would have is a Latest upload symlink in site root so I could get rid of NXtools.

PSA9
12-14-2012, 10:14 PM
o_dog

when u say copy ..ioFTPD/scripts/ioNiNJA/Libs/ to ..\ioFTPD\lib\tcl8.5

does ..ioFTPD/scripts/ioNiNJA/Libs/ need to still exist?
I cut and paste it and not sure if it matters or not! It will answer if a problem i am having is from ioFTPD or ioNiNJA, thanks in advance!

Rusher
01-07-2013, 02:33 PM
New version:

This "should fix" the artist picture problem.

Sorry for this, i used a diffrent ninjalib.tcl, so it's a screwup on my part.

http://www.sendspace.com/file/c4vzri

replace NiNJAlib.tcl in ..scripts/ioninja/misc/

Hi o_dog

start of by saying BIG Thanks for the time you put into this ! and now resort works as it should ! been waiting for that awhile and havent checked here for some time. so now im happy =). just 1 issue though. i downloaded the beta 4. and replaced entire ioninja folder and kept only my ioninja.cfg and mp3.cfg

for some reason when i resort it downloads pictures to /artist folder. but i have disabled that in cfg..

my mp3.cfg > http://pastebin.com/64pQEyPC

please advise what to do, i tried to lock the artist folder by setting read only attrib on it, but then script fails.

edit : i've gotten a few script fatal errors. cause of something it doesnt like when resorting in the mp3 id3 tag or other stuff that gives a answear not expected. but this seems just to happen 1 in every maybe 5000 folders.. but still annoying. is there a way to have the script NOT to stop at error but just continue with next folder in line.. i dont really care if it skips some stuff. i have over 500.000 folders needing sorting. would be nice still though if it logged what it didnt sort cause of errors.

PSA9
01-11-2013, 06:02 AM
Line 490 set vbroldnew "NA" from NiNJALiB causes my CBR show as such

[COMPLETE] - ( 91MB 15F - Rap 2000 - NA 192kbps ) - [FZN]
[COMPLETE] - ( 69MB 13F - Rap 2006 - VBR-OLD 178kbps ) - [FZN]
[COMPLETE] - ( 76MB 14F - Rap 2007 - VBR-NEW 170kbps ) - [FZN]


Is their any other then CBR, VBR-OLD, VBR-NEW? If not could NA be changed to CBR without effecting anything so it shows up like below?
Please let me know if i am misinformed! Thanks in advance!

[COMPLETE] - ( 91MB 15F - Rap 2000 - CBR 192kbps ) - [FZN]
[COMPLETE] - ( 69MB 13F - Rap 2006 - VBR-OLD 178kbps ) - [FZN]
[COMPLETE] - ( 76MB 14F - Rap 2007 - VBR-NEW 170kbps ) - [FZN]

flac.cfg Can lines 45 + 46 be deleted?
Line 29 #This will only Scan 1 File in the flac dir and sort after that. This is not as accurate as using sveral files.
Line 30 set ioNJ(flac_fast_sorting) 0
Line 45 #This will only Scan 1 File in the mp3 dir and sort after that. This is not as accurate as using sveral files.
Line 46 set ioNJ(mp3_fast_sorting) 0

flac.itcl shouldnt these 2 be changed from mp3 to flac?
Line 26 set mp3 [readchattr 26]
Line 27 lassign $mp3 crap duration bitrate album year artist producer genre description recorddate writeapp ripdate retail media channels srate bitdepth language catalog riptool trackname type

flac.cfg and mp3.cfg i have all cover downloads disabled yet they both still download pictures to C:\ioFTPD\scripts\ioNiNJA\plugins\Artists
i tried everything as i was also having trouble with sorting, disabling cover downlownloads has stoped logging to SystemError.log however doesnt disable the cover downloads!

SystemError when i upload FLAC with cover enabled
01-10-2013 20:21:46 "../scripts/ioninja/plugins/flac.itcl" terminated abnormally
--- ErrorInfo ---
invalid command name "Music_Cover"
while executing
"Music_Cover $artist $album $year $genre"
(procedure "::ioNiNJA::FLAC::Main" line 78)
invoked from within
"::ioNiNJA::FLAC::Main"
invoked from within
"if {![info exists pwd]} {
set pwd "[file dirname [lindex $args 2]]"
set path "[file dirname [lindex $args 0]]"
::ioNiNJA::FLAC::Main
}"
(file "../scripts/ioninja/plugins/flac.itcl" line 143)

ironman
01-12-2013, 10:09 PM
try creating a empty file called:
..scripts\ioNiNJA\Artists\artists.db

lol works as helllll o_dog still the man!!!!!!

just after creating artists.db, after rescan everthing was nice:)

PSA9
01-17-2013, 01:49 AM
FEATURE REQUEST MP3 COPY

Many MP3 tags dont play well with iPhone
Example the id3 tags show up as such
Artist Album RETAIL Song Produced by

Artist Album Song is wanted, Dont need to know who produced the song on iphone and makes it hard to read the songs so i edit the id3 tags but doing so will make the mp3 fail to the sfv file! having the MP3 untouched for storage and a copy for itunes editing is nice!
On complete if exist at copy location SKIP, if dont exist COPY

fudgi
03-12-2013, 05:03 PM
hey o_dog, is there a way to disable the script from creating "no sample symlinks" for folders like dirfixes and folders of that sort?

o_dog
03-21-2013, 01:08 PM
Yes, put them on the ignore list i guess. Totally ignored by the scirpt since it doesn't do anything useful with them anyway.

MONGi
04-12-2013, 03:36 PM
Hi@all,

I have a question related to the "newrelease_sorting" of ioNinja.

In the case of an upload with 2 CDs, it shows me instead of just the title "CD1" and "CD2".
I would prefer that only the title is displayed.

I have an opportunity to change this?

Used is:
ioFTPD-v7.7.3, ioNiNJA.1.0.Beta4.2012-10-02, nxTools-v1.2.1 and v2.5.1-nxAutoNuke

Thanks for all the answers.

regards,
Mongi

m4r3z
04-15-2013, 04:33 PM
Whats the latest ioninja stable version ?

Have been away from this forum for ages.

Gonna try the latest beta version on a secondary computer in the next few weeks :)

MONGi
04-20-2013, 08:14 AM
Hi@all,

I have a question related to the "newrelease_sorting" of ioNinja.

In the case of an upload with 2 CDs, it shows me instead of just the title "CD1" and "CD2".
I would prefer that only the title is displayed.

I have an opportunity to change this?

Used is:
ioFTPD-v7.7.3, ioNiNJA.1.0.Beta4.2012-10-02, nxTools-v1.2.1 and v2.5.1-nxAutoNuke

Thanks for all the answers.

regards,
Mongi

Have nobody an solution for my question?

Greetings

o_dog
05-04-2013, 03:43 PM
MONGi: sorry, don't think that the script is designed for that. Not hard to add though.

o_dog
05-04-2013, 03:46 PM
I'm sorry for being inactive. Been busy IRL, but this summer i will have time to fix bugs and add features. So please have at it, if you want something added say so after this post, i will go through them all in june. I'm not promising that it will get added but given that i have time and it's a good suggestion for the majority of users it will hopefully be added.

But first things first, please report bugs.

Sc0tTy
06-12-2013, 05:11 PM
Would probably be nice if the posts with the download link gets pinned to the start of the topic :)

o_dog
06-14-2013, 07:21 AM
Would probably be nice if the posts with the download link gets pinned to the start of the topic :)

They're not? Thought that they were

o_dog
06-14-2013, 07:21 AM
Ok, so, either no one has any issues what so ever witht he script or no one is using it? =)

Sc0tTy
06-14-2013, 02:45 PM
Afaik not :P

What do you mean?

o_dog
06-14-2013, 02:49 PM
I'm sorry for being inactive. Been busy IRL, but this summer i will have time to fix bugs and add features. So please have at it, if you want something added say so after this post, i will go through them all in june. I'm not promising that it will get added but given that i have time and it's a good suggestion for the majority of users it will hopefully be added.

But first things first, please report bugs.

thants what i meant =p

Sc0tTy
06-14-2013, 05:51 PM
I'm gonna update to the latest beta soon

Sc0tTy
06-18-2013, 05:08 PM
Okay, found a bug.

Rescan requires 2x rescan before .missing files show up


Also it would be nice if this message:
200-RESCAN-DONE: /SECTION/RELEASENAME/ with 18F/779MB passed & 0F/0KB Failed

Would show a missing count like:
200-RESCAN-DONE: /SECTION/RELEASENAME/ with 18F/779MB passed, 0F/0KB missing & 0F/0KB failed



Also I have a question regarding locked releases:
Is there a way to unlock a specific release? Sometimes wrong files have been uploaded into the directory and I would like to clean those up.

Yil
06-18-2013, 08:29 PM
Here's some ideas...

I'm wondering about a 'site rescan quick' which just cleans up a directory. I've seen .missing files hang around for some reason even when the real file is there, or a directory that doesn't have a complete tag in it but all the files are there. Not sure how that happens but it's pretty rare so don't have much info to give you on that. The only way to currently fix it is to rescan the dir but that takes a while on a large release. Assuming the individual file information is recorded in chattr's perhaps it could just use that without having to re-compute the crc values.

I'm not sure there is any reason to delete the complete tag just to re-create it if everything was actually complete. It should probably do the scan, then touch the timestamp on the complete tag if nothing changed, else delete and re-create with whatever is accurate. This has the benefit that you can rescan a directory tree and not touch the directory timestamps! It sucks if I rescan just to test completeness and now everything ends up dated today...

Some file_id.diz files don't really get handled correctly. Getting better support would be good, but no matter what happens there will always be something that breaks it. Would be kinda cool to have a 'site release complete' or 'site release filecount 5' or something to mark things manually verified complete or hint at the number of files expected.

Sc0tTy
06-19-2013, 02:55 AM
Here's some ideas...

I'm wondering about a 'site rescan quick' which just cleans up a directory. I've seen .missing files hang around for some reason even when the real file is there, or a directory that doesn't have a complete tag in it but all the files are there. Not sure how that happens but it's pretty rare so don't have much info to give you on that. The only way to currently fix it is to rescan the dir but that takes a while on a large release. Assuming the individual file information is recorded in chattr's perhaps it could just use that without having to re-compute the crc values.

I'm not sure there is any reason to delete the complete tag just to re-create it if everything was actually complete. It should probably do the scan, then touch the timestamp on the complete tag if nothing changed, else delete and re-create with whatever is accurate. This has the benefit that you can rescan a directory tree and not touch the directory timestamps! It sucks if I rescan just to test completeness and now everything ends up dated today...


Yeah I have seen this also, really wierd.

Another thing that would be handy is to be able to define allowed files in releases and subdirs.
For instance a tv release doesn't allow .jpg in the maindir but it allowed in the Sample dir of the release.
There is no way atm to this (or I haven't found it)

Reflqx
06-29-2013, 10:56 AM
Hello! :)

I've a problem with IoNiNJA last version :

I can't define a network path in dzsbot.conf :

set device(0) "//192.168.0.1/Harddisk"

!df
<10+ioNiNJA> error > Nothing found

set device(0) "//192.168.0.1/Harddisk SYNOLOGY"

!df
<10+ioNiNJA> error > Nothing found

Can you help me, please?

Thx! :)

o_dog
06-29-2013, 03:09 PM
well it depends on how you run the bot. The user running the bot have to have access to the drive in question, if you run it as a service that would be the system account.

Reflqx
06-29-2013, 03:38 PM
Wow! :)

Then to try to make clearly:

I wish that the !df shows me the disk space of \\192.168.0.1\harddisk.

The access is made without authentification.

I tried to launch via service and in the performer the directly same thing.

What is thus the good syntax?
Idea?

Thank you!

o_dog
07-01-2013, 11:19 AM
it should work although i have not really worked with smb shares. Will look into it ASAP.

Reflqx
07-01-2013, 02:49 PM
Very Thx ! :)

Henkie2
07-10-2013, 05:14 PM
I'm sorry for being inactive. Been busy IRL, but this summer i will have time to fix bugs and add features. So please have at it, if you want something added say so after this post, i will go through them all in june. I'm not promising that it will get added but given that i have time and it's a good suggestion for the majority of users it will hopefully be added.

But first things first, please report bugs.

Here some ideas i dont have really bugs :)

addon: missing dirlink : No nfo/sfv dir, if sfv first option is selected (ioNiNJA.cfg) u dont have a missing sfv dir/incomplete dir if u upload nfo only. (it's for the nuke incomplete rls)
addon: autonuke imdb (genre/rating/votes etc)
addon: autonuke tv (genre/rating/votes etc)
addon: metacritic search/results/scores/announce (movies/games/series)
addon: weblink announce for 0day etc
addon: more user stats/info on bot/site with !cmd and site cmd (ex: !user user1 -- STATS: User user1 uploaded 222MB and downloaded 222mb / ratio:? / Group: etc)
addon: mvid genre announce incl genre tag in rls; like mp3/flac (read genre from nfo, mayb?)
addon: auto lowspace announce (incl options like !df)
update: GameFaqs on games announce incl search etc
update: Daystats on irc announce (not working properly)
update: imdb more options; runtime + metacritic score etc
update: ioTVARCHiVE

:D

o_dog
07-11-2013, 01:00 PM
addon: mvid genre announce incl genre tag in rls; like mp3/flac (read genre from nfo, mayb?) <- check the MV addon in ioninja plugins.

if you want runtime in imdb announce, in dZSbot.vars change:
set variables(IMDB) "%pf %imdbtitle %imdburl %imdbyear %imdbtv %imdblifetime %imdbstars %imdbrating %imdbvotes %imdbdirector %imdbcast %imdbmpaa %imdbcountry %imdblanguage %imdbgenre %imdbtagline %imdbplot %imdbopengross %imdbopencountry %imdbopenday %imdbopenyear %imdbopenscreens %imdbscreens %imdbbudget %imdbtop250 %imdblimited"

to

set variables(IMDB) "%pf %imdbtitle %imdburl %imdbyear %imdbtv %imdblifetime %imdbstars %imdbrating %imdbvotes %imdbdirector %imdbcast %imdbmpaa %imdbcountry %imdblanguage %imdbgenre %imdbtagline %imdbplot %imdbopengross %imdbopencountry %imdbopenday %imdbopenyear %imdbopenscreens %imdbscreens %imdbbudget %imdbtop250 %imdblimited %imdbruntime"

Henkie2
07-11-2013, 02:04 PM
Thx for checking, about that mvid it's more for announce of genre
And for imdb any change to get metacritic as well?

Ofc i hope other features can be add or updated and mayb other people got some ideas?

o_dog
07-11-2013, 02:09 PM
no, metacritic is not avalible on the page from which the script extracts the information. We'll see about the other features. Takes alot of time to write them all, so i'm making no promises.

The mvid script extracts genre, artist, songtitle although the artist and songtitle is not perfect, but it works. It also downloads single cover for the songs etc. It sorts them using same as the other scripts.

Henkie2
07-11-2013, 02:28 PM
Ohw one more thing of mvid i know that, and using it :) only what i mean is the announce genre on irc, like mp3/flac
And anychange to get this working?
No nfo/sfv dir, if sfv first option is selected (ioNiNJA.cfg) u dont have a missing sfv dir/incomplete dir if u upload nfo only. (it's for the nuke incomplete rls)

thedepartedone
07-26-2013, 12:33 AM
is there a way to add support for m4a files with the id3 tags? would it be difficult to adapt your current flac/mp3 scripts for m4a support?

Yil
07-29-2013, 12:28 AM
I think I might have an idea of why some of the weirder things I've rarely seen are occurring. It looks like when the drive is completely full and the ftp can't write data to the .ioftpd file bad things happen. That really doesn't surprise me, but it does mean we should probably find ways to handle/recover better. Obviously I should find ways to make sure it doesn't happen but sooner or later it will. The best thing I can suggest is 'site rescan' should perhaps have a way to detect an incomplete .ioftpd file state, or a flag to rescan, so it could rebuild all the info it's missing.

At the very least I should probably catch the disk full problem and record a log entry somewhere... Assuming of course that the log isn't on the same disk...

Sc0tTy
08-19-2013, 05:07 PM
I've been receiving this error:


08-19-2013 23:08:08 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---

while executing
"crc32 [file join $path $fn]"
(procedure "::ioNiNJA::ZipScript::ZipScript" line 268)
invoked from within
"::ioNiNJA::ZipScript::ZipScript 0 [lindex $args 1] [lindex $args 2] [lindex $args 3] "
("CHECK" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi.


Not sure if this is the cause or just a result of another problem: some files are 0byte.
Anything that can fix it?

o_dog
08-30-2013, 02:08 PM
Ok, i will have to apologize again. Sorry. Been in a car accident and rehab has been a ***** but I will probably have some time to fix the bugs at least. Don't exactly know when though (will have to try to fix IRL before this), will try to spend some time on it asap. Again, sorry.

X3
08-30-2013, 05:05 PM
Sorry to hear about that, get better soon, Yes hang in there. :)

Henkie2
10-14-2013, 01:00 PM
Hi guys, my imdb.itcl stopped working sinds today it wont get data anymore :(

o_dog
10-14-2013, 06:41 PM
imdb fix: http://www49.zippyshare.com/v/90654738/file.html

Henkie2
10-14-2013, 07:02 PM
imdb fix: http://www49.zippyshare.com/v/90654738/file.html

awesome thanks o_dog for this quicky :)

awyeah
10-14-2013, 10:43 PM
"..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
list element in braces followed by "÷wçÞûÎ(!a¬@¶P" instead of space
while executing
"string map $replacevar $progbar"
(procedure "outstats" line 228)
invoked from within
"outstats $newracer $newleader $announce $announcestats $file "
(procedure "::ioNiNJA::ZipScript::ZipScript" line 347)
invoked from within
"::ioNiNJA::ZipScript::ZipScript 0 [lindex $args 1] [lindex $args 2] [lindex $args 3] "
("CH


mp3 files randomly get deleted and crc file disappears, any ideas?

SRH99
10-15-2013, 01:34 AM
Sweet! you're the man o_dog..

o_dog
10-15-2013, 06:31 AM
awyeah: yeah, introduce the groups to a id3 tagging software, or better yet, ban them. Just to be sure people understand this, ITUNES is not a id3 tagging software since apple as usual decided that the ID3 format needed improving and broke the standard.

Henkie2
10-18-2013, 01:44 PM
o_dod sometimes i get this error on mp3;

10-18-2013 20:22:20 "../scripts/ioninja/plugins/mp3.itcl" terminated abnormally
--- ErrorInfo ---
error during seek on "file6123e50": invalid argument
while executing
"seek $fd -128 end"
(procedure "get_mp3_information" line 30)
invoked from within
"get_mp3_information $mp3file"
(procedure "::ioNiNJA::MP3::Main" line 17)
invoked from within
"::ioNiNJA::MP3::Main"
invoked from within
"if {![info exists pwd]} {
set pwd "[file dirname [lindex $args 2]]"
set path "[file dirname [lindex $a

Also any change to get newrelease_sorting.itcl updated for skip dvd1,cd1 etc? And is it possible that unpack_complete.itcl supports zip files?

Hans_
10-23-2013, 05:27 AM
imdb fix: http://www49.zippyshare.com/v/90654738/file.html
first of all thanks for the update o_dog...how are things with u? hope to see you more around ;)

Henkie2
11-22-2013, 09:47 PM
o_dog how can i change on imdb snip. folder.jpg to cover.jpg? or any one else? :)

o_dog
11-26-2013, 03:13 PM
don't know what you mean? imdb snip?

Henkie2
11-26-2013, 05:03 PM
don't know what you mean? imdb snip?
Sorry :P the imdb at (plugin/imdb.itcl) how can i get name change: cover.jpg i tried to change the default folder.jpg to cover.jpg
I dont get it it's still gives me the default folder.jpg.

brackebuschtino
12-09-2013, 10:51 AM
o_dog, any chance to add https - support to curl.exe so it can be used for https-URLs please?

o_dog
12-09-2013, 11:02 AM
It should already accept https

brackebuschtino
12-10-2013, 08:42 AM
Seems, it doesn't. Here is what it try:

set url "https://..."

iputs -nobuffer " "
iputs -nobuffer " Executing query to $url"

catch {exec ../scripts/ioNiNJA/MiSC/curl.exe --compressed $url} temp

iputs -nobuffer " response: $temp"

The value of $temp is:
response: curl: (1) Protocol https not supported or disabled in libcurl

o_dog
01-04-2014, 09:56 PM
check in cmd. curl--help or curl /h etc....
it's itcl and the exe is independent. You can just replace the curl.exe with one that accepts https if this one doesn't. It should still work without any problems in ioninja.

_badaas
01-07-2014, 05:26 PM
blimey o_dog you still at it!! ;_)

MONGi
02-11-2014, 05:52 PM
Hi @ all,

after uploading a xvid-file generated by the IMDB plugin in a separate folder the IMDb-TOP250. So far so good ...
About "jeza.ioFTPD.Tools" folder are deleted about memory space reasons when they have exceeded a certain number.
If indeed now one of the folder has been deleted by "jeza.ioFTPD.Tools" and there was a link to the IMDB TOP250 directory is the link yet, but is not deleted!?

Now to my question:
How can I remove these non-functioning links automatically from the IMDB TOP250 directory?

Here's what I've tested, but does not work:

set ioNJ (cleanup_dirs) {
/ _iMDB-TOP250 / | / _incomplete /
}


Does anyone have an idea?
Thanks for any tips.

o_dog
02-15-2014, 07:46 PM
no | and no spaces. meaning no " ".
set ioNJ (cleanup_dirs) {
/_iMDB-TOP250/
/_incomplete/
}

MONGi
02-15-2014, 08:33 PM
no | and no spaces. meaning no " ".
set ioNJ (cleanup_dirs) {
/_iMDB-TOP250/
/_incomplete/
}

Hello, thanks for your quick answer, but now i get follow error after command site symclean in the _iMDB-TOP250 directory:

----
02-16-2014 04:05:02 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
invalid command name "::ioNiNJA::symlink_clean"
while executing
"::ioNiNJA::symlink_clean "
("SYMCLEAN" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 1124)
----


Also i get the follow error after a Server restart:


02-16-2014 04:22:28 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
invalid command name "::ioNiNJA::CWD"
while executing
"::ioNiNJA::CWD "
("CWD" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 1124)
----


Ive extract the init.itcl from ioninja zip-archiv in the scripts and the ioninja Directory and write manually the code from init.itcl (nxtools) to the end of the extracted init.itcl .


#
# nxScripts - Scripts by neoxed.
# Copyright (c) 2004-2008 neoxed
#
# Module Name:
# Init
#
# Author:
# neoxed (neoxed@gmail.com)
#
# Abstract:
# Implements a configuration and extension loader.
#

set nx(scripts) {
{../scripts/nxAutoNuke/nxAutoNuke.cfg}
{../scripts/nxTools/nxTools.cfg}
{../scripts/nxLib.tcl}
}

################################################## ####################

proc nxLoadError {type message} {
if {![catch {set handle [open "../logs/nxError.log" a]}]} {
set now [clock format [clock seconds] -format "%m-%d-%Y %H:%M:%S"]
puts $handle "$now - [format %-12s $type] : $message"
close $handle
}
}

foreach name $nx(scripts) {
if {[catch {source [file normalize $name]} error]} {
nxLoadError LoadScript $error
}
}

foreach name {nxHelper sqlite3} {
if {[catch {package require $name} error]} {
nxLoadError LoadPackage $error
}
}
################################################## ###########
# Copy this file to the "../ioFTPD/scripts/" dir
# if it already exists add the following lines to the existing
# one at the bottom of the file

if {[catch {source "../scripts/ioNiNJA/ioNiNJA.cfg"} error]} {
return
}
if {[catch {source "../scripts/ioNiNJA/themes/$ioNJ(themefile)"} error]} {
return
}

if {[catch {source "../scripts/ioNiNJA/MiSC/NiNJALiB.tcl"} error]} {
return
}

if {[catch {package require http 2.7.1} error]} {
return
}

Whats wrong?

o_dog
02-15-2014, 11:21 PM
my guess, an error in ioninja.cfg and it fails to load on startup. But thats just a guess.

This is a config screwup and i will not help you with it since the script itself is not fault. Fix it and see if it works.

MONGi
02-16-2014, 06:39 AM
my guess, an error in ioninja.cfg and it fails to load on startup. But thats just a guess.

This is a config screwup and i will not help you with it since the script itself is not fault. Fix it and see if it works.

Hello o_dog,

Thank you for your answer, but please look at my example to proceed again. Based on the error message you're most likely the only one who can tell which an error is generated.

Ive extract ioNiNJA.cfg and init.itcl (original from ioNiNJA.1.0.Beta4.2012-10-02 zip-archiv) again to D:\ioFTPD\scripts\ioNiNJA

Also ive extract the init.itcl (original from nxTools-v1.2.1 zip-archiv and no init.itcl exist before) again to D:\ioFTPD\scripts

After a restart or enter the command site symclean in the _incomplete dir (at the Moment one broken link) ive get follow error:
02-16-2014 12:32:32 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ioNJ(load_cfg_startup)": no such variable
while executing
"if { !$ioNJ(load_cfg_startup) } {
if {[catch {source "../scripts/ioNiNJA/ioNiNJA.cfg"} error]} {
iputs -nobuffer $error
return
}

if {[catch {s..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 4)
----
02-16-2014 12:32:33 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ioNJ(load_cfg_startup)": no such variable
while executing
"if { !$ioNJ(load_cfg_startup) } {
if {[catch {source "../scripts/ioNiNJA/ioNiNJA.cfg"} error]} {
iputs -nobuffer $error
return
}

if {[catch {s..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 4)
----

EDIT:

Ok, i have restore my old configuration now and Change only:

set ioNJ (cleanup_dirs) {
/_iMDB-TOP250/
/_incomplete/
}

Now i get the message in flashfxp after command site symclean:

[13:03:03] 200-250- Checking: D:/ioFTPD/sites/_iMDB-TOP250/***FILENAME***
[13:03:03] 550 Command failed (script): No such file or Directory.


Thats right, in _iMDB-TOP250 are the linking, but the original file in a other Directory dont exist any more...
I would like do delete the linking now.
The links in _iNCOMPLETE are the same, if i try to manually use the command site symclean.

No error in error.log.

Its broken links, but ioftpd/ioninja dont clean/detete it.

o_dog
02-16-2014, 11:03 AM
STOP sending me personal messages. They're annoying and will not make me help you, quite the opposite actually.

First of all you can't copy the init.tcl from nxtools without editing it. This is explained in the redme. You need to add stuff to it.

The script works for symlink cleanup as far as i know, if you want to report a bug i would need confirmation from someone else. Cleanup works here, and it removes dead junctions without a problem.

If the script is setup right there should be no errors.

MONGi
02-16-2014, 11:26 AM
thank you for your support, your approach would examine

o_dog
02-16-2014, 11:30 AM
I have no idea what that means

MONGi
02-16-2014, 11:57 AM
Hm,
have checked the settings have been made into init.itcl its all fine, had forgotten to mention this.
I'm surprised that no error in the error.log is generated.
I'm generate the links in the _iMDB-TOP250 Directory over the imdb.cfg plugin:
set ioNJ(imdb_sorting) {
{/X264/|/XViD/} {D:/ioFTPD/sites/_iMDB-TOP250/%top250 - %release (%genre - %year) - Rating %ratingof10 @ %votes Votes}
}
Is this wrong?
Thanks

Do you need any logs or anything else?

MONGi
02-17-2014, 12:33 PM
Hello,
now i have test carried out a new setup on another computer.
Installed is ioFTPD.7.7.3 and ioNiNJA.1.0.Beta4.2012-10-02. The IMDB-update at the beginning of the thread was also integrated.

Ive Setup ioFTPD , ioNiNJA and IMDB-plugin.

Two folders exist now:
XVID and TOP250

If a XVID-folder loaded to XVID, an IMDB-link generated to TOP250-directory...ok, everything perfect.
I delete now manually the new XVID-folder under the XVID-directory, the IMDB-link in the TOP250-directory is retained.

If i use "site symclean", i get the following FlashFXP-log:


site symclean
200-250 - Checking: C:/ioFTPD/FTP-ROOT-DIR/TOP250/002 - FILENAME (GENRE- YEAR) - Rating xxxofxxx @ xxx Votes
550 Command failed (script): No such file or directory.


I want that ioNiNJA delete the IMDB-links in the TOP250-directory, if the original dont exist anymore.

Does anyone have the same Problem?

MONGi
02-21-2014, 07:02 PM
Hello,
now i have test carried out a new setup on another computer.
Installed is ioFTPD.7.7.3 and ioNiNJA.1.0.Beta4.2012-10-02. The IMDB-update at the beginning of the thread was also integrated.

Ive Setup ioFTPD , ioNiNJA and IMDB-plugin.

Two folders exist now:
XVID and TOP250

If a XVID-folder loaded to XVID, an IMDB-link generated to TOP250-directory...ok, everything perfect.
I delete now manually the new XVID-folder under the XVID-directory, the IMDB-link in the TOP250-directory is retained.

If i use "site symclean", i get the following FlashFXP-log:


site symclean
200-250 - Checking: C:/ioFTPD/FTP-ROOT-DIR/TOP250/002 - FILENAME (GENRE- YEAR) - Rating xxxofxxx @ xxx Votes
550 Command failed (script): No such file or directory.


I want that ioNiNJA delete the IMDB-links in the TOP250-directory, if the original dont exist anymore.

Does anyone have the same Problem?

Hello,

the problem still exists, I have now solved via an automated batch-script.

Rusher
02-24-2014, 02:47 PM
Helllo

i have a issue that i havent been able to find the problem to and im hoping you guys might be able to help me with.

when uploading a 0day release often containing 1 or more .zip files the first file gets deleted, for ex

uploading surri.ct.crack-ind containing 10 zip files the first file uploaded is deleted and the remaining 9 files are uploaded without problem, if i try to upload the first file again it works! its not deleted the second time. and also complete bar shows 100% after the second try.
also if release was only containing 1 zip file, first try it uploads but is deleted leaving the directory empty with just a nfo and diz file, if i attempt again to upload the file it stays and shows 100%.

when uploading the first zip at the first attempt i get a error in system error log :

02-24-2014 20:17:43 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "zip_files": no such variable
while executing
"llength $zip_files"
(procedure "::ioNiNJA::ZipScript::ZipScript" line 119)
invoked from within
"::ioNiNJA::ZipScript::ZipScript 0 [lindex $args 1] [lindex $args 2] [lindex $args 3] "
("CHECK" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESOR

uploading same file again after this message everything works and no error.

hoping someone might have a clue what the problem might be ?! thanks in advance

jared-
02-28-2014, 06:35 AM
Can someone please post a link to beta4? All links seem to be dead.

Thanks.

Hans_
02-28-2014, 09:23 AM
Can someone please post a link to beta4? All links seem to be dead.

Thanks.


http://rghost.net/52725608

jared-
02-28-2014, 09:24 AM
Thanks, mate!

Yil
02-28-2014, 11:15 PM
Here it is as an attachment.

jared-
02-28-2014, 11:16 PM
Thank you!

eremini
03-12-2014, 10:41 PM
Hi,

I keep getting errors on site rescan. perhaps you could point me to what I am doing wrong.

--- ErrorInfo ---
missing file/directory
while executing
"vfs chattr $path $x"
(procedure "readchattr" line 3)
invoked from within
"readchattr 9"
(procedure "::ioNiNJA::ZipScript::PRE_STOR" line 5)
invoked from within
"::ioNiNJA::ZipScript::PRE_STOR [lindex $args 2] "
("PRESTOR" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipSc
02-13-2014 04:54:55 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally


I have to run site rescan in the first place, because the script seems to mark complete folders with one file still missing, so there's another bug. Appreciate any help!

Yil
03-14-2014, 03:06 PM
eremini: Double check the version you are using. I remember that error in the version before the latest one, but I don't think it's happening in the latest...

eremini
03-17-2014, 05:28 PM
Yil: I only set up this instance about 3 months ago and grabbed latest version from first post then, so I should have latest.

slacker666
03-18-2014, 06:04 PM
What's the latest release of ioNiNJA? I seem to have issues with ioNiNJA v1.02b2 and the imdb fix, it simply won't check for imdb info (dirs have been configured in ioNiNJA.cfg) nor sort movies.

On a side note: tv-sorting works perfectly, thank you!

Rusher
03-25-2014, 01:08 PM
I'm trying to gather the incomplete symlinks in 1 directory via tha following option in ioninja.cfg

set ioNJ(sym_inc_dir) {C:/ioFTPD/FTP-ROOT-DIR-INC/Incomplete}

but i get no incomplete links att all in that directory. only in parentfolder of the release.

is there something else i must change ?

o_dog
03-27-2014, 03:44 PM
Rusher: you need to create the dir. read the description over the config line in .cfg.

Rusher
03-28-2014, 02:41 AM
Rusher: you need to create the dir. read the description over the config line in .cfg.

the directory does exist..

Hans_
03-28-2014, 11:26 AM
Hi,

I keep getting errors on site rescan. perhaps you could point me to what I am doing wrong.

--- ErrorInfo ---
missing file/directory
while executing
"vfs chattr $path $x"
(procedure "readchattr" line 3)
invoked from within
"readchattr 9"
(procedure "::ioNiNJA::ZipScript::PRE_STOR" line 5)
invoked from within
"::ioNiNJA::ZipScript::PRE_STOR [lindex $args 2] "
("PRESTOR" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipSc
02-13-2014 04:54:55 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally


I have to run site rescan in the first place, because the script seems to mark complete folders with one file still missing, so there's another bug. Appreciate any help!

i can confirm a similar error message(wich pops up quite frequently in systemerror.log) on site rescan and sometimes on "normal" uploads:
03-28-2014 15:42:45 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
missing file/directory
while executing
"vfs chattr [file dirname $path] 20"
(procedure "::ioNiNJA::ZipScript::PRE_STOR" line 39)
invoked from within
"::ioNiNJA::ZipScript::PRE_STOR [lindex $args 2] "
("PRESTOR" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."

version used:


ioFTPD 7.7.3
set ioNJ(VERLONG) "v1.0b4 Release 2012-10-01"
set ioNJ(VER) "v1.0b4"

mantonio1965
03-29-2014, 07:38 PM
I found the script to create duplicate symlinks but i couldn't figure out why and under which circumstances. However i have plenty (0) and (1) and (2) symlink duplicates within the same symlink parent folder and would like to know under which circumstances these duplicates are created. Mabe its a configuration parameter or a wrong evaluation within the symlink proc?

o_dog
04-10-2014, 07:28 AM
it depends on the symlinks. If it's TV for instance, a proper or repack would produce it. It depends the naming schema. If a symlink is already available with the same name and still valid it would create a new symlink with %symlink (number). Nothing to do about it unfortunately.

mantonio1965
04-10-2014, 07:36 AM
it depends on the symlinks.
It happens when uploading MP3 in a folder where nothing is in there yet and with a brand new emtpy symlinks folder. I tested exactly this to narrow the reason for this and wiped out all symlinks collections before uploading to a fresh folder and it happens not matter of that even on the first upload when there is nothing there and no symlinks, which is strange.

If it's TV for instance, a proper or repack would produce it.
I'm referring to MP3. And no matter of the section -PROPER- or -REPACK- tag in folder name should not create a symlink identical to the one without these tags. In fact the symlinks would be similar but not receive a (0) or (1) etc. which indicated dupes.

If a symlink is already available with the same name and still valid it would create a new symlink with %symlink (number).
I also supposed this. But, if the existing symlink and the symlink about to be created point to the exact same target, wouldn't it make sense to drop the creation instead of creating lotsa dupes? I think, check and compare the target of the existing symlink agains the target of the symlink about to be created should be possible and not very time consuming, shouldn't it? That would be the solution to prevent dupes on re-upload. ;) The the only problem left is to find the reason for dupe creation on initial upload.

TeRRaNoVA
04-13-2014, 03:39 PM
o_dog, question.

Way cant the first xx0.zip file be uploaded? only excepts the second file xx1.zip, afther re-upload the first file xx0.zip its being accepted.
its being deleted afther the site extract die file_id.diz.

is there something wrong with the NiNJALiB.tcl

useing the beta4

wysed00d
05-02-2014, 06:55 PM
hi guys, I am low vision user and can't find where to download ioNiNJA v1.0 beta 4 can someone post the link plz...........thx

wysed00d
05-02-2014, 08:33 PM
Question, what files do I need to copy/edit to upgrade from iONiNJA 1.0 b2 to b4?

ArtX
05-07-2014, 05:14 AM
When using the supplied sitebot that comes with ioNINjA, when ever I make or remove a directory i get the following error

[11:10] dZSbot error: Unhandled error, please report to developers:
unable to find window "ioFTPD::MessageWindow": The operation completed successfully.
while executing
"ioftpd user get $msgWindow $user"
(procedure "get_tagline" line 2)
invoked from within
"get_tagline [lindex $line 1]"
(procedure "readlog" line 66)
invoked from within
"readlog"


the sfv runs fine in the ftp, shows that the upload is ok, it just never announces, I am leaning towards a config issue, but before I redo ioFTPD and ioNINjA from scratch, though I would post here just incase it isnt my fault and there is a simple fix :)

I am running ioFTPD 7.7.3 (as System Service) with Beta4 of ioNINjA on a Windows Server 2012 R2 system

Yil
05-07-2014, 10:58 PM
Hey Art. Starting with win7/w2k8 Microsoft made login sessions and the default service session protected from each other as a safety feature. I don't know if I could work around this or not using custom permissions, but for the moment the result is you can't send windows messages from user login sessions to the system session used by services. My guess is you are running ioFTPD as a system service (like you mentioned) but you are starting the bot from a user session...

You have 3 options. Start both from a user login session, use a tool like firedaemon to start both as a service since windrop doesn't know how to be a windows service, or use ioFTPD running as a service to start the bot. ioNiNJA I think has a way to do this but I've never used it.

ArtX
05-08-2014, 06:29 AM
Took ownership of the ioFTPD and eggdrop dirs, and run them as my user, seems to be working with no issues so far :)

brackebuschtino
05-12-2014, 04:54 AM
hi guys, I am low vision user and can't find where to download ioNiNJA v1.0 beta 4 can someone post the link plz...........thx
Question, what files do I need to copy/edit to upgrade from iONiNJA 1.0 b2 to b4?
Obviously you found the link. What do you think, was it a good idea to share your knowledge to the others you asked for this info before?

mantonio1965
05-12-2014, 05:19 AM
Or mabe the author of the script could update its initial post to link to the latest release? The Efnet-channel doesn't either seem to be actively moderated. Has the script development discontinued?

o_dog
05-13-2014, 05:03 AM
The problem is that I don't have the latest version of the script all up to date myself anymore since my computer crashed. This is somewhat problematic since i don't want to revert any fixes in the script. The script is not discontinued but last I checked everything worked as it should and hence I don't mess around with it.

I would appreciate if someone took their time to upload the latest script with updated files so I can have a baseline to work on. Send msg to me in PM.

brackebuschtino
05-13-2014, 05:58 AM
I'd suggest you add this help request in bold or colorized to your opening post since this is the place where users search for the latest version to download (incl. updated single files). Chances are pretty low users read through a 30+ pages long thread looking for a download link or to find your request.

Yil
05-14-2014, 09:59 PM
For some reason I can't seem to upload attachments to the forum... but here's a link to the last public release of ioNiNJA that I have.

Link: ioNiNJA.1.0.Beta4.2012-10-02+imdb+rescan.fixes.zip (http://home.comcast.net/~yil/ioNiNJA.1.0.Beta4.2012-10-02+imdb+rescan.fixes.zip)

Hans_
05-28-2014, 04:14 AM
For some reason I can't seem to upload attachments to the forum... but here's a link to the last public release of ioNiNJA that I have.

Link: ioNiNJA.1.0.Beta4.2012-10-02+imdb+rescan.fixes.zip (http://home.comcast.net/~yil/ioNiNJA.1.0.Beta4.2012-10-02+imdb+rescan.fixes.zip)

Hey Yil,

thanks for reupping the updated packag..could you just post the site rescan fix?

thx!!

Yil
05-28-2014, 04:53 AM
The only file changed for IMDB was imdb.itcl under /plugins. You can just grab the one from the zip above if you already have it, or I've attached imdb.rar below.

Hans_
05-28-2014, 08:49 AM
The only file changed for IMDB was imdb.itcl under /plugins. You can just grab the one from the zip above if you already have it, or I've attached imdb.rar below.
oh i see...i thought there were more fixes than the imdb(due to the filename -> +rescan fixes) :)

Yil
05-28-2014, 10:07 PM
LOL! You wanted the site rescan and I gave you the imdb fix!

Here's odog's rescan fix. Goes under Misc dir I believe.