Inappropriate ioctl for device when playing mp3 #165

Open
opened 2021-11-30 23:50:26 +01:00 by mishi · 1 comment
mishi commented 2021-11-30 23:50:26 +01:00 (Migrated from git.mattzz.de)

Calling mp321 (in the init routine of monster in a box) result in this error

Nov 30 22:47:50 monsterinabox uwsgi[1980]: pumpkin.tools      - INFO: playing back /home/pi/halloween/pumpkin/static/sounds/monster_snoring.mp3
Nov 30 22:47:51 monsterinabox uwsgi[2003]: tcgetattr(): Inappropriate ioctl for device

The mp3 still plays. But it's spamming the log file.

It may be related to the fact that it is called in a thread.

Calling mp321 (in the init routine of monster in a box) result in this error ``` Nov 30 22:47:50 monsterinabox uwsgi[1980]: pumpkin.tools - INFO: playing back /home/pi/halloween/pumpkin/static/sounds/monster_snoring.mp3 Nov 30 22:47:51 monsterinabox uwsgi[2003]: tcgetattr(): Inappropriate ioctl for device ``` The mp3 still plays. But it's spamming the log file. It may be related to the fact that it is called in a thread.
mishi commented 2021-11-30 23:53:07 +01:00 (Migrated from git.mattzz.de)

May also be related to the USB audio (it's a Pi zero)

May also be related to the USB audio (it's a Pi zero)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mattzz/halloween#165
No description provided.