![]() |
78 mp3s - renaming help? Any scripts other than for FM Pro? - Printable Version +- MacResource (https://forums.macresource.com) +-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1) +--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3) +--- Thread: 78 mp3s - renaming help? Any scripts other than for FM Pro? (/showthread.php?tid=62659) |
78 mp3s - renaming help? Any scripts other than for FM Pro? - john dough - 09-22-2008 I have tried using the script fro FM Pro (from Joey Cupcakes) and it came with an error: "Data is being accessed by another user, script or transaction" Sharing is off, there is only one user account on this computer, iTunes is the only program open and I even unplugged my ethernet cables. Anyone else seeing this error with FM 9? Is there a workaround? Re: 78 mp3s - renaming help? Any scripts other than for FM Pro? - MacMagus - 09-22-2008 Did ANY of you try MP3 Rage or Media Rage? Re: 78 mp3s - renaming help? Any scripts other than for FM Pro? - john dough - 09-23-2008 MacMagus wrote: Ok, I have downloaded MP3 Rage (15 day demo) and am ready to convert 3400 + songs. How is this done in MP3 Rage? I have played around with some of the settings and have not had success... Re: 78 mp3s - renaming help? Any scripts other than for FM Pro? - Harbourmaster - 09-23-2008 MacMagus wrote: Did you??? Have you even downloaded one of the files in question to see what the data looks like???? Re: 78 mp3s - renaming help? Any scripts other than for FM Pro? - Marc Anthony - 09-23-2008 I've written this, but I haven't had the time (or the MP3 source files) to test. You'll need to place the MP3 files in their own playlist, and I recommend creating a new playlist with only a few songs, as an initial test run. --"78 MP3 Nameizer" --© 2008, Marc Anthony. All rights reserved. set AppleScript's text item delimiters to "_" tell application "iTunes" set theTarget to (choose from list playlists's name as list with prompt ¬ "Locate " & "\"" & "78 MP3's" & "\"" & " playlist.") as string repeat with X in playlist theTarget's tracks set theText to X's name try set X's {name, artist, comment} to ¬ theText's {text item 1, text item 2, text item 3} end try end repeat end tell set AppleScript's text item delimiters to "" __________________________________________________________________________________ Re: 78 mp3s - renaming help? Any scripts other than for FM Pro? - Marc Anthony - 09-23-2008 The smilie is supposed to be a close parenthesis. Stupid forum. Re: 78 mp3s - renaming help? Any scripts other than for FM Pro? - MacMagus - 09-23-2008 > How is this done in MP3 Rage? It's easier to do than to describe how it's done... Use the "Convert Names to Tags" tool. Drag the folder onto the part of the window that says One way that it can rename files is via folder-hierarchy from the path to the file. You probably don't want that, so change the folder-popups so they all say "skip." Then go to the regular expressions part of the window. Let's suppose that an example file was named "THELADYISATRAMP_HenryKing_DECCA_1404A.mp3" ... and let's further suppose that you want to pull the title and artist info from it. I'll give you the search: (.+)\s*_(.+)\s*_(.+)\s*_(.+) Then change the "replace expression" field to reflect that you want to use the first and second strings pulled from the search to title and artist, respectively. That looks like this: %t=1 %a=2 Make a copy of a few files into a new folder and try it. Re: 78 mp3s - renaming help? Any scripts other than for FM Pro? - Joey Cupcakes - 09-23-2008 MacMagus wrote: I only have an older version of MP3 Rage. Didn't know the newer one had that calculation ability. I'll check it out. Re: 78 mp3s - renaming help? Any scripts other than for FM Pro? - Joey Cupcakes - 09-23-2008 john dough wrote: I did see this error using FM7 or greater. I'm trying to find out at what point in the script it's happening and I'll let you know when I do. If I knew how to do text calculations within Applescript I wouldn't need to rely on Filemaker, whose scripting capabilities are very powerful. I though I could do it in Excel, but I'm not as familiar with it's Applescript capabilities. I'll work on it tomorrow and let you know... Re: 78 mp3s - renaming help? Any scripts other than for FM Pro? - MacMagus - 09-23-2008 > Said it before, I'll say it again Say it all you want. I've addressed the question in detail already. |