subtitles: accept smi in addition to srt

This commit is contained in:
Justin Maggard
2014-04-21 15:44:39 -07:00
parent 0721528bcd
commit 381c4805e6
4 changed files with 36 additions and 26 deletions

View File

@@ -63,13 +63,14 @@ char *strcasestrc(const char *s, const char *p, const char t);
char *modifyString(char *string, const char *before, const char *after, int noalloc);
char *escape_tag(const char *tag, int force_alloc);
char *unescape_tag(const char *tag, int force_alloc);
void strip_ext(char * name);
char *strip_ext(char *name);
/* Metadata functions */
int is_video(const char * file);
int is_audio(const char * file);
int is_image(const char * file);
int is_playlist(const char * file);
int is_caption(const char * file);
int is_album_art(const char * name);
int resolve_unknown_type(const char * path, media_types dir_type);
const char *mime_to_ext(const char * mime);