Skip to content

Plays fine in testing environment but not on device #2

Description

@kgarner

First off, just wanted to thank you for creating this. I have enough skill to implement code already created on a server, but wouldn't have the first clue hoe to actually develop something like this, so I appreciate your efforts to create and share this. I have the skill installed and everything works except for playback on device.

It's logged into the server (I can see the sessions in the stats) and the skill responds to commands to play books that I have in the library and acts like it playing, but nothing ever actually plays. In the stats, all playback sessions are 3 seconds long so I believe there is an error happening that kills the playback. I get a similar result when using the Alexa app on my phone (iOS). I thought I would use the server testing environment to test it and see if there is an error message, but it actually plays back perfectly on the computer.

I'm at a loss as to how to proceed. Is there some way to get an error log from an Echo device? I thought maybe it was a file format issue since some books are MP3s and some are M4Bs, but I get similar results for either format. Just wondering if you have any ideas of what might be happening (long shot, I know) or at least some advice on how to track down an error message or log or something to help me trace it. Thanks.

----- LOG ENTRIES FROM ABS -----

2025-04-05 09:55:27.752
DEBUG
[PlaybackSessionManager] startSessionRequest for device Echo SDK 1 / v1.0
2025-04-05 09:55:27.753
DEBUG
[PlaybackSessionManager] "alexa" starting direct play session for item "d70d308b-6257-44d2-b029-064ee9024702" with id c09689e4-ef67-4c95-9b52-7756ec95ea58 (Device: Echo SDK 1 / v1.0)
2025-04-05 09:55:31.970
DEBUG
[PlaybackSessionManager] syncSession "c09689e4-ef67-4c95-9b52-7756ec95ea58" (Device: Echo SDK 1 / v1.0) | Total Time Listened: 3.781
2025-04-05 09:55:31.975
DEBUG
[PlaybackSessionManager] closeSession "c09689e4-ef67-4c95-9b52-7756ec95ea58"
2025-04-05 09:55:31.976
DEBUG
[PlaybackSessionManager] Removed session "c09689e4-ef67-4c95-9b52-7756ec95ea58"
2025-04-05 09:55:31.987
DEBUG
[ApiCacheManager] Array.afterUpsert: Clearing cache

The logs for playing from the computer look identical, except that instead of appearing all at once it gets to the "starting direct play session…" line and starts playing until I say stop and then prints out the rest of the log entries with a longer Time Listened.

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