(rx)
return model
Get the marketed receiver name (including satellite kit name)
Get the marketed receiver name (including satellite kit name)
Get the marketed receiver name ( including satellite kit name )
def _get_rx_marketing_name(rx):
    """Get the marketed receiver name (including satellite kit name)"""
    model = (rx['vendor'] + " " + rx['model']).strip()
    if model == "Novra S400":
        model += " (pro kit)"  # append
    elif model == "TBS 5927":
        model += " (basic kit)"  # append
    elif model == "Selfsat IP22":
        model = "Blockstream Base Station"  # overwrite
    elif model == "RTL-SDR":
        model += " software-defined"
    return model
def _get_rx_marketing_name ( rx ) : model = ( rx [ 'vendor' ] + " " + rx [ 'model' ] ) . strip ( ) if model == "Novra S400" : model += " (pro kit)" # append elif model == "TBS 5927" : model += " (basic kit)" # append elif model == "Selfsat IP22" : model = "Blockstream Base Station" # overwrite elif model == "RTL-SDR" : model += " software-defined" return model