return ( ([temp1 length]) ? temp1 : nil ) ;
}
+- (NSString *)currentSongComposer
+{
+ NSString *temp1;
+ ITDebugLog(@"Getting current song artist.");
+ if ( [self currentPlaylistClass] != ITMTRemotePlayerRadioPlaylist ) {
+ temp1 = [[ITAppleEventCenter sharedCenter] sendTwoTierAEWithRequestedKey:@"pCmp" fromObjectByKey:@"pTrk" eventClass:@"core" eventID:@"getd" appPSN:savedPSN];
+ } else {
+ temp1 = @"";
+ }
+ ITDebugLog(@"Getting current song artist done.");
+ return ( ([temp1 length]) ? temp1 : nil ) ;
+}
+
- (NSString *)currentSongAlbum
{
NSString *temp1;
{
if ([(NSString *)name isEqualToString:@"iTunes"])
{
- ITDebugLog(@"iTunes' highLongOfPSN: %lu.", number.highLongOfPSN);
+ ITDebugLog(@"iTunes' highLPongOfPSN: %lu.", number.highLongOfPSN);
ITDebugLog(@"iTunes' lowLongOfPSN: %lu.", number.lowLongOfPSN);
ITDebugLog(@"Done getting iTunes' PSN.");
return number;