- libvlc_add_intf (vlc, "signals", &dummy);
- libvlc_add_intf (vlc, NULL, &ex);
- libvlc_playlist_play (vlc, -1, 0, NULL, &dummy);
- libvlc_wait (vlc);
+ if (libvlc_add_intf (vlc, "signals"))
+ pthread_sigmask (SIG_UNBLOCK, &set, NULL);
+#if !defined (HAVE_MAEMO)
+ libvlc_add_intf (vlc, "globalhotkeys,none");
+#endif
+ if (libvlc_add_intf (vlc, NULL) == 0)
+ {
+ libvlc_playlist_play (vlc, -1, 0, NULL);
+ libvlc_wait (vlc);
+ }