Old 12-30-2009, 04:18 PM   #1
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 05:07 PM.
HS2005 is offline   Reply With Quote
Old 11-27-2010, 01:11 PM   #2
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, 06:15 PM   #3
Junior Member
 
Join Date: Aug 2007
Posts: 14
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
Senior Member
 
Join Date: May 2007
Posts: 577
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
Junior Member
 
Join Date: Aug 2007
Posts: 14
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
Senior Member
 
Join Date: May 2007
Posts: 577
Default

site resort mp3
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 05-13-2011, 06:36 AM   #7
Junior Member
 
Join Date: Aug 2007
Posts: 14
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
Junior Member
 
Join Date: Aug 2007
Posts: 14
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
Reply
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 02:53 AM.