Play videos automatically when USB inserted
#1
Hi there,

I'm trying to do a very simple video kiosk with my Pi and I'd like XBMC to play automatically the videos on a USB, when inserted.

Any chance to do that?

I'm running raspbmc

Thank you !
Reply
#2
probably you can use a udisks-glue post-execute command
Reply
#3
Nice !
It works indeed !

Thank you

PS for people with the same need than me:

You need to modify nano /etc/udisks-glue.conf

And in the "match disks" section, I've added:
Code:
post_mount_command = "/home/pi/usbscript.sh"

(The full command directly inside didn't work (Because of "" inside I believe), so I just created a small script file to add the command.

Don't work to do chmod +x on it.

Thank you
Reply

Logout Mark Read Team Forum Stats Members Help
Play videos automatically when USB inserted0