Edit custom genre problem[Java]

I am trying to edit the custom genre of mp3 files like "Welcome" using mp3agic library but it is not working.
https://github.com/mpatric/mp3agic
Mp3Filemp3file=newMp3File("SomeMp3File.mp3");
if (mp3file.hasId3v2Tag()) {
  ID3v2 id3v2Tag = mp3file.getId3v2Tag();
  System.out.println("Track: " + id3v2Tag.getTrack());
  System.out.println("Artist: " + id3v2Tag.getArtist());
  System.out.println("Title: " + id3v2Tag.getTitle());
  System.out.println("Album: " + id3v2Tag.getAlbum());
  System.out.println("Year: " + id3v2Tag.getYear());
  System.out.println("Genre: " + id3v2Tag.getGenre() + " (" + id3v2Tag.getGenreDescription() + ")");
  System.out.println("Comment: " + id3v2Tag.getComment());
  System.out.println("Composer: " + id3v2Tag.getComposer());
  System.out.println("Publisher: " + id3v2Tag.getPublisher());
  System.out.println("Original artist: " + id3v2Tag.getOriginalArtist());
  System.out.println("Album artist: " + id3v2Tag.getAlbumArtist());
  System.out.println("Copyright: " + id3v2Tag.getCopyright());
  System.out.println("URL: " + id3v2Tag.getUrl());
  System.out.println("Encoder: " + id3v2Tag.getEncoder());
  byte[] albumImageData = id3v2Tag.getAlbumImage();
  if (albumImageData != null) {
   System.out.println("Have album image data, length: " + albumImageData.length + " bytes");
   System.out.println("Album image mime type: " + id3v2Tag.getAlbumImageMimeType());
I can edit album, artist,track, etc but cannot add custom genre. How can i do that?
Thanks

ad0bc99c-21b5-425e-a562-edddc95593f5 wrote:
I have searched a lot on internet but cannot find any api to do this. Can somebody suggest my one ?
You are still free to pull the code of the API you already found and add support for changing the particular property you are missing yourself. Be part of the solution, so to say.
Is this for your own MP3 collection? There are plenty of readily available free tools that can already do this job.

Similar Messages

  • Problem to edit Custom section for Italian users

    Hi,
    In our system we have some users are set Italian as UI language in their profile.
    These users aren't able to edit custom sections when these Custom Sections are on a GSM spec.
    But the same users are able to edit the CS after I change UI Language in English.
    If you need further explanation please let me know.
    Thanks and regards.
    Stefano

    Sorry Ron,
    I’ll try to better explain.
    Unfortunately I don't use SLE.
    With the same user:
    1 - I open a GSM spec
    2 - I click on Extended attribute Tab
    UI English: Internet Explorer opens properly the page
    UI Italian: Internet Explorer shows me "error on page" (at the bottom left corner) but opens the page anyway.
    3 - I add a Custom Section (System works both in English and in Italian)
    the issue comes when I try to edit section:
    - UI English = "Edit Section" >> the system works properly
    - UI Italian = "Modifica Sezione" >> the system doesn't works and shows me "error on page" (at the bottom left corner).
    If you need further information please let me know.
    Thanks and regards.
    Stefano

  • I want to create an 'editable' custom stamp.

    I want to create an editable custom stamp.
    I can scan in my stamp image in the create custom stamp tool, no problem.
    But I would like to make several editable fields: date, reviewer's initials, submittal number.
    Anyone know how to?
    Thanks

    You not only need to create a custom stamp, but you need to add dymanic form fields. See AUC Tutorials - Dynamic Stamps for more information.

  • Customized KeyboardFocusManager problems with JOptionPane-Dialogs

    Hi,
    I have a problem I'm not able to solve: With Java 1.4.2 unter Linux, as well as all newer Java Versions (1.4, 1.5, 1.6) under Windows, dialogs created by JOptionPane.showXXXDialog do not react to keyboard events like <Tab> any more when using a customized KeyboardFocusManager. Java 1.5 and 1.6 under Linux work fine.
    Here is what I did:
    I have a JFrame and want some customized focus control when navigating through the Frame with <Tab>. Therefore I've implemented a class
    public class EfaFrameFocusManager extends DefaultKeyboardFocusManagereand said in the main JFrame:
    EfaFrameFocusManager myFocusManager = new EfaFrameFocusManager(this,FocusManager.getCurrentKeyboardFocusManager());
    FocusManager.setCurrentKeyboardFocusManager(myFocusManager);The constructor of my EfaFrameFocusManager stores the JFrame (this) and the original KeyboardFocusManager (2nd arg) for later use. Within my own FocusManager, I've implemented the method
    public void processKeyEvent(Component cur, KeyEvent e)which is checking whether the desired Frame (efaFrame) is currently active or not. If it is active, it's performing my customized operations which is working well. If it is not active (e.g. because a dialog created with JOptionPane.showConfirmDialog() is open), it should perform default actions. So I said within processKeyEvent:
    if (!efaFrame.isActive()) { // efaFrame is the previous "this" arg
      fm.processKeyEvent(cur,e); // fm is the previously stored CurrentKeyboardFocusManager
      return;
    }Instead of invoking processKeyEvent on the original KeyboardFocusManager fm, I also tried super.processKeyEvent(cur,e);, but without any change in behavior.
    As I said before, this is working well under Java 1.5 and 1.6 with Linux.
    However, it is not working unter Windows (any Java version I tried, including 1.4, 1.5 and 1.6) and also not unter Linux with Java 1.4. With these combinations, dialogs created by JOptionPane.showXXXDialog(...) do not respond to the <Tab> key. I do see that my own FocusManagers processKeyEvent method is invoked, and I also see that it invokes the one of the original FocusManager, but the Dialog doesn't react.
    What am I doing wrong?
    Nick.

    I have a JFrame and want some customized focus control when navigating
    through the Frame with <Tab>. sounds like you should be doing this via a FocusTraversalPolicy
    http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html#customFocusTraversal

  • I use a lot of custom genres for sorting.  iTunes has recently been changing the genres of 200  songs back to their default every time I update.  How can I lock in my custom genres?

    How do I lock in custom genres so iTunes doesn't change them?

    The most likely cause is that affected songs are iTunes Store purchases (or are being matched to the Store).  To prevent the Store metadata over-riding yours, set the following options to OFF in Edit > Preferences > Store:
    Show iTunes in the Cloud Purchases
    Share details of your library with Apple
    Exit iTunes, when you start it again you should see your metadata selections and these should now be stable.  Also, if you have any iOS devices select Settings > Music and turn the Show All Music option OFF.  This should maintain your genre selections as well as any other changes you make to Artist, Album Artist, Album settings, etc.

  • Customer Service Problems

    After fighting with Verizon customer service over two service issues without any possibility of resolution I am canceling my account. 
    I’m doing this reluctantly because as a long-term shareholder of Verizon I would like to see the company succeed and keep profitable.  Yet I am appalled by the cavalier, disrespectful, obstructionist treatment from your staff in dealing with customer service problems.  When you were just the telephone company and operated as a monopoly in a regulated industry, you had to take customer issues seriously.   Now that you are an unregulated telecommunications giant it seems that you don’t feel the need to respond to your customers.  Someone in your company needs to hear this and put a stop to these destructive business practices. 
    In brief, the first issue involved arranging a service call for interruption of internet service.  The entire process kept me on the phone for a total of 3 hours over several days.  I have given up my land line and use a cell phone exclusively.  Verizon’s communication systems and staffing levels caused me to wait on hold for 10-15 for each person that I spoke to. Then each conversation averaged 10 minutes.   In addition, I was transferred to different departments but  I did not understand the reason for the transfers.  Then the pattern of hold-talk-transfer began again.  Several times my calls were dropped necessitating more repeats of the hold-talk-transfer pattern.  Some of your staff were South Asian and they either garbled or misunderstood English, thus prolonging the conversation beyond the average of 10 minutes.    During that time I incurred cell phone charges of $.45/ minute.   
    After the service was restored I called Verizon customer service and asked for a service credit to compensate me for those out-of-pocket expenses over and above 30 minutes which I consider to be a reasonable amount of time to arrange a service call.  They denied any responsibility for the amount of time it took to arrange the service call or the amount of time to complain about their service.  I was not happy with the outcome so I requested to speak with someone who was a decision maker and had authority to negotiate a settlement.  I also asked to have them communicate with me through email.  I was told that communicating through email was not possible.  These calls followed the same pattern of hold-talk-transfer averaging 30 minutes each.  I repeated myself to 3 or 4 people who wrote down my complaint before I got to a manager who had decision making authority.  The manager denied any responsibility for the amount of time it took to arrange the service call and would not authorize a service credit.  
    The second issue involved billing.  I signed up for auto-pay to have my monthly bill deducted directly from my bank account.  Verizon’s computer system deducted the bill twice, overdrawing my account.  I incurred a bank overcharge fee.   The same pattern of hold-talk-transfer began for this complaint as well.  The customer service staff refused to take responsibility for this error as well.  Their solution required me to spend more time and incur extra expenses.  I had to repeat myself to 3 or 4 complaint takers before I reached the same manager who denied my first request.  He denied any responsibility for this billing problem too.    I had to have my bank retrieve the money under a fraud compliant.
    Verizon is one of the largest *communications* corporations in the world.  If your internal systems can't handle customer service calls in a reasonable amount of time, then there is a problem.  If your customer service staff is unwilling to take responsibility for such inadequacies and solve the issues that emerge from them, then there is a problem.  If a customer has to contact the CEO of the company to try to resolve two service related issues, then there is a problem.  When all of those actions prove inadequate, then there is a *communications* problem.
    Customer service has flagged my account and put me down as a “problem” customer.  Instead of offering even a token settlement, they are prepared to stonewall me by maintaining that the company is just not at fault and that they tried to solve the problems but I wouldn’t cooperate or accept their solutions.   Early on in the process, if someone told me that Verizon messed up just a little, but still couldn’t compensate me, I would have accepted that, albeit reluctantly, and dropped the matter.
    This is not the way I do business and I resent it when others don’t feel the need to honor any kind of code.  I grew up working in my family’s retail liquor store.  From the time I was a kid I learned four customer service lessons that I’ve carried over into my adult life:
    Admit when you are wrong and try to make up for the mistake.
    Never argue with a customer over small things.
    Listen to the compliant and don’t just dismiss it out-of-hand
    Try to make things right even though you may not be directly responsible for problem.
    For my two problems, Verizon customer service staff didn’t even come close to following these common sense rules.   I’ve learned that if you ask their customer service people they will repeat back to you some type of business code that they say they operate under.  But their behavior tells a different story.
    Unfortunately when I spoke with {edited for privacy} of the Executive Presidential Appeals office, I was taken somewhat aback by his manner and demeanor, which was coarse and inappropriate for a customer service discussion, and which I found personally offensive.  He and members of his staff agreed to send me emails specifying which part of the Terms of Service they based their decisions on.  To date I have not received the communications they promised.
    Is this the image of your company that you want the public to see? Are you willing to just shrug off these complaints as an isolated case that is too small to concern yourself about?  I’m afraid the answer will be yes.  Not only do you feel that you are too big to fail, but you are too big to care.   Customer service means solving problems not manufacturing bad will and resentment.  
    My purpose in writing this note has been twofold: to make one last effort to solve my problem and to hope that someone will take note about the issues about customer service practices that are harmful to the company. I'd be happy to speak with someone with real authority to deal
    with my issues but have no interest in repeating my past experiences.
    It's too bad that this had to happen since the solution could have been so easy and simple.
    I plan to publish some form of this letter and distribute it to the public. 
    Solved!
    Go to Solution.

    Therefore, I request to please clear this unacceptable due balance, and contact Experian to removed and clarified the mistake in my credit report. 
    RE:  Cancellation fee charged on internet DSL service charged by mistake. {edited for privacy}
    A $65 balance remain for a cancellation fee on internet DSL service, by Verizon New York mistake.
    In February of 2010, I set up my phone and TV in a vacation plan but keep my internet service active. After a month I had a vacation plan, suddenly without notification, my internet service was suspended and a cancellation fee was issued.
    My final statement was $ 24.47. I cleared a check from Verizon.
    I contacted Verizon online to request connect my internet service and discuss the issue on the cancellation fee. The response was that I should pay the internet cancellation fee, and paid a new activation.
    After fighting with Verizon customer service over the unacceptable fee charge service issue without any possibility of resolution I cancel my home phone which was in a vacation plan. 
     Later I kept receiving the statement with this cancellation fee every month. I called and discussed the issue more than 6 times during the next 6 months, The entire process kept me on the phone for a total of 2 hours over several months. The costumer representatives responded that the issue was in an investigation.
    Later,  a Collector company start chasing me to get the $65 paid. Phone number: {edited for privacy}, Inclusive, they made an offer to reduce the amount if I accept to pay or contact Verizon to request a clarification.
    By the end of the year, I contacted Verizon costumer services one more time but the representative stated that the account is not visible anymore.
    Convinced that the problem on this account was resolved, the second week of November, I called Verizon to reestablish my account with a new home phone number and Internet DSL connection.
    The answer was that  following Verizon policy I was unable to get a new account if a balance remain.
    After I explained the events, a manager (non-identified) who spoke to me by phone told me that Verizon will investigate the issue and I should wait for approval.
    On November 16, my account was confirmed approved and clear of debt, therefore, Verizon welcome me back with Home phone and internet DSL Service and confirmation on my online registration.
    New number:{edited for privacy} ; Email:{edited for privacy}
    Also, during the months of January and February 2010, Verizon New York, made other charges mistakes in my account (See details below) that have been resolved with an apologize and a refund.
    Events that prove the lack of training and support Verizon customer and billing service have.
    Chronology of the emails exchanged between Verizon Ecenter and myself after I requested investigation with the charges.
    01/10/10   I have contacted Verizon customer support regarding of a mistake in my internet service statement.Tracking # 430824. Reference: Duplicate charges for Internet Security suites service.
    1/12/10 Verizon eCenter responded. Angela. ' Apologized for the inconvenience. 'The cancellation and credit will appear on the next bill'.
    2/08/10 Verizon eCenter responded. Cheniqua. 'I have issued a credit of $6.52 for a Verizon internet security suite charges'; your internet charges
    2/04/10 I have contacted Verizon customer support in regard of clarification in my Direct TV  statement.
    Tracking # {edited for privacy}. Reference: Balance from Direct TV due to my recently requesting vacation plan.
    2/06/10 Verizon eCenter responded (John) Verizon Bill statement: February 26 = $6,73 paid
    2/06/10 I have contacted Verizon customer support in regard of a mistake in my home phone statement.
    Reference: By mistake, international fee in my home phone (inactive line/vacation plan) was charged.
    Tracking # {edited for privacy}
    2/08/10 Verizon eCenter responded. (Linnette) 'I apologize for the error'. 
    A credit for the international plan has been applied to your account and will appear on the next statement.'
    2/08/10 Verizon eCenter responded (Cheniqua) 'The regional essential calling plan does not qualify for a discount during vacation suspension. Which prove that my home phone was in a vacation plan.
     2/15/10 I have contacted Verizon customer support in regard of a non-notified, neither requested suddenly suspension on my internet DSL service and charged a cancellation fee for this suspension.
    Tracking # {edited for privacy}
    2/16/10 Verizon eCenter responded (Michael)  I am sorry for the inconvenience you have experienced. 
    Please contact our Consumer Sales and Solutions Center directly at 1-800-Verizon or (800) 837-4966 
    Monday through Friday between 8:00 AM to 6:00 PM Local Time. 
    2/16/10 Verizon eCenter (Sue)  responded : I am sorry for the inconvenience you have experienced. 
    I understand your frustration and concern regarding canceling your internet service in error. In order to provide you with the best customer service, please contact our Consumer DSL Sales and Solutions department directly at (800) 567-6789 and a representative will be happy to assist you.
    I stand on my decision of not pay for someone else mistakes.
    Your actions have damaged my integrity as a good costumer and citizenship.
    Without doubt after this problem get clearly resolved, you will lose this good costumer, get a negative feedback and I am planning to publish this letter at every web forum available.

  • Oracle Database Express Edition 2 Day Plus Java Developer Guide??

    I posted in the JDeveloper forum, as well as sending email via your feedback link found on the tutorial but I am a little disappointed by this:
    The Oracle® Database Express Edition 2 Day Plus Java Developer Guide has some errors in it.
    in Windows, I simply chose, start
    -> programs -> Oracle Database Express Edition -> Go To Database Home Page -> click documentation from the link -> and run the Oracle® Database Express Edition 2 Day Plus Java Developer Guide tutorial.
    the problem is there are mistake(s) in the tutorial, for example: section 4-19 is this:
    "The complete code for the method should now be as follows:
    public boolean authenticateUser(String userid, String password,
    HttpSession session) throws SQLException { "
    it needs to be this:
    public boolean authenticateUser(String jdbcURL, String userid, String password,
    HttpSession session) throws SQLException {
    Also:
    there is no mention that :
    the port and SID must also be passed in the
    ds.setURL(jdbcUrl) found in the authenticateUser() method, or an exception is thrown. This differs from value of the jdbcUrl string found in the getDBConnection() , which makes it hard to figure out
    The tutorial is great even if it doesn't work out of the box, but I am disappointed that errata or completed code for this project is not available, especially when you explicitely point to it via the steps mentioned above.
    Thanks,
    Patrick

    The tutorial seems to be using the old JDeveloper 10.1.2.
    If you are aiming to learn JDeveloper then just use the tutorials linked from the JDeveloper home page.
    http://www.oracle.com/technology/obe/obe1013jdev/index.htm

  • Cannot play my custom genres like I used to, wonder what has changed?

    Bought this new ipod Touch 5 and synced with my itunes.  The songs have synced properly, but when I used the Genres option, I'm able to find the custom genres I created, but there are no songs under them?  I can access the same songs when I go through the albumns option.  Frustrating.  Anyone run into this?

    Just foundout what the problem was!  It's pretty simple, but yet cryptic that Apple does not provide proper HELP file.
    Went to Settings/Music and turned off "Group By Album Artist," and then I started seeing all of my music under the custom Genres!
    Pretty simple.  Hope this helps others who may have accidentally turned that feature on!

  • How to cleanup the "custom" genre list

    The genre custom list is very large and has many in there that I don't use or want. Is there a way to remove some of these?
    Thanks!

    I'm afraid you are misinterpreting the list. Custom is at the top and when you click on it it allows you to type in a genre of your own making. Unless you have made some custom genres all of the genres on the list you are seeing are the default ones. I have read few methods for removing entries from the list but they all involve editing preference files which I wouldn't recommend unless you are very sure of what you are doing.

  • Dynamic Layout on Edit Customer page

        Hi, I need to customize Edit Customer page so that when the value of Line Of Business is "A", some fields should hide and some others should show, and when the value of Line Of Business is "B", those hidden fields should appear and some fields should hide.
    I've seen some documentation about customization, but I couldn't do what I need so far. The documents always say to use the Oracle Composer (Administration > Customize Customers Page), then click on "Select" on the left-upper corner, then click on the desired component and "Edit Component". There, I should be able to write some groovy expression on Expression Builder to indicate whether to hide or show the component, based on another field's value.
    My problem is that the options in the menu is always inaccessible! I have a print, but I don't know if I can attach it here neiter how to attach it....
    Does anybody have any idea of how to accomplish this? Is there any other way to do this type of customization?
    Any help would be appreciated...

    In Rel8, app composer introduces dynamic layout. This feature allows an object to have many create and detail layouts.
    These layouts can be dynamically shown based on role, record type, or advanced expressions. Record type and Advanced Expression run against the record.
    Think of it as the state of the record i.e. Record Type = 'Hot' Show Layout 1, Record Type = 'Cold' Show Layout

  • Make custom Web Dynpro java iView properties

    Hi All,
    Please guide me as to creation of custom Web Dynpro java iView properties in NW 04s .
    I have already gone through the music box example but  still have doubts .
    ANy pointers?
    Regards
    Radhika Kuthiala
    Edited by: Radhika Kuthiala on Dec 13, 2011 9:49 PM

    I don't think this can be done since WDJ apps can also run standalone (not in a portal)

  • Custom Genre Not Showing Up In Apple's Music App [02/20/2015]

    Hello, I have the iPad mini 2 Model: A1489 16GB @ iOS 8.1.3
    I have made 2 custom genres that show up just fine in the Genres tab with every song belonging to these respectable genres. I also have 'Instrumental' and 'Piano' genres that I'm not sure if qualifies as custom genres, but they work well too.
    However, my latest custom genre 'A Cappella' is not showing up with the rest of the genres. The 1 album that I have for this genre shows up in the Albums tab and the songs show up in the Songs tab. The album also shows up after selecting the artist in the Artists tab, but does not show up in Genres.
    There are 2 songs in this genre, but they are my favorite and I want to be able to get to them quickly. ^.^
    The genre does show up in iTunes, Windows Media Player, and the Meta Data is all there when I look at the properties of the files. I can't seem to find out what other differences the working genres' and the non-working genre's songs have except that they have different genres.
    Every song on my Ipad has the same Artist. <<<<(If that helps....)
    Thank you for your help, whoever helps.

    This may be an issue with the ID3 tag format standards and Apple can't change those. But you can ask:
    https://www.apple.com/feedback/ipad.html

  • Custom genres not saved

    Hi,
    I decided to replace the default "Classical" Genre by something more specific in my iTunes music collection but find that the changes are not saved in the database for existing titles. A number of new entries added since and assigned to the new custom genres are correct, and all custom genres added are also in the list; it is only with the older titles that the change of genres is not saved but always reset to "Classical" when I close the menu.
    Apart from that I would have expected that I can also search the database by genre, but this is not the case.
    I consider both of these issues, especially the first one, a bug. Is that the case or am I doing something wrong? I'm using iTunes 10.1 (54).

    First thing:
    Are you saying that if you modify a song's info and change the Genre it does not accept the change?

  • Edit custom task fields in Project Schedule

    Is it possible to edit custom fields for a task in the project schedule in PWA?
    At this moment we are getting a message that we have to use Project Professional to make this change.

    Michiel,
    Which version of Project Server are you using? What kind of custom field is it? 
    In short, yes it is posisble to edit custom fields for task via PWA (2010, 2013), as long as it is NOT a formula driven field.
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • Can you edit the genres of tracks, once theyre in iTunes?

    Is it possible to edit the genres of tracks once theyve been imported into iTunes? I like to keep all my tracks in particular genres, so I edit them in Windows (right clikc on the mp3 file, then go to avanced & details etc. But sometimes I forget & then I import some tracks, or a CD & the genres are all over the place
    What Ive done it the past is wiped iTunes, re done the genres of the mp3 files in windows, then re0imported - but this takes a long time
    it would be good if you could edit the track once it was in iTunes?
    Many thanks

    Yes, you can edit the data in iTunes. Select one or more tracks, then press CTRL-I or right-click and select Get Info from the context menu. Genre can be set from the Info tab.
    For tips on organising in iTunes see Grouping tracks into albums.
    tt2

Maybe you are looking for

  • Time Machine doesn't recognise Seagate external hard drive

    Forgive my ignorance, but I can't figure out how to connect Time Machine with my new hard drive. I've clicked on "select back up disk" but my external hard drive doesn't appear. I've looked at a lot of similar support online, but everything tells me

  • Essbase 11.1.2 Service Error - Urgent

    Hi All, I've got a 11.1.2 Planning environment set up on two W2k8 x64 VM machines. The Essbase service has failed for the second time now. Earlier it was just the beginning of setting up the environment so I reinstalled Essbase and it started working

  • Error in upgrade Crystal Reports for Visual Studio 2010 to SP1

    During the installation of SP1 of Crystal Reports for Visual Studio 2010 (RTM was already installed) I got an error message saying: Error 2753. The file "agent.exe.6ED28686_7B19_420C_B255_5B6C1BD2C705" is not marked for installation. After a rerun of

  • I can't install the Creative Cloud Setup exe

    Hi I can't install the Creative Cloud Setup exe - it crashes my windows 8.1 machine. What to do?

  • Will Lion Run On My Mac?

    WIll Lion run on my intel core 2 duo 2Ghz iMac with 3gb of ram?