Control over Music quality depending on the type of network and buffer

Have settings on clients (Mainly Cellphones) to choose a quality depending on the type of network

Local : Original, 320 kbps, 256 kbps, 196 kbps, 128 kbps
Internet (WiFi) : Original, 320 kbps, 256 kbps, 196 kbps, 128 kbps
Mobile (Cell network) : Original, 320 kbps, 256 kbps, 196 kbps, 128 kbps

Also, i found that while driving on the highway, the music has 1/4 seconds cuts once every few minutes when i think I am changing towers, it would be nice to have settings for a number of seconds to buffer and a settings to buffer or not the beggining of the next song, so there is no delay.