Set version to 1.3.0 and update coyprights throughout.
[platform/upstream/flac.git] / src / plugin_xmms / tag.c
index 0d73c83..19e20ba 100644 (file)
@@ -1,6 +1,7 @@
 /* libxmms-flac - XMMS FLAC input plugin
- * Copyright (C) 2000,2001,2002,2003,2004,2005,2006  Josh Coalson
- * Copyright (C) 2002,2003,2004,2005,2006  Daisuke Shimamura
+ * Copyright (C) 2000-2009  Josh Coalson
+ * Copyright (C) 2011-2013  Xiph.Org Foundation
+ * Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009  Daisuke Shimamura
  *
  * Based on FLAC plugin.c and mpg123 plugin
  *
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include "plugin.h"
+
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
@@ -112,9 +115,9 @@ char *flac_format_song_title(char *filename)
 
        XMMS_NEW_TITLEINPUT(input);
 
-       input->performer = local__getstr(performer);
+       input->performer = local__getstr(artist);
        if(!input->performer)
-               input->performer = local__getstr(artist);
+               input->performer = local__getstr(performer);
        input->album_name = local__getstr(album);
        input->track_name = local__getstr(title);
        input->track_number = local__getnum(tracknumber);