libretro / libretro/RetroArch

1.22.2 (Git f2a9eff) - Newly created playlists no longer honour M3U file names.

Open
#19,376 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

If in a scanned directory we have the following files, pertainning a multi-disc game, with the M3U file containing the file names of each disc file:

Game Name (Undub).m3u
Game Name (USA) [Hack by Person v2] (Undub) (Disc 1).chd
Game Name (USA) [Hack by Person v2] (Undub) (Disc 2).chd

When scanning, in recent nightly builds, in the resulting playlist, the entry for the game now reads:

Game Name (USA) [Hack by Person v2] (Undub)

or

Game Name (USA) [Hack by Person v2] (Undub) (D1)

if the Disc number part was written in a different way.

Expected behavior

As with previous builds, like the latest stable, the M3U file name should be honoured, or if a new scanning mode is being tested, the option to honour M3U names as before should be a toggle in the playlist settings menu. Otherwise, some existing custom thumbnail setups will not match the playlist name or may affect existing save games under the m3u name, for example.

Game Name (Undub).m3u
Game Name (USA) [Hack by Person v2] (Undub) (Disc 1).chd
Game Name (USA) [Hack by Person v2] (Undub) (Disc 2).chd

Should result in a playlist entry of:

Game Name (Undub)

Steps to reproduce the bug
  1. Have a multi disc game with a M3U file with a name that differs from it's child discs, like:

Game Name (Undub).m3u
Game Name (USA) [Hack by Person v2] (Undub) (Disc 1).chd
Game Name (USA) [Hack by Person v2] (Undub) (Disc 2).chd

  1. Do a custom scan of the folder/system containing it and/or other similar games.
Version/Commit

1.22.2 (Git f2a9eff)

Bisect Results

1.22.2 Stable

Present in the nightly version

Yes, this is reproduced in the nightly build

Platform & operating system

Windows 10 x64

Affected Cores

Tested Flycast, PCSX2 and PSXRearmed at the moment, but may affect others with multi disc games.

Environment information

No response

Relevant log output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the custom scan with the named M3U and CHD filenames on the affected RetroArch frontend. Trace the playlist entry naming during scanning and compare the nightly result with the stable behavior. Done means the playlist entry honors the M3U filename, with coverage for differing disc filenames if an existing test area is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.