libxmp / libxmp/xmp-cli

Option to read a module playlist from a file/stdin?

Open
#25 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
84
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Something I do a lot for getting aggregate data when testing fixes on more common module formats is I run checks on the ModLand or Mod Archive collections with a program that takes a list of newline-separated filenames. Doing a similar test with xmp --load-only would be useful to determine if anything new is rejected by libxmp after implementing a patch. If there's a way to do this with xmp without invoking multiple xmp processes, I missed it. (The ModLand 2016 dump I test with has >20k Impulse Tracker modules, for example, so while argv is fine for less common formats, it just isn't adequate in this case.)

Would a feature like this be generally useful?

Contributor guide

No contributing guide indexed for this repository

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

Start by tracing the xmp --load-only command's current argv handling and how it processes filenames. Compare the requested newline-separated filename input from a file or stdin with the existing command-line behavior. Done means a large playlist can be checked in one xmp process while preserving the current invocation style.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.