Announcement

Collapse
No announcement yet.

A few link/unlink questions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by sifuhall View Post
    I'm still getting the same error.

    Maybe I'm doing something wrong.

    My plugin version is reported as:
    1.0.0.97

    My code is:

    Code:
        public sub linktest(ByVal params As String)
            Dim MusicApi As Object
    
            Try
                Dim pi As Object
                pi = hs.Plugin("SONOSCONTROLLER")
    
                If pi Is Nothing Then
                    hs.WriteLog("Script", "empty")
                    Exit Sub
                End If
    
                MusicApi = pi.GetMusicAPI("Kitchen")
    
                MusicApi.link("Bathroom")
    
            Catch ex As Exception
                hs.WriteLog("Script", "Music API not found")
                Exit Sub
            End Try
    
        End Sub
    and my log shows:
    New beta v.98 posted. This time I tested it with a script to avoid further Darwin Awards.

    Dirk

    Comment


      #17
      Originally posted by dcorsus View Post
      New beta v.98 posted. This time I tested it with a script to avoid further Darwin Awards.

      Dirk
      Downloading it now.

      Thank you!

      Comment


        #18
        Works great!

        Thank you for the great add-on!

        Comment

        Working...
        X