
30th October 2004
|
Junior Member BS.Player Newbie | | Join Date: Oct 2004
Posts: 3
Rep Power: 0 | |
WinLIRC auto start
Hello!
I did some testing and found out:
- if BSPlayer is started before WinLIRC, remote controling does not work.
- if WinLIRC is started before BSPlayer, everything works fine.
From that I conclude that BSPlayer only tries to connect to WinLIRC server (127.0.0.1:8765) at startup.
I din't like the fact that I have to run WinLIRC manualy before starting BSPlayer. I use WinLIRC only with BSPlayer. So, I wrote a simple plugin that starts the WinLIRC when plugin loads and closes WinLIRC when plugin unloads (BSPlayer closes). But unfortunately it didn't work. I suppose that BSPlayer tries to connect to WinLIRC server before it loads plugins.
Possible solutions:
1. Is there a way to tell BSPlayer to try to recconnect to WinLIRC server? Something like message bsp_ver = SendMessage(bsp_hand,WM_BSP_CMD,BSP_LIRC_Reconnect ,0); ?
2. Configure BSplayer somehow to load plugins before WinLIRC connecting.
Number 1. would be absolute winner! Please help me solve the situation.
Regards,
Rostfrei
|