Page 2 of 2

Re: I've written a MOVE TO MUSIC LIBRARY script..

Posted: December 8th, 2011, 8:08 pm
by jgourd
If I remove all the spaces from the path and manually run it, it works. Using %20 in place of spaces it fails as well. I had to tell SABnzb to replace spaces with underscores and I had to not define the $DIR and $ARENAME variables and instead use hard paths. Now it works.

Re: I've written a MOVE TO MUSIC LIBRARY script..

Posted: December 8th, 2011, 9:31 pm
by jgourd
Argh! since I am writing these out to a Samba share if the tag contains ":" it fails. Does anyone have a hook example for a regexp that replaces ":" with "-"?

Re: I've written a MOVE TO MUSIC LIBRARY script..

Posted: December 9th, 2011, 1:28 am
by Mar2zz
it needs quotes. Think you forgot them somewhere in your script. Post your scriptcontent if you can't fix it yourself.

Re: I've written a MOVE TO MUSIC LIBRARY script..

Posted: December 9th, 2011, 7:02 am
by jgourd
I got it fixed. I made a bunch of changes to the .arename.hooks file to remove all illegal path chars for all the File systems these might find themselves living in.

Re: I've written a MOVE TO MUSIC LIBRARY script..

Posted: December 9th, 2011, 10:54 am
by Mar2zz
lol I was totally unaware this was about arename, had to reread page 1 :)

I am using Beets for some time now and like it a lot. More info: http://beets.radbox.org/

Re: I've written a MOVE TO MUSIC LIBRARY script..

Posted: December 9th, 2011, 11:24 am
by jgourd
Oh great after a whole night trying to get it working you show me something better. LOL.

Re: I've written a MOVE TO MUSIC LIBRARY script..

Posted: December 9th, 2011, 12:47 pm
by Mar2zz
Hope you learned a lot from it, I mostly learn most when trying (and failing a lot)...

Re: I've written a MOVE TO MUSIC LIBRARY script..

Posted: September 18th, 2013, 9:47 am
by hewligun
Is there any sort of script like this that will work for windows? I would like after something completes to auto run a post process script to rename as

drive:\Artist - Album\

And make each track be.. would be nice to also grab the folder.jpg online but not necessary.

01 - artist - track.mp3
02 - artist - track.mp3