View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#188
Originally Posted by extendedping View Post
I have no idea if you could do this...pretty much the only time I want 3g is for youtube. Any way to make an option to switch to 3g when watching or downloading a vid? Or just have a checkbox to have the app enable 3g on start (if avaolable) and disable 3g on 0p close?
That should be possible. Currently, the application enables 'any' access point, which I assume will be a WiFi connection if available. I think I can obtain the list of available access points using DBus, and provide an option in the settings to select your preferred default connection. cuteTube can then attempt to connect to that access point on start-up.

Switching connection before playback/download would lead to performance issues IMO, because you would need to wait for the switch before even beginning to pass the stream to the media player.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following User Says Thank You to marxian For This Useful Post: