2005-06-02 18:16:43 +00:00
|
|
|
//
|
|
|
|
// PlaylistEntry.h
|
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Vincent Spader on 3/14/05.
|
2005-07-02 21:02:06 +00:00
|
|
|
// Copyright 2005 Vincent Spader All rights reserved.
|
2005-06-02 18:16:43 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
#import "Cog-Swift.h"
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@interface PlaylistEntry (Extension)
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingTitle;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingDisplay;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingLength;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingPath;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingFilename;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingStatus;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingStatusMessage;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingSpam;
|
2022-06-16 14:18:28 +00:00
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingIndexedSpam;
|
2022-06-16 14:14:33 +00:00
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingAlbumArt;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingTrackText;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingLengthText;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingYearText;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingCuesheetPresent;
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingGainCorrection;
|
2022-06-17 00:05:52 +00:00
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingUnsigned;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull display;
|
|
|
|
@property(nonatomic, retain, readonly) NSNumber *_Nonnull length;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull path;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull filename;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull spam;
|
2022-06-16 14:18:28 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull indexedSpam;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull positionText;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull lengthText;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull yearText;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-17 00:05:52 +00:00
|
|
|
@property(nonatomic) NSString *_Nonnull title;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull trackText;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull cuesheetPresent;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, retain, readonly) NSImage *_Nullable albumArt;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull gainCorrection;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull gainInfo;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic, readonly) NSString *_Nullable status;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nullable statusMessage;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic) NSURL *_Nullable url;
|
|
|
|
@property(nonatomic) NSURL *_Nullable trashUrl;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
@property(nonatomic) NSData *_Nullable albumArtInternal;
|
2022-02-10 05:04:17 +00:00
|
|
|
|
2022-06-17 00:05:52 +00:00
|
|
|
@property(nonatomic) BOOL Unsigned;
|
2022-06-17 17:22:31 +00:00
|
|
|
@property(nonatomic) NSURL *_Nullable URL;
|
2022-06-17 00:05:52 +00:00
|
|
|
|
2022-06-19 06:00:08 +00:00
|
|
|
@property(nonatomic) PlayCount *_Nullable playCountItem;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull playCount;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull playCountInfo;
|
|
|
|
|
2022-06-16 14:14:33 +00:00
|
|
|
- (void)setMetadata:(NSDictionary *_Nonnull)metadata;
|
2009-03-06 04:46:42 +00:00
|
|
|
|
2005-06-02 18:16:43 +00:00
|
|
|
@end
|