def tune_to_favourite_service(): """This function will return a random favourite service defined in the <FAVOURITE_SERVICE> list""" favourite_service_list = profile["FAVOURITE_SERVICE"] favourite_service = get_randomized_item(favourite_service_list) tune_to_channel(favourite_service) return favourite_service
def tune_scrambled_hd_service(): """This function will return a random scrambled HD service defined in the <SCRAMBLED_HD_SERVICES> list""" scrambled_hd_service_list = profile["SCRAMBLED_HD_SERVICES"] scrambled_hd_service = get_randomized_item(scrambled_hd_service_list) tune_to_channel(scrambled_hd_service) return scrambled_hd_service
def tune_to_default_service(): """This function will return a random default service defined in the <DEFAULT_SERVICE> list""" default_service_list = profile["DEFAULT_SERVICE"] default_service = get_randomized_item(default_service_list) tune_to_channel(default_service) return default_service
def tune_clear_hd_service(): """This function will return a random clear HD service defined in the <CLEAR_HD_SERVICES> list""" clear_hd_service_list = profile["CLEAR_HD_SERVICES"] clear_hd_service = get_randomized_item(clear_hd_service_list) tune_to_channel(clear_hd_service) return clear_hd_service