monkeypr00f / Volumio_ios

Control Volumio trough native iOS app
GNU General Public License v3.0
14 stars 8 forks source link

Choose for player at every startup #13

Open monkeypr00f opened 7 years ago

monkeypr00f commented 7 years ago

@edmw can you take a look at the default player selection? Now it asks for the selection at every startup ;)

ps: thanks for the huge work you're doing, the app is more responsive than ever and most of your commits are far from my low abilities on swift!

edmw commented 7 years ago

Yes, it sometimes works for me (most of the time not). I think this is a race condition between the connectDefault call and the first getState. I'll have a look into it.

PS: Don't mention it! It's fun and I'd like to have a good app for Volumio myself :-)

edmw commented 7 years ago

Ok, really seems to be a race condition. I'll merge a fix later. With this fix I tried to unify the connect/disconnect handling for the various view controllers. Surely this will need some testing :-)