PDA

View Full Version : [req] simple no-nfo/sfv tag creator


parez30
02-24-2005, 07:04 AM
please,
can someone more talented than I write script (mp3 oriented), which will create some information "tag" in directory

i m uploading some-rls into /music without .nfo/sfv (=only mp3, cue + cover ie.)

script will create in /music
[no-nfo]-some-rls ([no-sfv]-some-rls)
or
some-rls + [no-nfo]-some-rls ([no-sfv]-some-rls) which will be "link" to some-rls

i dont want to use "complex" zipscript which can some more things

if there are solutions on the forum, plz navigate me :-)

sorry for my english

thx for replies
p.

jeza
02-24-2005, 08:53 AM
http://www.ioftpd.com/scripts/script.php?id=173

parez30
02-24-2005, 09:13 AM
thx jeza, going to make some test

parez30
02-24-2005, 11:14 AM
yes works :-)))
great script, thx jeza
now i willl test how to change format of tag dont need spaces :-)
and if i remove dir, this symlink remains..i need to add some action with iokDC OnDirDeleteed?

jeza
02-24-2005, 11:30 AM
done

parez30
02-25-2005, 08:36 AM
thx for new .itcl
deleting of symlink works 100%

but i have new question
i prepared 3 rls
rls1 without .nfo file
rls2 without .sfv file
rls3 contains only .mp3

just upped in some test directory with results
upped only rls1 ..works fine [no-nfo]-[rls1] created and deleted after ok
upped only rls2 ..works fine [no-sfv]-[rls2] created and deleted after ok
upped only rls3 ..works fine [no-nfo_no-sfv]-[rls3] created and deleted after ok

but
upped all 3 rls together...created [no-nfo_no-sfv]-[rls3] only...

my settings:
set iojDC(nocheck) "/utils/* /req/* */covers */sample */subs */data */extra /scidiv/*"
set iojDC(tag_no_nfo) "\[NO-NFO\]-\[%rls\]"
set iojDC(tag_no_sfv) "\[NO-SFV\]-\[%rls\]"
set iojDC(tag_no_nfo_sfv) "\[NO-NFO_NO-SFV\]-\[%rls\]"
set iojDC(delete_tag) "*?NO*"

jeza please, if you have free time :-) look on it, if (i expect) my settings are bad or some bug in script

have nice weekend, may be we can meet on efnet/linknet?

jeza
02-25-2005, 03:57 PM
set iojDC(nocheck) "/utils/* /req/* */covers/ */sample/ */subs/ */data* */extra/ /scidiv/*"

set iojDC(delete_tag) "*NO*%rls*"

parez30
02-28-2005, 02:31 AM
thx again

iam
04-22-2005, 06:11 AM
Bug when the release with several Cd,
tag_no_sfv not removed
/DIVX/(MISSING SFV)-[ release_name-GROUP] => tag not removed because several cd
/DIVX/release_name-GROUP/Cd1
/DIVX/release_name-GROUP/Cd2
/DIVX/release_name-GROUP/*.nfo
/DIVX/release_name-GROUP/no SFV

jeza
04-22-2005, 10:59 AM
use latest version

iam
04-22-2005, 11:59 AM
I had already tested the last version but atm i testing again last version by default and:
/DIVX/:

drwxrwxrwx 8 User GROUP 0 Apr 22 16:51 .
drwxrwxrwx 12 User GROUP 0 Apr 22 15:51 ..
lrwxrwxrwx 2 User GROUP 0 Apr 22 16:49 ]-[ NO SFV ]-[ TEST_RLZ_CENSORED-BUG ]-[ -> /DIVX/TEST_RLZ_CENSORED-BUG/
drwxrwxrwx 4 User GROUP 52 Apr 22 16:52 TEST_RLZ_CENSORED-BUG

/DIVX/TEST_RLZ_CENSORED-BUG/:

drwxrwxrwx 4 User GROUP 52 Apr 22 16:52 .
drwxrwxrwx 8 User GROUP 0 Apr 22 16:51 ..
drwxrwxrwx 2 User GROUP 12163418 Apr 22 16:51 Cd1
drwxrwxrwx 2 User GROUP 12163418 Apr 22 16:52 Cd2
-rw-r--r-- 0 User GROUP 52 Apr 22 16:49 test-xvid.nfo

cd1/2 is completed but tag nosfv not deleted

jeza
04-22-2005, 04:00 PM
yes bug
but not like u say
u dont use latest version

bug was :

/dir/release/cd1
when u upped *.nfo to /dir/release/*.nfo
/dir/-NO SFV- was created

;)

http://freeweb.siol.net/aj2506/Files/ioftpd/iojDC/iojScripts.rar

iam
04-22-2005, 04:11 PM
thx man, i test of course :)
PS: i use last version on site ioFTPd :) but now i test your link

iam
04-22-2005, 04:38 PM
hmm, not fixed i think, same bug here.

/dir/release/cd1
/dir/release/cd2
when u upped *.nfo to /dir/release/*.nfo

/dir/-NO SFV- was created

jeza
04-23-2005, 01:43 AM
lol

i tested and it works

dl again i changed something for output to client
this is version 2.0 ;)

http://freeweb.siol.net/aj2506/ioftpd.html

iam
04-23-2005, 09:44 PM
not again lol:
]-[ NO SFV ]-[ Around.The.World.In.80.Days.Retail-TEST ]-[ -> /DIVX/Around.The.World.In.80.Days.Retail-TEST/



Apr 24 02:41 cd1
Apr 24 02:42 cd2
Apr 24 02:41 [IMDB] - Adventure (80) - 5.7 of 10 - [IMDB]
Apr 24 02:40 around.the.world.in.80.days.retail-test.url
Apr 24 02:40 atw8-rejects.nfo

tested with default file :/

jeza
04-24-2005, 04:09 AM
dont use it ;)

iam
04-24-2005, 04:52 AM
?? why not working with me and with default file ??

nud3l
04-24-2005, 04:57 AM
hello, is it possible to do a iojDC-Nuke function ? when "site nuke rls multi reason" is typed, the no-sfv,nfo symlink will be deleted ? would be nice feature.

greets

jeza
04-24-2005, 09:30 AM
added nuke

!!notice!!

xxx/no-nfo-no-sfv release-test_cd1

xxx/release-test/cd1
site nuke cd1 3 test <-- wil remove symlink

xxx/release-test
site nuke release-test 3 test <-- will not remove symlink