Hello,
I need some help with my usecase.
I made a player which is working well (at start it connects to LMS and play, so it's ok).
Now I would like to achieve this :
- my player is designed to be mobile so at boot it should check if it is on a specific wifi network (home). If it is at home, then it should start as a player connected to home LMS.
- if it can't find home network, it should connect to whatever network it knows and launch a player and LMS server in order to be autonomous.
What I did so far :
- managed multiple SSID (I had issue with wpa_passphrase and priority but that's not my priority). So my player can connect to multiple wifi networks.
- wrote a script that checks if it is connected on a specific network (my home) and if the LMS server is running.
- connect to this LMS in case it find it.
I would appreciate help for the part where I need to launch a LMS server....
I had a look to pcp_startup.sh but didn't find a way to achieve my goal due to poor bash knowledge (part called "Start LMS")
If anyone can help me, I would be grateful.
I need some help with my usecase.
I made a player which is working well (at start it connects to LMS and play, so it's ok).
Now I would like to achieve this :
- my player is designed to be mobile so at boot it should check if it is on a specific wifi network (home). If it is at home, then it should start as a player connected to home LMS.
- if it can't find home network, it should connect to whatever network it knows and launch a player and LMS server in order to be autonomous.
What I did so far :
- managed multiple SSID (I had issue with wpa_passphrase and priority but that's not my priority). So my player can connect to multiple wifi networks.
- wrote a script that checks if it is connected on a specific network (my home) and if the LMS server is running.
- connect to this LMS in case it find it.
I would appreciate help for the part where I need to launch a LMS server....
I had a look to pcp_startup.sh but didn't find a way to achieve my goal due to poor bash knowledge (part called "Start LMS")
If anyone can help me, I would be grateful.
Comment