2007-06-16 18:19:51 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005 Dave Chapman
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2007-06-16 18:19:51 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
2008-10-15 06:38:51 +00:00
|
|
|
|
|
|
|
char* id3_get_num_genre(unsigned int genre_num);
|
|
|
|
int getid3v2len(int fd);
|
2009-10-25 18:11:55 +00:00
|
|
|
bool setid3v1title(int fd, struct mp3entry *entry);
|
2008-10-15 06:38:51 +00:00
|
|
|
bool get_mp3_metadata(int fd, struct mp3entry* id3, const char *filename);
|
2007-06-16 18:19:51 +00:00
|
|
|
|
|
|
|
bool get_adx_metadata(int fd, struct mp3entry* id3);
|
|
|
|
bool get_aiff_metadata(int fd, struct mp3entry* id3);
|
|
|
|
bool get_flac_metadata(int fd, struct mp3entry* id3);
|
|
|
|
bool get_mp4_metadata(int fd, struct mp3entry* id3);
|
|
|
|
bool get_monkeys_metadata(int fd, struct mp3entry* id3);
|
|
|
|
bool get_musepack_metadata(int fd, struct mp3entry *id3);
|
|
|
|
bool get_sid_metadata(int fd, struct mp3entry* id3);
|
2008-05-21 11:19:58 +00:00
|
|
|
bool get_mod_metadata(int fd, struct mp3entry* id3);
|
2007-06-16 18:19:51 +00:00
|
|
|
bool get_spc_metadata(int fd, struct mp3entry* id3);
|
2007-12-09 03:16:26 +00:00
|
|
|
bool get_ogg_metadata(int fd, struct mp3entry* id3);
|
2007-06-16 18:19:51 +00:00
|
|
|
bool get_wave_metadata(int fd, struct mp3entry* id3);
|
2007-08-12 06:36:06 +00:00
|
|
|
bool get_wavpack_metadata(int fd, struct mp3entry* id3);
|
2007-12-04 20:48:40 +00:00
|
|
|
bool get_a52_metadata(int fd, struct mp3entry* id3);
|
2007-07-03 09:25:36 +00:00
|
|
|
bool get_asf_metadata(int fd, struct mp3entry* id3);
|
2008-07-26 15:16:10 +00:00
|
|
|
bool get_asap_metadata(int fd, struct mp3entry* id3);
|
2009-07-06 22:40:45 +00:00
|
|
|
bool get_rm_metadata(int fd, struct mp3entry* id3);
|
2009-08-30 02:53:15 +00:00
|
|
|
bool get_nsf_metadata(int fd, struct mp3entry* id3);
|
2010-02-12 03:21:37 +00:00
|
|
|
bool get_oma_metadata(int fd, struct mp3entry* id3);
|
2010-02-24 11:46:29 +00:00
|
|
|
bool get_smaf_metadata(int fd, struct mp3entry* id3);
|
2010-02-28 07:22:20 +00:00
|
|
|
bool get_au_metadata(int fd, struct mp3entry* id3);
|