SkillAgentSearch skills...

RRTouchRemote

iTunes and AppleTV remote controll using DMAP protocol

Install / Use

/learn @RolandasRazma/RRTouchRemote
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

RRTouchRemote

iTunes and AppleTV remote controll using DMAP protocol

RRTouchRemote *touchRemote = [[RRTouchRemote alloc] initWithName:@"RRTouchRemote" pairID:1111];

If you never did pairing

[touchRemote setDelegate:self];
[touchRemote startAdvertising];

- (void)touchRemote:(RRTouchRemote *)touchRemote didPairedWithServiceNamed:(NSString *)serviceName {

    NSLog(@"touchRemote:didPairedWithServiceNamed: %@", serviceName);
    
    [touchRemote findServiceWithName: serviceName
                   completionHandler: ^(RRTouchRemoteService *service) {
                       // ...
                   }];
    
}

Go to AppleTV or iTunes and add remote with any password (not checked)

If you did pairing and already have serviceName

[touchRemote findServiceWithName: @"service name"
	           completionHandler: ^(RRTouchRemoteService *service) {
			       // ...
               }];

Get all shared items

RRTouchRemoteService *service = ...
[touchRemoteService itemsInDatabase: _databaseID
                               meta: nil
                  completionHandler: ^(id items, NSError *error) {
				      // ...
                  }];
View on GitHub
GitHub Stars4
CategoryDevelopment
Updated1y ago
Forks4

Languages

Objective-C

Security Score

70/100

Audited on Nov 21, 2024

No findings