You are not logged in.

#1 2023-09-13 16:54:14

realmatrix
Member
Registered: 2019-01-10
Posts: 3

kodi as systemd-service and playing AudioCD

Hallo,

I'm using kodi media player software on my PC. It is starting on system power up by systemd on tty1, installed by kodi-standalone-service (AUR-package). Everthing works fine.
My Desktop (openbox) is starting manually on tty3 after login.

Only problem is CompactDisc-AudioCD-Playback with kodi!

If I'm logged in in tty3 (Monitor shows Desktop of openbox), I can listen to music (radio, mp3, streams etc.) started in kodi without any problem. So I'm on my openbox-desktop in tty3 and in background kodi is running on tty1.

AudioCD-Playback in kodi also works. If I am on tty1, the jump to next track on AudioCD perfectly works. But if I am on tty3, kodi doesn't automatic jump to next track. I' have to go back to tty1 instance, then kodi starts playing next track.

I think it is problem with 'groups'. kodi is in group 'optical'. But kodi on tty1 can't access cd-drive, if I'am on tty3 at the same time.

Any idea / suggestion for get it working?
keep in mind: kodi is my hifi-system and openbox my normal 'working-desktop', both on ONE machine, used parallel.

big thanks
realmatrix

Offline

#2 2023-09-19 01:06:00

Skidout
Member
Registered: 2023-05-26
Posts: 27

Re: kodi as systemd-service and playing AudioCD

Consider checking the settings for Kodi. Maybe there will be something there for "continue playing while not in focus" or something like that.

Offline

#3 2023-09-19 06:57:58

seth
Member
Registered: 2012-09-03
Posts: 42,594

Re: kodi as systemd-service and playing AudioCD

I can listen to music (radio, mp3, streams etc.) started in kodi without any problem

kodi is in group 'optical'. But kodi on tty1 can't access cd-drive, if I'am on tty3 at the same time.

Going w/ the OPs theory

getfacl /dev/sr0 # assuming that's your optical drive
cat /proc/$(pidof kodi)/status

Did you try to "sudo chmod 666 /dev/sr0" for world access?

Last edited by seth (2023-09-19 06:59:13)

Offline

Board footer

Powered by FluxBB