Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-15 Thread Daverz
Don't forget to munge the album name so it's an acceptable directory name. Here's some code for that: Code: TRANSLATE_TABLE = string.maketrans(' /*:', '__+-') DELETE_TABLE = ''.join(chr(i) for i in range(32)) + '\'"?' def munge(s): return s.translate(TRANSLATE_

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-13 Thread audiomuze
Daverz;484530 Wrote: > If you actually run this on your actual flac directory, I am not > responsible for the results! ;)Thx Daverz, I'm going to mod it slightly and > give it a go - you've saved me the trouble and it's appreciated :) -- audiomuze -

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-12 Thread Daverz
audiomuze;483615 Wrote: > Does anyone perhaps have a script (bash, perl, python or whatever) or > other tool that can do or be modified to do the following: > - traverse a directory tree > - for each folder pick any flac file in the folder > - get the Artist and Album name > - compare the directo

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-11 Thread audiomuze
jku;484054 Wrote: > I think EasyTag has a file/directory rename feature that can use tags... > I'd advice a backup before trying though, whatever software you use.That may > just do the trick, I'll give it a go. thx. jku;484054 Wrote: > Perfectionism is a disease when you work with computers,

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-11 Thread audiomuze
atrocity;483964 Wrote: > rsync should do this for you. You point it to the source and the backup > and directories/files will automatically be added to or deleted from the > backup as dictated by what it finds in the source. ROBOCOPY does the > same thing for Windows users. That'd work if the

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-11 Thread jku
I think EasyTag has a file/directory rename feature that can use tags... I'd advice a backup before trying though, whatever software you use. audiomuze;483764 Wrote: > The perfectionist in me also wants to see data consistently represented. Perfectionism is a disease when you work with computer

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-10 Thread Jeff
On 10 Nov 2009 at 9:14, audiomuze wrote: > The part I've not dealt with is ensuring that all folders are > consistently named eg at one point I had the habit of filing albums as > Artist - Album (year). Whilst it doesn't impact my ability to play > the music it does mean I end up duplicating back

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-10 Thread audiomuze
SuperQ;483755 Wrote: > I use picard music tagger to find all the files and do the > tagging/renaming. Works well.I'm happy with how my files are tagged - that's > been a painstaking task over many years. The part I've not dealt with is ensuring that all folders are consistently named eg at one

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-10 Thread SuperQ
I use picard music tagger to find all the files and do the tagging/renaming. Works well. -- SuperQ SuperQ's Profile: http://forums.slimdevices.com/member.php?userid=2139 View this thread: http://forums.slimdevices.com/sho

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-10 Thread MrC
audiomuze;483698 Wrote: > Thanks for the suggestion, however, I don't own any instances or > Windows, and I'm guessing it won't respect case sensitivity either - > otherwise mp3tag would also fit the bill nicely? If there's nothing > else out there I can give it a spin, but I'd much rather go wi

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-10 Thread aubuti
audiomuze;483724 Wrote: > I'm already using mp3tag under Wine ;) - it's my tag editor of choice, > but doesn't respect case sensitivity under Linux, so it generates error > messages if trying to rename "Or" to "or" as it can't see the > difference. That's a shame, but in retrospect, it should hav

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-10 Thread audiomuze
aubuti;483710 Wrote: > MP3tag runs well under Wine. I'm not 100% certain that it will respect > case sensitivity, but it seems worth the few minutes it takes to > download and install to test it on a couple albums. I'm already using mp3tag > under Wine ;) - it's my tag editor of choice, but doe

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-10 Thread aubuti
MP3tag runs well under Wine. I'm not 100% certain that it will respect case sensitivity, but it seems worth the few minutes it takes to download and install to test it on a couple albums. One thing I noticed about your approach is that you seem to assume that your Artist and Album tags are identi

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-10 Thread audiomuze
MrC;483623 Wrote: > Try the free Media Jukebox by J. RiverThanks for the suggestion, however, I > don't own any instances or Windows, and I'm guessing it won't respect case sensitivity either - otherwise mp3tag would also fit the bill nicely? If there's nothing else out there I can give it a sp

Re: [SlimDevices: Unix] Script/ app to rename folders, please...

2009-11-09 Thread MrC
This is the type of stuff that is pretty trivial in a smart DB-driven media management program. I'm not sure of the complete list of apps that provide this, but certainly one that several of us forum members use does the trick. Try the free Media Jukebox by J. River. Use the Library Tools->Rena