mirror of https://github.com/mpv-player/mpv
stream: remove directory playlist hint
The stream layer is the wrong place to handle this and the benefit seems dubious.
This commit is contained in:
parent
553fb024d4
commit
03ca340835
|
@ -343,8 +343,6 @@ static int open_f(stream_t *stream, const struct stream_open_args *args)
|
|||
if (fstat(p->fd, &st) == 0) {
|
||||
if (S_ISDIR(st.st_mode)) {
|
||||
stream->is_directory = true;
|
||||
if (!(args->flags & STREAM_LESS_NOISE))
|
||||
MP_INFO(stream, "This is a directory - adding to playlist.\n");
|
||||
} else if (S_ISREG(st.st_mode)) {
|
||||
p->regular_file = true;
|
||||
#ifndef _WIN32
|
||||
|
|
Loading…
Reference in New Issue