Dave Chapman | 3ad485b | 2005-06-14 22:27:57 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 2 | * __________ __ ___. |
| 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | * \/ \/ \/ \/ \/ |
| 8 | * $Id$ |
| 9 | * |
| 10 | * Copyright (C) 2005 Dave Chapman |
| 11 | * |
Daniel Stenberg | 2acc0ac | 2008-06-28 18:10:04 +0000 | [diff] [blame^] | 12 | * This program is free software; you can redistribute it and/or |
| 13 | * modify it under the terms of the GNU General Public License |
| 14 | * as published by the Free Software Foundation; either version 2 |
| 15 | * of the License, or (at your option) any later version. |
Dave Chapman | 3ad485b | 2005-06-14 22:27:57 +0000 | [diff] [blame] | 16 | * |
| 17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 18 | * KIND, either express or implied. |
| 19 | * |
| 20 | ****************************************************************************/ |
| 21 | |
| 22 | #ifndef _METADATA_H |
| 23 | #define _METADATA_H |
| 24 | |
Bertrik Sikken | c97e503 | 2008-04-28 14:13:13 +0000 | [diff] [blame] | 25 | #include <stdbool.h> |
| 26 | #include "config.h" |
| 27 | #include "id3.h" |
Dave Chapman | 3ad485b | 2005-06-14 22:27:57 +0000 | [diff] [blame] | 28 | |
Miika Pekkarinen | 7c4e0c8 | 2006-03-26 11:33:42 +0000 | [diff] [blame] | 29 | unsigned int probe_file_format(const char *filename); |
Thom Johansen | 294ec1d | 2007-09-19 10:40:55 +0000 | [diff] [blame] | 30 | bool get_metadata(struct mp3entry* id3, int fd, const char* trackname); |
Brandon Low | c1b7184 | 2007-11-28 05:13:05 +0000 | [diff] [blame] | 31 | #if CONFIG_CODEC == SWCODEC |
Brandon Low | 3386dd7 | 2007-11-28 04:58:16 +0000 | [diff] [blame] | 32 | void strip_tags(int handle_id); |
Brandon Low | c1b7184 | 2007-11-28 05:13:05 +0000 | [diff] [blame] | 33 | #endif |
Dave Chapman | 3ad485b | 2005-06-14 22:27:57 +0000 | [diff] [blame] | 34 | |
| 35 | #endif |
| 36 | |
| 37 | |