Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-29-2007, 01:44 AM   #1
Sash!
Junior Member
 
Join Date: Nov 2005
Posts: 23
Default mp3 sort, that makes ntfs junctions

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
Sash! is offline   Reply With Quote
Old 08-31-2007, 08:15 AM   #2
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 528
Red face

u can dl it here

u need Microsoft.NET Framework v2.0

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

Code:
<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
jeza is offline   Reply With Quote
Old 09-02-2007, 09:14 AM   #3
Sash!
Junior Member
 
Join Date: Nov 2005
Posts: 23
Default

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! is offline   Reply With Quote
Old 09-02-2007, 11:13 AM   #4
Sash!
Junior Member
 
Join Date: Nov 2005
Posts: 23
Default

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
Sash! is offline   Reply With Quote
Old 09-03-2007, 12:52 AM   #5
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 528
Default

no problem
jeza is offline   Reply With Quote
Old 12-16-2007, 04:20 AM   #6
hankeyman
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2004
Posts: 12
Default

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...
hankeyman is offline   Reply With Quote
Old 12-21-2007, 04:39 AM   #7
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 528
Default

i will check
jeza is offline   Reply With Quote
Old 02-29-2008, 02:12 PM   #8
hankeyman
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2004
Posts: 12
Default

hi,
did you have any time to look at the script ?
hankeyman is offline   Reply With Quote
Old 03-01-2008, 03:25 PM   #9
hennie1nl
Junior Member
FlashFXP Beta Tester
 
Join Date: Jan 2007
Posts: 15
Default

A working download link would also be nice since the official ioftpd scripts page seems to be down ;-(
hennie1nl is offline   Reply With Quote
Old 03-03-2008, 01:23 AM   #10
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 528
Default

hankeyman : not yet, but source is included, maybe someone else can take a look...

http://code.google.com/p/ioftpdscripts/downloads/list
jeza is offline   Reply With Quote
Old 03-11-2008, 02:28 PM   #11
_gordon_
Junior Member
 
Join Date: Mar 2008
Posts: 10
Default

very nice, can you add sorting by rls group too?

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

Last edited by _gordon_; 03-11-2008 at 02:56 PM.
_gordon_ is offline   Reply With Quote
Old 03-23-2008, 11:31 AM   #12
hankeyman
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2004
Posts: 12
Default

@jeza: thanks, i'll have a look at the source when i got some time
hankeyman is offline   Reply With Quote
Old 03-24-2008, 04:38 AM   #13
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 528
Default

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
jeza is offline   Reply With Quote
Old 04-16-2009, 04:23 PM   #14
thedepartedone
Member
 
Join Date: Apr 2009
Posts: 30
Default

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" />
thedepartedone is offline   Reply With Quote
Old 05-10-2009, 09:43 AM   #15
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 528
Default

everything between <!-- and --> is a comment.
so i gues all what u need is:
Code:
<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" />
jeza is offline   Reply With Quote
Reply

Tags
junctions, make, ntfs, script, talking

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 04:25 AM.

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