subogero / omxd

Raspberry Pi omxplayer playlist daemon and YouTube player
Other
85 stars 19 forks source link

Why I cannot control omxplayer through DBUS when I run omxd as a init service? #49

Closed tzraeq closed 8 years ago

tzraeq commented 8 years ago

When I run a omxd service ,the omxplayer generate the dbus connection but I cannot connect to the session. Is there any other solutions?

subogero commented 8 years ago

My knowledge of dbus is zero. I can't help you. Even if it worked, it would screw up omxd's status, because stuff would happen with the omxplayer instances outside of omxd's knowledge or control. A absolutely and positively refuse to to deal with Dbus.

tzraeq commented 8 years ago

If the omxd control the omxplayer through by dbus but not through the the keyboard char,and give some api, this will fixed

tzraeq commented 8 years ago

omxplayer repo has a dbuscontrol.sh,it is so easy.

subogero commented 8 years ago

If it's easy then do it yourself. I'm looking forward to your pull request.

tzraeq commented 8 years ago

I think only the play/pause action will screw up the omxd status. Or , if you can tell me the method to open the second omxplayer and pause at the beginning,I think I can fix it.

subogero commented 8 years ago

Do you realise that it's Sunday and I'm not your emloyee?

tzraeq commented 8 years ago

Sorry , it doesn't means that I want you to reply immediatly. Have a good weekend!