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>
|
|
|
|
|
|
|
|
@interface PlaylistEntry : NSObject {
|
2007-03-02 01:36:52 +00:00
|
|
|
NSURL *url;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
|
|
|
NSString *artist;
|
|
|
|
NSString *album;
|
|
|
|
NSString *title;
|
|
|
|
NSString *genre;
|
|
|
|
|
2006-05-12 21:49:51 +00:00
|
|
|
NSString *year;
|
2007-03-14 02:28:30 +00:00
|
|
|
NSNumber *track;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
2007-03-14 02:28:30 +00:00
|
|
|
NSNumber *length;
|
|
|
|
NSNumber *bitrate;
|
|
|
|
NSNumber *channels;
|
|
|
|
NSNumber *bitsPerSample;
|
|
|
|
NSNumber *sampleRate;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
2007-03-18 17:44:59 +00:00
|
|
|
NSNumber *current;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
2007-03-14 02:28:30 +00:00
|
|
|
NSNumber *idx;
|
|
|
|
NSNumber *shuffleIndex;
|
2007-05-27 15:11:30 +00:00
|
|
|
|
|
|
|
NSNumber *seekable;
|
2005-06-02 18:16:43 +00:00
|
|
|
}
|
|
|
|
|
2007-03-14 02:28:30 +00:00
|
|
|
- (void)setIndex:(NSNumber *)i;
|
|
|
|
- (NSNumber *)index;
|
2006-04-15 13:51:40 +00:00
|
|
|
|
2007-03-14 02:28:30 +00:00
|
|
|
- (void)setShuffleIndex:(NSNumber *)si;
|
|
|
|
- (NSNumber *)shuffleIndex;
|
2006-04-15 13:51:40 +00:00
|
|
|
|
2007-03-09 01:16:06 +00:00
|
|
|
- (void)setURL:(NSURL *)u;
|
|
|
|
- (NSURL *)url;
|
2007-03-18 17:44:59 +00:00
|
|
|
- (void)setCurrent:(NSNumber *) b;
|
|
|
|
- (NSNumber *)current;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
|
|
|
- (void)setArtist:(NSString *)s;
|
|
|
|
- (NSString *)artist;
|
|
|
|
- (void)setAlbum:(NSString *)s;
|
|
|
|
- (NSString *)album;
|
|
|
|
- (void)setTitle:(NSString *)s;
|
|
|
|
- (NSString *)title;
|
|
|
|
- (void)setGenre:(NSString *)s;
|
|
|
|
- (NSString *)genre;
|
|
|
|
|
2007-03-09 01:16:06 +00:00
|
|
|
- (void)setYear:(NSString *)y;
|
|
|
|
- (NSString *)year;
|
2007-03-14 02:28:30 +00:00
|
|
|
- (void)setTrack:(NSNumber *)y;
|
|
|
|
- (NSNumber *)track;
|
|
|
|
|
|
|
|
- (void)setLength:(NSNumber *)l;
|
|
|
|
- (NSNumber *)length;
|
2006-05-12 14:53:13 +00:00
|
|
|
|
2007-03-14 02:28:30 +00:00
|
|
|
- (void)setBitrate:(NSNumber *) br;
|
|
|
|
- (NSNumber *)bitrate;
|
2007-02-24 20:36:27 +00:00
|
|
|
|
2007-03-14 02:28:30 +00:00
|
|
|
- (void)setChannels:(NSNumber *)c;
|
|
|
|
- (NSNumber *)channels;
|
|
|
|
- (void)setBitsPerSample:(NSNumber *)bps;
|
|
|
|
- (NSNumber *)bitsPerSample;
|
|
|
|
- (void)setSampleRate:(NSNumber *)s;
|
|
|
|
- (NSNumber *)sampleRate;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
2007-05-27 15:11:30 +00:00
|
|
|
- (void)setSeekable:(NSNumber *)s;
|
|
|
|
- (NSNumber *)seekable;
|
|
|
|
|
2007-03-09 01:16:06 +00:00
|
|
|
- (void)setMetadata: (NSDictionary *)m;
|
|
|
|
- (void)readMetadataThread;
|
|
|
|
- (void)setProperties: (NSDictionary *)p;
|
|
|
|
- (void)readPropertiesThread;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
|
|
|
@end
|