def output_stream_passthrough(plugin, stream):
global output<EOL>title = create_title(plugin)<EOL>filename = '<STR_LIT>'.format(stream_to_url(stream))<EOL>output = PlayerOutput(args.player, args=args.player_args,<EOL>filename=filename, call=True,<EOL>quiet=not args.verbose_player,<EOL>title=title)<EOL>try:<EOL><INDENT>log.info("<STR_LIT>", args.player)<EOL>output.open()<EOL><DEDENT>except OSError as err:<EOL><INDENT>console.exit("<STR_LIT>", args.player, err)<EOL>return False<EOL><DEDENT>return True<EOL>
Prepares a filename to be passed to the player.