An idea to edit my MP3s...  Need some guidance

I know I know and I already searched the topic extensively... But maybe I'm googling the wrong stuff. Anywho, here we go.
I want to create a small app (no gui) that runs through my MP3 directory and takes each file name (i.e. artist name - song title.mp3) and sets the "ARTIST" and "SONG TITLE" id3 tags according to the filename and clear out any of the other fields. I just hate having all my songs on my MP3 player not displaying correctly. I have too many to do it individually so I figured I could wing it myself.
Here's my plan...
- App will cycle through a specified directory.
- It will grab each file (only MP3s are in there, no need for specification) and tokenize the filename. I've done tokenizing before and that shouldn't be a problem.
- Based on the tokenizing take what is before the - (dash) and put that in the "ARTIST" field in the id3 tag. Then what is after the - (dash) put in the "SONG TITLE" field in the id3 tag. Naturally I will cut off the .mp3 extension.
So really I need to know how to do 2 things and I searched for the first one. I need to learn how to cycle through a directory and grab each file and handle it somehow. I can probably manage that, but cycling is the problem. I googled this and came up short handed.
The second thing is I need to know how to edit and alter the id3 tags in an MP3. I'm sure I can figure this out eventually. Since its much later in my application I haven't yet looked around yet on this. I'm not asking for help on this but if you know of a valuable resource for some references on how to tackle this please inform me.
Any guidance?

To get the file names, look into the methods of the File class. Some provide arrays as output.
To split/parse the file names, use methods from the String class.
This site has numerous examples, some probably apply:
http://javaalmanac.com/

Similar Messages

  • New to Mac and to video editing...need some guidance, please

    I've decided to make the switch and ordered a new 3Ghz 24" iMac. I chose a 1TB HD and 4G of RAM.
    I want to do some photo and video editing (nothing professional, simply vacation photos and video). I'll be purchasing an HD camcorder later this year to replace my current one (non-HD). I currently have about 5000 photos and about 50 hours of unedited DV on DV tapes to begin to work with.
    Any suggestions on the following would be much appreciated:
    1. Back-up: Should I use a 1GB Time Capsule or a 1 GB GTECH drive with Time Machine? I should mention that I plan on purchasing a MB or MBP later this year. Can I use a GTech HD as a NAS-like drive for both the iMac and the notebook?
    2. Should I partition the internal HD?
    3. Should I use a 'scratch disk' for video editing? If so, any suggestions for a particular size or model?
    4. Any suggestions for ease of transfer of my data from my PC (photos, iTunes library, mail, IE favorites, etc.)?
    5. Anything else you would suggest for a new Mac user?
    Thanks very much for the help!!!

    Hi there.
    First, a couple of websites to help you on your way (and Welcome to the Mac!)
    http://www.apple.com/support/mac101/
    And also
    http://www.apple.com/support/leopard/
    Now, as for your questions, these are just IMHO:
    Backup - get BOTH the capsule and a separate HD. If you can only get one, personally I would get the non-TB disk so that I can drag the video files that I want onto it. the Capsule might backup other stuff (and slowly compared to the straight drive; get a FW 800 drive if you can, if not then FW 400 at least). I also think you meant TB not GB! Just make sure the DISK is from a good vendor (Seagate, Hitachi or Western Digital).
    Partition - Nope; wastes space; you need contiguous space from my experience. Only do that if you really need to run Windows via Boot Camp (not recommended to run Windows at all!)
    Scratch disk is absolutely recommended. Get the largest size one you can afford and separate out this from your backup disk. (Worst case, use a bit of the scratch disk as your backup, but also keep the same work files on your main hard disk so you at least have a physical duplicate somewhere). Yup, hard disks are gonna add up!
    The above websites have some tips on transferring content from PCs; generally you can just burn stuff onto DVD and import them onto the Mac. That's pretty straight forward.
    Suggestions IMHO - forget the Mighty Mouse and get another quality two button mouse. Also consider a Kensington Trackball. Get AppleCare warranty for all your hardware (for peace of mind). Triple check that your camcorder will be supported by iMovie '08. It might not be by Final Cut but at least you can get the files from iMovie into Final Cut. But Final Cut does support quite a lot of them already.
    Introduce 10 other Windows people to the Mac. (This is what we do).
    Cheers!

  • I am lost and need some guidance

    Please bear with me for being so explicit on my posting, but I don't have a simpler way. But need some ideas to create a simple, safe workflow that includes back up.
    I only use my Int HD (350GB), to install and run Apps; otherwise, I use Ext HDs. I have approximate 150GB of images, and another 50 GB of misc. files.
    I have the following Ext HD:
    1- 2 TB FW/USB -got a great deal brand new
    2- 1 TB FW/USB already in use. I have 1 Partition (250 GB) while I was using Tiger
    I used it to create a Boot up Dr, backing up Apps. But no longer use it.
    I have been having some difficulty with this drive; sometimes it doesn't get recognized or stays on. I will be replacing the electric power cord, and all cables.
    I am not sure if I should invest the time to re-format the entire drive and eliminate the Partition or just leave untouched.
    3- 500 GB USB - secondary copy (non-RAI)
    4- 350 GB USB - third copy (off site)
    I am trying to decide how to use these drives, and hopefully, without the need to re-formatting them, but who knows. In addition, I would like to take advantage of TM for my back up.
    5 Which DR should I set up as my destination DR for TM?
    If I use the 2 TB is it better to set as RAID 0,better performance but if one drive fails, I'd be SOL, right?
    On the other hand RAID 1, the redundancy factor would increase overhead. Any suggestion.
    I also use Lightroom and would like to know how I should set it up to back up LR (non-image).
    And lastly, about TM can I be select a specific source files for back ups? And can I back up different source Drives?
    Is there a way that I could prevent TM not to back up Cache, because it will increase the overhead
    Again, any suggestion would be appreciated

    crossover wrote:
    I called Applecare yesterday and told me that TM only works with the Internal HD, no other DR, not sure about that. I usually get better answers here than wasting my time calling them, go figure.
    That's just plain wrong. Some of them don't seem to know much about Time Machine except the basics (and, to be fair, most Mac users don't have data on external drives, so it likely doesn't come up much). But yes, TM will back-up any internal or directly-attached external USB or F/W drive/partition, as long as it's formatted Mac OS Extended. In fact, in most cases it will do that by default -- if you don't want something backed-up, you have to specifically exclude it.
    I have never tried TM and not sure if that would be a good workflow or just use other Apps like the one you mentioned
    There are advantages and disadvantages to TM, as with any other app. One of the main advantages of TM is the very fast, hourly, incremental backups of additions and changes. This gives you an excellent chance of recovering a previous version of something that was changed or deleted in error (such as "Save" instead of "Save as"), or somehow corrupted.
    And there really isn't any workflow, once it's set up (which is also quite easy). TM just does it's thing.
    First it does a full backup of everything on your system (less some caches, system workfiles, logs, trash, etc.). That, of course, is a lengthy process.
    Thereafter, it will do an incremental backup hourly, as long as your Mac is awake and the external drive is attached.
    It automatically "thins" your backups, including when the TM drive/partition gets near full, deleting the oldest backups to make room for new ones.

  • How do you access your .mac email from a PC? We migrated to icloud and need some guidance. Thanks.

    We migrated our .mac email to icloud and need some help in accessing our email from a PC.  Many thanks!

    iCloud account not necessarily needs to be an Apple ID. Make sure, if you have both, to you enter the correct one.

  • Project idea, need some guidance!

    As discussed in the final part of this thread, I have an idea for a new editable, searchable and downloadable medical wikipedia, as commercial programs available for browsing diseases and medication are non-flexible and insufficient. Linux support is horrible for most palm applications, but pda has a huge potential in medicine, I mean, who can put 10 textbooks in their lab coat when on call?
    The problem is, I don't know how to go about this project myself, as I lack programming skills. After some helpful tips by Xyne (who has been thinking along the same lines as well), I have worked through a few tutorials on XML, HTML and XSLT, but I have started to think that it is not very likely that I will be able to do all of this myself, and have it work great.
    So I am basically wondering how to go about it to ensure two things: 1. create such a wiki + client to read files on linux (and eventually e.g google android) 2: be on the credit list in the GPL. How do I get ppl who are willing to work on such a project, what kinda ppl do I need, how should information between server and client be exchanged, what should the clients look like, what file formats should be saved on your own computer, what programming language should be used/ which one should I start learning, etc.
    Last edited by Reploid (2008-10-25 11:57:04)

    skymt wrote:
    catwell wrote:It wouldn't be easy to download something based on MediaWiki. Something like tiddlywiki could maybe do the trick, but I'm not sure whether it would scale up. You could still take a look at it...
    MediaWiki supports exporting a wiki to a special XML format. Here's the game plan I'd recommend:
    1. Put up a simple MediaWiki wiki and try to fill it. Keep in mind the first and second rules of wikis: the more users you have, the more useful your wiki will be, and the more useful your wiki is, the more users you will have. That means you'll be doing a lot of the work at first.
    2. Once you reach critical mass and have something genuinely useful with a significant user base, ask for help from programmers to build a PDA-based client.
    3. Write (or have your programmers write) a program on the server that dumps the entire database to an SQLite db (possibly going through MediaWiki's XML-based export, or possibly going directly from MySQL). That's your data file. Put it up on an easy-to-find page in the wiki.
    4. Write (or have your programmers write) a PDA-based program to browse the data file.
    1. I hadn't heard about MediaWiki before, I am a n00b.
    2. If I can download xml from the Media Wiki, would make any sense to create yet another wiki, instead of just create a program to act on the data from the downloaded Wikipedia-XMLs, or from Ask Dr Wiki, as that wiki also uses MediaWiki. Why not start creating an application that can group information from the downloaded XMLs right away?
    EDIT: Overlooked some information. Classic much-new-info-at-once-problem
    Last edited by Reploid (2008-10-25 15:49:40)

  • In a bit of a pickle and I need some guidance...

    I'm what you call a "Jack of all trades, Master of none". I've dabled in technology since I was a kid, but have never taken any formal classes or had any training on anything. I learned how to use Photoshop, Fireworks and Dreamweaver on my own over the years. Pretty much one of those trial and error kind of guy, but it has opened up many opportunities for me.
    Well, the company I work for recently decided to do some advertising at a local horse race track. One of the ways we'll be advertising our business there is on a 20 ft. tall by 40 ft. long billboard. Knowing that I've done some print advertising for them in the past, they asked me if I could come up with something to have printed to put on the billboard and of course I took on the challenge.
    I already have the perfect idea in mind for the billboard and all I need to do is implement it. The only problem I have is that I've never had to make something for that big of print. So my question is, should I be using InDesign CS6 for this, or is this something I should use Photoshop CS6 for?
    If someone could point me in the right direction I would really appreciated. The worst part is that I need to have this done ASAP as the racing season starts on Monday.
    Any help will be greatly appreciated.
    Thank you,
    Roberto

    You will absolutely want to contact the billboard company to find out the technical specifications. After having worked at an outdoor advertising company, I can share a few tips with you.... Scale is a tough question to answer because some companies use a 1 ft = 1 in. scale and others have a different scaling method. Some will provide templates either in PDF format or in all of the programs they work with. Try checking the printer's website, if there's no info, you'll want to get in touch by phone - which is usually a good idea the first time you work with a printer anyway.
    Most companies will accept all the major file types: PDF, EPS & JPG included, but you want to make sure before you get too far into the project. Sounds like you have an idea in mind, so what I really wanted to mention to you was that billboards are unique design-wise. You'll want to keep in mind that you only have about five seconds to get your message across and it needs to very legible. If the sign is lit, then you want to make sure to use a color combo that will work well both day and night, and in different lighting conditions in between. Certain color combinations work better than others as do some fonts. As Peter mentioned, billboards are sometimes produced in panels. You will want to know whether the billboard you are designing for is going to be produced in panels or in one vinyl sheet. Back at the company I worked for (keep in mind this was quite a few years back), the cost of the billboard was affected by how many colors were used in each panel of the billboard, so this may be a good question to check on as well.
    For some good tips on design and to get an idea of the types of specifications you'll be dealing with (but again, be sure to ask YOUR printer for their specs), take a look at these two links from Lamar Graphics. I don't have any connection with the company, but they are all over the U.S. so they are a good starting reference point.
    http://www.lamaroutdoor.com/
    Go to Creative Lab->Everyone is an Artist for some great hints about colors, graphics and fonts to use in billboard design.
    For some examples of technical specifications, look at this part of their website:
    http://www.lamargraphics.com/lgweb/LG2k8/LG2k8-Plants.aspx

  • Getting ready for a video capture project, need some guidance

    Hi, I'm getting ready to hold an xbox LAN tournament and I would like to capture the game to my computer so I can give people DVDs of it afterwards. The G5 i my first tower and I've had no experience in PCI cards and capturing A/V and all that jazz.
    Basically I'm going to be having an input of component cables (though its only going to be 480p, no HD) and possibly optical audio, though more likely analog because I'm going to try to borrow a mixer and run everyone's headsets into the G5.
    What am I going to need as far as a video capture card? Will it work in the PCI-X slot or am I going to have to swap it with my 9650 XT?
    Also, I'm guessing I'm going to have to buy final cut express to do the software capturing (Seriously, if you couldn't tell already, I really have no idea what I'm doing )
    I'm willing to buy the hardware and software required and get some books to figure out the process, but if anyone could point me in the right direction, that would be awesome.
    Thanks a bunch,
    Sean

    I use a Canopus DV converter to capture analog video/audio to my computer. I've got the ADVC-100 which has been updated to ADVC-110 and costs about $250. It connects via firewire and works like a charm. I capture using iMovie HD which more than meets my needs for now. I burn dvd's using iDVD which also meets my current needs. My setup is audio-video source, usually a vcr, to the ADVC-100, to the G5 via firewire. Make sure you've got plenty of dick space available to capture. I use aa 320 gb external SATA RAID set. It's really an easy setup and capturing and buring using Apple's software is a snap. Not a steep learning curve. I would suggest if your going to use more advanced software to get a few projects under your belt before the tournament, if you're going to use the iApps you'll find them much easier to learn and will be up and running sooner.

  • Need some guidance, advice on AS for a video menu im designing

    Hi all,
    I consider myself a well versed professional in terms of design layout in Photoshop, to Iillustrator, and InDesign.  I have  just begun to pick up Flash cs3 and have had no problem laying out elements and so on.  I understand the timeline, since I do allot of video editingfrom FinalCut to AfterEffects.  However what is new and alien to me is ActionScripting I don't know what is best 2.0 or 3.0.  I have tried some tutorials in drop menus and so on.  yet I'm having issues across the board as to what process to build this video menu page.   (see photo below)
    The function of this menu is that you roll over a green title and a menu drops along side of it, then you roll your mouse courser over the sub menu and click on a sub menu title and a video starts.  I believe the functions to be easy and straight forward.  yet action script puzzles me.  is there a site for beginners or tutorials in just menus like this i could copy and use while i pick up action script whatever. or if anyone has simple code ideas to put or drop in said Key Frames or Layers (see photo below)
    any help guidance would be soooo appreciated.
    thanks
    Rastenis
    Set,Illustration, Graphic Designer

    there are lots of flash tutorials.  use google to search.
    however, if you're not, at least aquainted with some oop language, you're in for a steep learning curve trying to create a dropdown menu using actionscript.
    if you don't need any of the as3 features, use as2.  it's easier to learn.  although, if you plan to do more flash, you might want to skip as2 and learn as3.
    for your tutorial use:  flash as2 dropdown menu tutorial

  • GP and WD with Adobe Interactive form question - need some guidance.

    Hello experts,
    FYI, I'm running ECC 5.0 Support Stack 9, EP 7.0 SPS 11, NWDS 2.0.9_15 with Adobe Livecyle Designer.
    I am slightly stuck with what I'm trying to do. I have created a web dynpro application that has an Adobe interactive form. I'm trying to use guided procedures to initiate a process so that this interactive form can be filled out and submitted to an approver. I need the relevant parties to receive a notification email. I have setup email templates and services, I just need to know how it will fit into the process. Once approved in the process, a BAPI should be invoked to populate some fields in the form. Should I be creating the Web Dynpro application to invoke the bapi or should a guided procedure callable object invoke the bapi? I know how to do these things, but I dont know which method I should use, in order to correctly have this process flow from point A - point B. Should the process appear in the Universal Worklist? If not, why not? Will it only appear in the GP runtime? I have pretty much read thru most of the tutorials but still cannot get this GP stuff to work as a WHOLE process.
    Any guidance, suggestions, possible solutions will be greatly appreciated.
    Thanks
    Kunal.

    Hi,
    It seems you have not activated the Composite Form object. Only after activation you will be able to use it to create a Callable Object of type composite form.
    Hope this helps,
    Ashutosh

  • First time using iDVD for slideshow, need some guidance

    I want to make a dvd that consists of 3-6 slideshows, plus "extras". Each slideshow will have 50-150 photos, but the "extras" section I want to have all the photos (including some not used in the slideshows) for a total of about 1300 photos.
    1. How do I get the photos not used in the slideshow in the "extras" section?
    2. Can I put anything in the "drop zones"? or does everything just go in the "slideshow" section?
    This is the first time I have ever used iDVD and could use any help or suggestions at all.....
    thanks

    Don't use over 99 images in a slideshow. You may have trouble:
    http://docs.info.apple.com/article.html?artnum=302961
    1. Just create a new extras slideshow menu from the main menu by using the + button and select Add Submenu. Then go there and add slideshows the same way, only select Add Slideshow and then drag your images in; or use the Import funtion.
    2. Drop Zones are for single images/movies.
    I think you need to spend some time learning how to do this, rather than guessing.
    iDVD 6 Getting Started PDF download
    Apple's iMovie Learning Site
    Apple's iDVD Learning Site
    iLife ’06 Multimedia Tutorials
    General Learning Center
    Ken Stone: Authoring in iDVD 6
    My favorite, by far:
    iMovie HD & iDVD 6: The Missing Manual
    You can download Chapter four: Camcorder Meets Mac.
    iPhoto 6: The Missing Manual

  • Need some guidance on JScrollPane resizing

    Right now I have a JScrollPane that is populated with some JPanels. At a certain size, the vertical scroll bar shows up but covers part of the fields that populate it. I am looking to re-size the scroll pane contents to accommodate the vert. scroll bar AND fully show the labels, but I am not seeing exactly how to do this.
    Can someone please point me in the right direction?

    Check out the [url http://www.camick.com/java/blog.html?name=scrollable-panel]Scrollable Panel. The scrollable width hint of fit/stretch might be what you need.

  • XML Parsing. Just need some guidance.

    Hi,
    This is my project. I need to be able to read in XML code in my java program and then do necessary tasks such as updating my oracle database with the values. I heard and looked at the java API for that but Im not so sure xml parsing is the correct words that I should be using. Does anyone know of a way to do this or at least somewhere that I could go look for an example.
    Thanks in advance.

    Hi!
    What you are looking for is either SAX (Simple API for XML) or DOM (Document Object Model).
    Look here for a SAX-Tutorial:
    http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/sax/
    There are also several dom-tuts to find in the internet.
    Good luck!

  • Need some guidance for ABAP Routine in BI/BW

    hi
             this is ramireddy please send me  ABAP Routine in BI/BW. please send me routines docoumentes in my mail.
                         my mail is: [email protected]

    What do you need the routine to do?  There are numerous places to write routines.  Routines can be really complex to simplistic.  Object Routines, Start routines(if in 7.0 end routines) function modules, programs, includes

  • Hyperlinks in SWF. Need some guidance, InDesign help's suggestions didn't work.

    I have a file, which I have uploaded to dropbox. I want that file to open from dropbox when clicked on the hyperlink. The link doesn't work neither through hyperlink nor button action.
    Also, I want another hyperlink to direct people to a blog, but as I said, non of the hyperlinks work.
    How do I make them work or what other ways is there to overcome this problem smoothly?
    The hyperlinks work just fine in swf preview mode.

    Same question by same person: What do you want to hear differently? You did get some suggestion in your last post over the same exact question?
    Oracle Cooperate Trainer Career as Oracle DBA

  • Small network, two VLANs, need some guidance

    Hello. Big-time newbie here. I have a Cisco 2801 router and a few Cisco SG200-26 switches. I need to configure two VLANs: vlan10 for public wifi access and vlan20 for private staff use. I have fa0/0 configured with IP 192.168.1.2/24. This interface will be connected to an AT&T DSL gateway for Internet service. I have fa0/1 configured with IP 172.16.1.1/16. The goal is to provide Internet access to both VLANs, but no routing between VLANs. I am also enabling a DHCP pool of 172.16.10.0/22 intended for use on vlan10 (public wifi access) and another DHCP pool of 172.16.20.0/24 for vlan20 (private staff). I assume fa0/1 has to be configured for dot1q trunking and connected to a switch port also configured for trunking, yes? I also have WAPs that will need to serve up both VLANs. The WAPs I have are 121 and 2600 series. I assume I will be creating two SSIDs - one for each VLAN, yes?
    I am looking to keep this as simple as possible.
    What else do I need to consider? thank you in advance for your guidance.

    thanks for ur valuable reply.
    u r right that whenever we create a new db, oracle always assigns a new dbid. which will be different from the id of backupset db.
    kindly explain me steps to perform, whether it is duplicate db case or standby.
    how rman will recoganize the backupset.

Maybe you are looking for