Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.
This repository has been archived by the owner on May 5, 2023. It is now read-only.

No such file or directory when playing sound #17

Closed
goldyfruit opened this issue Nov 19, 2021 · 0 comments
Closed

No such file or directory when playing sound #17

goldyfruit opened this issue Nov 19, 2021 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@goldyfruit
Copy link
Contributor

When a skill uses the CommonPlaySkill implementation to leverage CPS_play (with a file) and let the sound play through the mycroft_audio container it generates an error:

Directory: /tmp/mycroft/cache/tts/PollyTTS/
Playing MPEG stream 1 of 1: 0eea217916f0a0f5b37cd8a2c54e876e.mp3 ...
[src/libmpg123/readers.c:1184] error: Cannot open file /opt/mycroft/skills/mycroft-ring-skill.smartgic/assets/doorbell_1.mp3: No such file or directory
main: [src/mpg123.c:708] error: Cannot open /opt/mycroft/skills/mycroft-ring-skill.smartgic/assets/doorbell_1.mp3: File access error. (code 22)

The mycroft_skills and mycroft_audio containers need to share the skill data.

@goldyfruit goldyfruit added bug Something isn't working enhancement New feature or request labels Nov 19, 2021
@goldyfruit goldyfruit self-assigned this Nov 19, 2021
goldyfruit added a commit that referenced this issue Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant