MusicBridgeProtocol

@objc(NSObject)
protocol MusicBridgeProtocol

The bridge to talk to Music via AppleScript

  • Set the values of a track

    Declaration

    Swift

    func setTrackValues(_ theTrack: [String])
  • Set the rating of a track

    Declaration

    Swift

    func setTrackRating(_ theTrack: [String])
  • Set the playcount of a track

    Declaration

    Swift

    func setTrackPlaycount(_ theTrack: [String])
  • Set the play date of a track

    Declaration

    Swift

    func setTrackPlayDate(_ theTrack: [String])
  • Get the AppleScript ID of a track

    Declaration

    Swift

    func getTrackID(_ theTrack: [String]) -> NSString
  • Send a notification

    Declaration

    Swift

    func sendNotification(_ theNotification: [String])