Skip to content

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

@casamtl

Description

@casamtl

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions