View Full Version : ioNiNJA audio sorting
HS2005
12-30-2009, 05:18 PM
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 :)
mambule
11-27-2010, 02:11 PM
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}
}
mantonio1965
02-12-2011, 07:15 PM
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?
o_dog
03-26-2011, 07:00 AM
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.
mantonio1965
05-13-2011, 06:17 AM
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.
o_dog
05-13-2011, 06:24 AM
site resort mp3
mantonio1965
05-13-2011, 06:36 AM
ah ok. i'll give it a try and will leave a statement later.
mantonio1965
05-13-2011, 02:19 PM
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.
donaldduck83
10-08-2012, 09:22 AM
hi,
i would like to have that feature too. Also it would be great to be able to sort by Language Tag.
o_dog
10-09-2012, 06:01 AM
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.
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.