old_contents: from pyviera import VieraFinder
  
  if __name__ == '__main__':
      vf = VieraFinder()
  
      tv = vf.get_viera()
  
      tv.mute()
  
new_contents: from pyviera import Viera, commands
  
  # List out all possible commands
  print(commands.keys())
  print()
  
  # Look for any supported TVs
  tvs = Viera.discover()
  
  # Make sure we have at least one
  if len(tvs) > 0:
      # Get the first TV that was found
      tv = tvs[0]
  
      # Send TV commands
      tv.mute()
      tv.vol_up()
      tv.num(5)
  
  else:
      print("No TVs could be found")
  
subject: Update example