LMMS / LMMS/lmms

Command line option -p/--play to play a project file

Open
#3,893 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

I would like to change the meaning of -p to play a project file.
Actually I have a prototype which works (no GUI at all), however it's not coreOnly (the GUI is built internally, just not shown). I'm sure someone can make it better that would work like the Renderer + audio.

-p is currently used as the short form for --profile. I think it is not used very often. Having only --profile (or better --profile-cpu) wouldn't be a problem. More generally the whole code to handle the options should be rewritten to make it more secure and coherent. (getopt, QCommandLineParser or at the minimum QRegExp)

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

No file or test is named. Start by locating the current command-line handling for -p/--profile and inspect how the mentioned prototype plays a project without showing the GUI; review the proposed getopt, QCommandLineParser, and QRegExp approaches. Done means -p/--play reliably plays a project file while the profile option remains available under its long form.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.