Package org.farng.mp3

Examples of org.farng.mp3.MP3File.save()


//            frameBody = new FrameBodyTALB((byte) 0, "albumTitle");
//            frame = new ID3v2_4Frame(frameBody);
//            filenameId3.setFrame(frame);
            TagOptionSingleton.getInstance().setFilenameTagSave(true);

            mp3.save();
           


            System.out.println(mp3.toString());
        } catch (Exception ex) {
View Full Code Here


            MP3File mp3File = new MP3File(file);
            TagOptionSingleton.getInstance().setDefaultSaveMode(TagConstant.MP3_FILE_SAVE_OVERWRITE);
            mp3File.setID3v1Tag(id3v1);
            mp3File.setID3v2Tag(id3v2);
            mp3File.save();
            // very dirty, TODO: prevent Jid3lib to generate the ".original" files
            File originalFile = new File(FilenameUtils.removeExtension(file.toString()) + ".original.mp3");
            if(originalFile.exists())
                originalFile.delete();
        } catch (TagException ex) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.