docs: def main():
      """Main script function."""
      args = get_args()
      process_args(args)
  
      if not args.no_display:
          disp = display.init(args.size)
  
      client = song.init(args.port, args.server)
  
      while True:
          song.get_art(args.cache_dir, args.size, client)
          if not args.no_display:
              display.launch(disp, args.cache_dir / "current.jpg")
  
          client.send_idle()
  
          if client.fetch_idle(["player"]):
              print("album: Received player event from mpd. Swapping cover art.")
              continue