Added two popups to select the movie/tvshow provider in the queue.
This commit is contained in:
1 parent
819763eab2
commit
e50b060828
10 files changed
+224
-35
No files matched your search
+26
-2
@@ -11,22 +11,46 @@
|
||||
@class SBQueueItem;
|
||||
@class MP42Metadata;
|
||||
|
||||
/**
|
||||
* SBQueue actions protocol, actions can be run by
|
||||
* the queue's items.
|
||||
*/
|
||||
@protocol SBQueueActionProtocol <NSObject, NSCoding>
|
||||
- (void)runAction:(SBQueueItem *)item;
|
||||
@end
|
||||
|
||||
@interface SBQueueMetadataAction : NSObject <SBQueueActionProtocol>
|
||||
/**
|
||||
* An actions that fetches metadata online.
|
||||
*/
|
||||
@interface SBQueueMetadataAction : NSObject <SBQueueActionProtocol> {
|
||||
@private
|
||||
NSString *_language;
|
||||
NSString *_movieProvider;
|
||||
NSString *_tvShowProvider;
|
||||
}
|
||||
- (instancetype)initWithLanguage:(NSString *)language
|
||||
movieProvider:(NSString *)movieProvider
|
||||
tvShowProvider:(NSString *)tvShowProvider;
|
||||
@end
|
||||
|
||||
/**
|
||||
* An actions that search in the item source directory for additionals srt subtitles
|
||||
*/
|
||||
@interface SBQueueSubtitlesAction : NSObject <SBQueueActionProtocol>
|
||||
@end
|
||||
|
||||
/**
|
||||
* An actions that applies a set to the item.
|
||||
*/
|
||||
@interface SBQueueSetAction : NSObject <SBQueueActionProtocol> {
|
||||
@private
|
||||
MP42Metadata *_set;
|
||||
}
|
||||
- (id)initWithSet:(MP42Metadata *)set;
|
||||
- (instancetype)initWithSet:(MP42Metadata *)set;
|
||||
@end
|
||||
|
||||
/**
|
||||
* An actions that organize the item tracks' groups.
|
||||
*/
|
||||
@interface SBQueueOrganizeGroupsAction : NSObject <SBQueueActionProtocol>
|
||||
@end
|
||||
Reference in new issue
Block a user