Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error (-1700) when starting Apple Music #10

Open
WimBre opened this issue Jul 22, 2018 · 0 comments
Open

Error (-1700) when starting Apple Music #10

WimBre opened this issue Jul 22, 2018 · 0 comments

Comments

@WimBre
Copy link

WimBre commented Jul 22, 2018

Hi,

I started this script in homebridge but when I try to open iTunes via Home-kit on my iPone the script does not respond (also no error message in Log Homebridge).

If I open iTunes manually and then stop the music via Home-kit, it works normally.

But when I try to reopen iTunes in Home-kit I get this error message:

[2018-7-22 08:08:28] [Music] Music: set on from true to false
[2018-7-22 08:08:33] [Music] Music: set on from false to true

IN DUTCH
[2018-7-22 08:08:33] [Music] applescript error execution error: iTunes kreeg een fout: Bepaalde gegevens kunnen niet in het verwachte type worden omgezet. (-1700)
TRANSLATED IN ENGLISH
[2018-7-22 08:08:33] [Music] applescript error execution error: iTunes received an error: Certain data can not be converted to the expected type. (-1700)

[2018-7-22 08:08:33] [Music] applescript: set lib to (load script "/usr/local/lib/node_modules/homebridge-music/scripts/iTunes.scpt")
tell lib to setPlayerOn(true, "Shivers")
[2018-7-22 08:08:33] [Music] Music: could not set on to true

Does anyone know what the cause might be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant