/*
 * #%L
 * Alfresco Repository
 * %%
 * Copyright (C) 2005 - 2016 Alfresco Software Limited
 * %%
 * This file is part of the Alfresco software. 
 * If the software was purchased under a paid Alfresco license, the terms of 
 * the paid license agreement will prevail.  Otherwise, the software is 
 * provided under the following open source license terms:
 * 
 * Alfresco is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Alfresco is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with Alfresco. If not, see 
* songTitle: -- cm:title * albumTitle: -- audio:album * artist: -- audio:artist, cm:author * description: -- cm:description * comment: -- * yearReleased: -- audio:releaseDate * trackNumber: -- audio:trackNumber * genre: -- audio:genre * composer: -- audio:composer * lyrics: -- ** * Note - XMPDM metadata keys are also emitted, in common with * the other Tika powered extracters * * Uses Apache Tika * * @author Nick Burch */ public class MP3MetadataExtracter extends TikaAudioMetadataExtracter { private static final String KEY_SONG_TITLE = "songTitle"; private static final String KEY_ALBUM_TITLE = "albumTitle"; private static final String KEY_ARTIST = "artist"; private static final String KEY_COMMENT = "comment"; private static final String KEY_YEAR_RELEASED = "yearReleased"; private static final String KEY_TRACK_NUMBER = "trackNumber"; private static final String KEY_GENRE = "genre"; private static final String KEY_COMPOSER = "composer"; public static ArrayList