mirror of
https://github.com/mpv-player/mpv
synced 2025-03-20 10:17:31 +00:00
player: don't print "Playing:" message if there's only 1 file
This is just redundant and slightly annoying, at least for normal command line usage. If there are multiple entries, still print it (because you want to know where you are). Also still print it if the player was redirected (because you want to know where you got redirected to).
This commit is contained in:
parent
53cf4e27d4
commit
a80f63cb9a
@ -1399,7 +1399,10 @@ static void play_current_file(struct MPContext *mpctx)
|
||||
|
||||
handle_force_window(mpctx, false);
|
||||
|
||||
MP_INFO(mpctx, "Playing: %s\n", mpctx->filename);
|
||||
if (mpctx->playlist->first != mpctx->playing ||
|
||||
mpctx->playlist->last != mpctx->playing ||
|
||||
mpctx->playing->num_redirects)
|
||||
MP_INFO(mpctx, "Playing: %s\n", mpctx->filename);
|
||||
|
||||
assert(mpctx->demuxer == NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user