Old 12-30-2009, 05:18 PM   #1
HS2005
Junior Member
 
HS2005's Avatar
 
Join Date: Dec 2009
Posts: 1
Default ioNiNJA audio sorting

Hellow all,

(Hope this is the good section, if not, please remove to proper section)
I am trying to learn the ioNiNJA script and i was wondering how can you sort by genre?
Example: folder FTP: sorted/genre

I found this line: set ioNJ(audio_sorting) But i have no clue how to set it after it.
Do i have to set a path or a vfs?

I created 1 folder named sorted in E:/ioFTPD/site/Sorted/
True path: E:/ioFTPD/site/Sorted/Mp3

EDIT:
This is my config file:

set ioNJ(audio_sorting) {/Sorted/Mp3/~E:/ioFTPD/site/Sorted/Mp3/%genre}

Thanks

Last edited by HS2005; 12-30-2009 at 06:07 PM.
HS2005 is offline   Reply With Quote
Old 11-27-2010, 02:11 PM   #2
mambule
Junior Member
 
Join Date: Oct 2010
Posts: 5
Default

edit your default.vfs to create a virtual directory share, let's say MP3.

edit your mp3.itcl as following:

set ioNJ(audio_sorting) {
{/MP3/} {E:/ioFTPD/site/Sorted/%genre/%release}
}
mambule is offline   Reply With Quote
Old 02-12-2011, 07:15 PM   #3
mantonio1965
Member
 
Join Date: Aug 2007
Posts: 37
Default

up to now i collected in genre dirs now i want to sort symlinks in daydirs but would like to do the sorting using a site command. unfortunately mp3.itcl of ioninja does not provide this feature and i am not able to write a script myself. is there a script available to sort releases by release date? or do you know how to set up mp3.itcl to sort on daydirs from reading from nfo?
mantonio1965 is offline   Reply With Quote
Old 03-26-2011, 07:00 AM   #4
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

I can't remember if i added the feature before updates stopped or not, but I seem to recollect that all the sorting scripts support the time variables of tcl. %W for week nr for example. check tcl syntax for more info, if not, it's coming in the updated version of ioninja.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 05-13-2011, 06:17 AM   #5
mantonio1965
Member
 
Join Date: Aug 2007
Posts: 37
Default

Hello o_dog,

thanks for your reply. Yes, it was possible to mod the script using the flag mentioned. But how to make the script post sorting by creating symlinks into the daydirs using a command like for the symclean command? Would be great if the script was callable like

site symsort 'daydirs'

or something like that.
mantonio1965 is offline   Reply With Quote
Old 05-13-2011, 06:24 AM   #6
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

site resort mp3
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 05-13-2011, 06:36 AM   #7
mantonio1965
Member
 
Join Date: Aug 2007
Posts: 37
Default

ah ok. i'll give it a try and will leave a statement later.
mantonio1965 is offline   Reply With Quote
Old 05-13-2011, 02:19 PM   #8
mantonio1965
Member
 
Join Date: Aug 2007
Posts: 37
Default

mhm. using the %W flag did not fit my needs as the release date is available from the nfo file only, which is kinda tricky thang since the format is not standardised and thus there is no predictable format to use for parsing the nfo.
mantonio1965 is offline   Reply With Quote
Old 10-08-2012, 09:22 AM   #9
donaldduck83
Junior Member
 
Join Date: Oct 2012
Posts: 1
Default

hi,
i would like to have that feature too. Also it would be great to be able to sort by Language Tag.
donaldduck83 is offline   Reply With Quote
Old 10-09-2012, 06:01 AM   #10
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

I hve no idea what that feature is. you can use regexp sorting to sort languages etc. These fatures will not be added to mp3 sorting. Since there is no real way to predict how people are tagging or writing things in the nfo.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Reply

Tags
ftp, ioninja, path, section, set

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:57 AM.

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