PDA

View Full Version : mp3 sort, that makes ntfs junctions


Sash!
08-29-2007, 01:44 AM
Hey there :)

Since a lot of time I am looking for a script and I decided to try again here.

So I am using ioftpd with iosz script. It has the possibility to make ntfs junction when something gets uploaded.
My problem is, that the hard drive with my old junctions failed, so they are gone :) I need to restore them and as I see, the only way is to reupload the whole content (i am talking about dirs with mp3s).

So what I need is - a tool, that can make artist/genre/year sorting without uploads needed. There is such a symlink script - iomp3sort. I need the same thing for junctions.

Could someone help me, please :)

jeza
08-31-2007, 08:15 AM
u can dl it here (http://www.inicom.net/pages/en.ioftpd-scripts.php?id=226)

u need Microsoft.NET Framework v2.0

Extract it to some dir in your disk.
edit jcMp3Sort.exe.config


<add key="path.Sorting.Mp3.Artist" value="C:\\server\\index\\sortby.Artist" />
<add key="path.Sorting.Mp3.Genre" value="C:\\server\\index\\sortby.Genre" />
<add key="path.Sorting.Mp3.Year" value="C:\\server\\index\\sortby.Year" />

<add key="path.Source.Mp3.Upload" value="D:\\mp3\\test|2 D:\\archive|1" />


run it from cmd with command:
jcMp3Sort.exe manualsort

Sash!
09-02-2007, 09:14 AM
Awesome :)

Thank yoou!

But... I have a prob:

C:\ioFTPD\scripts\jcmp3sort>jcmp3sort.exe manualsort
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
at jcMp3Sort.Manual.CreateJunctions() in C:\server\jcMp3Sort\jcMp3Sort\Manual
.cs:line 38
at jcMp3Sort.Program.Main(String[] args) in C:\server\jcMp3Sort\jcMp3Sort\Pro
gram.cs:line 16

C:\ioFTPD\scripts\jcmp3sort>



can you help fixing it?

Sash!
09-02-2007, 11:13 AM
It was my mistake in the paths. Fixed
And it works fantastic!!!

As i see, you wrote it especially for me.I am extremely grateful, I am looking for such a script for a long time.

Thank you, my friend

jeza
09-03-2007, 12:52 AM
no problem :D

hankeyman
12-16-2007, 04:20 AM
Hi,
i stumbled upon this script yesterday and i was really happy, since i always looked for something like that.
After experimenting with it, i recognized that it will only work with id3v2. Since i have lots of old mp3 with id3v1 i miss a lot of junctions. Is it possible to get this tool to work with id3v1 too? I don't want to necessarily retag all my mp3s and make new sfvs.

Thanks in advance...

jeza
12-21-2007, 04:39 AM
i will check

hankeyman
02-29-2008, 02:12 PM
hi,
did you have any time to look at the script ?

hennie1nl
03-01-2008, 03:25 PM
A working download link would also be nice since the official ioftpd scripts page seems to be down ;-(

jeza
03-03-2008, 01:23 AM
hankeyman : not yet, but source is included, maybe someone else can take a look...

http://code.google.com/p/ioftpdscripts/downloads/list

_gordon_
03-11-2008, 02:28 PM
very nice, can you add sorting by rls group too?

also if it could skip already processed dirs on next 'manualsort'

hankeyman
03-23-2008, 11:31 AM
@jeza: thanks, i'll have a look at the source when i got some time :)

jeza
03-24-2008, 04:38 AM
i changed it so it should work now with both id3v1 and id3v2 tags...
http://code.google.com/p/ioftpdscripts/downloads/list

source also included from SVN repository

thedepartedone
04-16-2009, 04:23 PM
im having a lot of difficulty setting up mp3sort, can some one show me a detailed layout on how to setup... this is what i currently have :


<!--
<add key="path.Sorting.Mp3.Artist" value="C:\\server\\index\\sortby.Artist" />
<add key="path.Sorting.Mp3.Genre" value="C:\\server\\index\\sortby.Genre" />
<add key="path.Sorting.Mp3.Year" value="C:\\server\\index\\sortby.Year" />

<add key="path.Sorting.Mp3.Artist" value="E:\\server\\index\\sortby.Artist" />
<add key="path.Sorting.Mp3.Genre" value="E:\\server\\index\\sortby.Genre" />
<add key="path.Sorting.Mp3.Year" value="E:\\server\\index\\sortby.Year" />
-->

<add key="path.Sorting.Mp3.Artist" value="H:\\Sorted.By.Artist" />
<add key="path.Sorting.Mp3.Genre" value="H:\\Sorted.By.Genre" />
<add key="path.Sorting.Mp3.Year" value="H:\\Sorted.By.Year" />

<!-- Space Separated List Of Folders With MP3s -->
<!-- Spaces in DirNames Are Not Supported!!! -->
<!--
Example:
D:\\mp3|2 = Search In D:\Mp3\0101, D:\Mp3\0102, ...
D:\\archive|1 = Search In D:\archive

<add key="path.Source.Mp3.Upload" value="D:\\mp3\\test|2 D:\\archive|1" />
<add key="path.Source.Mp3.Upload" value="E:\\mp3|2 D:\\archive|1" />

-->
<add key="path.Source.Mp3.Upload" value="G:\\HiPHOP.ARCHiVE|1 G:\\RNB.ARCHiVE|1" />
<add key="path.Source.Mp3.Upload" value="H:\\MP3|2 H:\\REGGAE.ARCHiVE|1 H:\\SPANiSH.MUSiC|1" />

jeza
05-10-2009, 09:43 AM
everything between <!-- and --> is a comment.
so i gues all what u need is:

<add key="path.Sorting.Mp3.Artist" value="H:\\Sorted.By.Artist" />
<add key="path.Sorting.Mp3.Genre" value="H:\\Sorted.By.Genre" />
<add key="path.Sorting.Mp3.Year" value="H:\\Sorted.By.Year" />
<add key="path.Source.Mp3.Upload" value="G:\\HiPHOP.ARCHiVE|1 G:\\RNB.ARCHiVE|1 H:\\MP3|2 H:\\REGGAE.ARCHiVE|1 H:\\SPANiSH.MUSiC|1" />

AndreyN
10-11-2011, 01:32 PM
Does anyone have a working link to the script?

biggysmlz
03-04-2013, 03:13 PM
yes, whatever happened to this script? jeza?

jeza
09-29-2019, 11:12 AM
there :)
1478