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

execution error: Error: Error: Can't get object. (-1728) #49

Open
casamtl opened this issue Apr 26, 2021 · 1 comment
Open

execution error: Error: Error: Can't get object. (-1728) #49

casamtl opened this issue Apr 26, 2021 · 1 comment

Comments

@casamtl
Copy link

casamtl commented Apr 26, 2021

I've gotten iTunes-api partially working (AirPlay endpoints appearing, Media Player appearing but not fully functional). Getting various errors including: execution error: Error: Error: Can't get object. (-1728) and Error: Command failed: osascript -l JavaScript -e 'var old = console.log.

Also the get this when first running script/server:
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
(node:13019) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:13019) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency

And finally: Failed to call service media_player/media_play_pause. Expecting value: line 1 column 1 (char 0) - if I try to play from the Media Player.

Any suggestions for resolving? Running Big Sur/Apple Music/HASS core-2021.4.6. iTunes API page shows correction at port 8181.

Thanks!

@jacobDaurizio
Copy link

jacobDaurizio commented Oct 26, 2021

I'm having the exact same problem @maddox and @DrMachin, any chance you can help?

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

2 participants