Updated mime types.
parent
f1b9141f4b
commit
3ee193e975
|
@ -19,6 +19,11 @@
|
|||
return [CueSheetContainer fileTypes];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"application/x-cue", nil]; //This is basically useless
|
||||
}
|
||||
|
||||
- (NSDictionary *)properties
|
||||
{
|
||||
NSMutableDictionary *properties = [[decoder properties] mutableCopy];
|
||||
|
|
|
@ -173,11 +173,6 @@ void closeCallback(void *f)
|
|||
}
|
||||
}
|
||||
|
||||
+ (NSArray *)fileTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"it", @"xm", @"s3m", @"mod",nil];
|
||||
}
|
||||
|
||||
- (void)setSource:(id<CogSource>)s
|
||||
{
|
||||
[s retain];
|
||||
|
@ -190,4 +185,14 @@ void closeCallback(void *f)
|
|||
return source;
|
||||
}
|
||||
|
||||
+ (NSArray *)fileTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"it", @"xm", @"s3m", @"mod", nil];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"audio/x-it", @"audio/x-xm", @"audio/x-s3m", @"audio/x-mod", nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -307,7 +307,12 @@ void ErrorCallback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorS
|
|||
|
||||
+ (NSArray *)fileTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"flac", @"fla", nil];
|
||||
return [NSArray arrayWithObjects:@"flac", nil];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"audio/x-flac", nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -161,6 +161,11 @@ gme_err_t readCallback( void* data, void* out, long count )
|
|||
return [GameContainer fileTypes];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void)setSource:(id<CogSource>)s
|
||||
{
|
||||
[s retain];
|
||||
|
|
|
@ -108,4 +108,9 @@
|
|||
return [NSArray arrayWithObject:@"ape"];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"audio/x-ape", nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -221,5 +221,9 @@ mpc_bool_t CanSeekProc(void *data)
|
|||
return [NSArray arrayWithObject:@"mpc"];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"audio/x-musepack", nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -189,6 +189,11 @@
|
|||
return extensions;
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSDictionary *)properties
|
||||
{
|
||||
return [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
|
|
|
@ -119,5 +119,10 @@
|
|||
return [NSArray arrayWithObject:@"shn"];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"application/x-shorten", nil]; //This is basically useless
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
|
|
@ -136,15 +136,15 @@ long sourceTell(void *datasource)
|
|||
nil];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"application/ogg", @"application/x-ogg", nil];
|
||||
}
|
||||
|
||||
+ (NSArray *)fileTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"ogg",nil];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"application/ogg", @"application/x-ogg", @"audio/x-vorbis+ogg", nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -260,7 +260,12 @@ int32_t WriteBytesProc(void *ds, void *data, int32_t bcount)
|
|||
|
||||
+ (NSArray *)fileTypes
|
||||
{
|
||||
return [NSArray arrayWithObject:@"wv"];
|
||||
return [NSArray arrayWithObjects:@"wv", @"wvp", nil];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes
|
||||
{
|
||||
return [NSArray arrayWithObjects:@"audio/x-wavpack", nil];
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue