libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.33k stars 1.84k forks source link

Can't open directory with image, music or video file extensions. #3686

Closed orbea closed 8 years ago

orbea commented 8 years ago

OS: Slackware64-current RetroArch-2016.09.27_ef99754_master-x86_64-1_git

RetroArch treats any directory with an extension recognized by the image viewer, music or video player cores as a file and thus fails to start the content. It should always treat directories as directories despite their file extenstions. These include .wmv, .flac, .ogg, .jpg, .png, .avi, .mkv.

This is easy to reproduce, by creating several directories with such extensions and then trying to open them in RetroArch with Load Content -> Select File.

mkdir test.wmv test.ogg test.png test.mkv

This was first noticed trying out the music player core with artists that have unconventional band / directory names.

orbea commented 8 years ago

Since this is not reproducible by everyone I took an screenshot, I can reproduce this with a fresh configuration file.

1

orbea commented 8 years ago

bparker fixed this one too!

https://github.com/libretro/RetroArch/commit/54165bf7fb725020878eea1e02e682c861e28de9