libmp3splt
|
00001 /********************************************************** 00002 * 00003 * libmp3splt -- library based on mp3splt, 00004 * for mp3/ogg splitting without decoding 00005 * 00006 * Copyright (c) 2002-2005 M. Trotta - <mtrotta@users.sourceforge.net> 00007 * Copyright (c) 2005-2011 Munteanu Alexandru - io_fx@yahoo.fr 00008 * 00009 * http://mp3splt.sourceforge.net 00010 * 00011 *********************************************************/ 00012 00013 /********************************************************** 00014 * 00015 * This program is free software; you can redistribute it and/or 00016 * modify it under the terms of the GNU General Public License 00017 * as published by the Free Software Foundation; either version 2 00018 * of the License, or (at your option) any later version. 00019 * 00020 * This program is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 * GNU General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU General Public License 00026 * along with this program; if not, write to the Free Software 00027 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00028 * 02111-1307, 00029 * USA. 00030 * 00031 *********************************************************/ 00032 00033 #ifndef SPLT_TAGS_PARSER_H 00034 00035 typedef struct { 00036 splt_tags *current_tags; 00037 splt_tags *all_tags; 00038 int ambigous; 00039 int tags_counter; 00040 int set_all_tags; 00041 00042 int title_counter; 00043 int artist_counter; 00044 int album_counter; 00045 int performer_counter; 00046 int year_counter; 00047 int comment_counter; 00048 int tracknumber_counter; 00049 int genre_counter; 00050 00051 int original_tags_found; 00052 00053 int auto_increment_tracknumber; 00054 00055 int we_had_all_tags; 00056 00057 const char *position; 00058 00059 char *current_tracknumber; 00060 } tags_parser_utils; 00061 00062 int splt_tp_put_tags_from_string(splt_state *state, const char *tags, int *error); 00063 void splt_tp_put_tags_from_filename(splt_state *state, int *error); 00064 00065 #define SPLT_TAGS_PARSER_H 00066 00067 #endif 00068