More no-media support
- don't initialize media support of LMS is started with the --noupnp
parameter
- add helper method main::MEDIASUPPORT to clean up the code