forked from GetiPlayerAutomator/get-iplayer-automator
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Programme.h
74 lines (64 loc) · 2.15 KB
/
Programme.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//
// Programme.h
// Get_iPlayer GUI
//
// Created by Thomas Willson on 7/13/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GetiPlayerArguments.h"
#import "GetiPlayerProxy.h"
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, GIA_ProgrammeType) {
GiA_ProgrammeTypeBBC_TV,
GiA_ProgrammeTypeBBC_Radio,
GIA_ProgrammeTypeITV
};
@interface Programme : NSObject <NSSecureCoding>
@property (copy) NSString *tvNetwork;
@property (copy) NSString *showName;
@property (copy) NSString *pid;
@property (copy) NSString *status;
@property (copy) NSString *seriesName;
@property (copy) NSString *episodeName;
@property (assign) BOOL complete;
@property (assign) BOOL successful;
@property (copy) NSNumber *timeadded;
@property (copy) NSString *path;
@property (assign) NSInteger season;
@property (assign) NSInteger episode;
@property (assign) BOOL processedPID;
@property (assign) BOOL radio;
@property (assign) BOOL podcast;
@property (copy) NSString *realPID;
@property (copy) NSString *subtitlePath;
@property (copy) NSString *reasonForFailure;
@property (copy) NSString *availableModes;
@property (copy) NSString *url;
@property (copy) NSString *desc;
//Extended Metadata
@property (assign) BOOL extendedMetadataRetrieved;
@property (assign) BOOL successfulRetrieval;
@property (assign) NSNumber *duration;
@property (copy) NSString *categories;
@property (copy) NSDate *firstBroadcast;
@property (copy) NSDate *lastBroadcast;
@property (copy) NSString *lastBroadcastString;
@property NSArray *modeSizes;
@property (copy) NSString *thumbnailURLString;
@property NSImage *thumbnail;
@property NSMutableString *taskOutput;
@property (nullable) NSPipe *pipe;
@property (nullable) NSPipe *errorPipe;
@property (nullable) NSTask *metadataTask;
@property (nullable) GetiPlayerProxy *getiPlayerProxy;
@property (assign) BOOL addedByPVR;
@property (readonly) GIA_ProgrammeType type;
@property (readonly, copy) NSString *typeDescription;
- (void)retrieveExtendedMetadata;
- (void)cancelMetadataRetrieval;
- (void)getName;
- (void)processGetNameData:(NSString *)getNameData;
- (void)getNameSynchronous;
@end
NS_ASSUME_NONNULL_END