Status: New
Owner: ----
New issue 170 by Krause.Chr: broken command line option for midi player
http://code.google.com/p/solfege/issues/detail?id=170
What steps will reproduce the problem?
1. move away all previous local solfege config of the user (or create a new
user on your system)
2. start solfege
3. File -> Preferences -> Sound Setup
4. configure "User external MIDI player"
5. try the Test button
6. check on the tab "External Programs" the configured midi player
What is the expected output? What do you see instead?
- error message "Failed to execute midi player"
- on the "External Programs" tab, the executable for the midi player is
"/usr/bin/timidity -idqq %s" and the parameter field is empty
- the executable should be solely "/usr/bin/timidity" and the parameter
field should contain "-idqq %s"
What version of the product are you using? On what operating system?
- linux
- 3.14.10
Please provide any additional information below.
The root cause is that "default.config" claims to comptabile with
rcfileversion 16 and so the conversion of the config entries which have the
program and the arguments on one line into separate values in app.py does
not happen:
if cfg.get_int("app/rcfileversion") <= 15:
for k in ("midi", "wav", "mp3", "ogg"):
v = cfg.get_string("sound/%s_player" % k).split(" ")
cfg.set_string("sound/%s_player" % k, v[0])
cfg.set_string("sound/%s_player_options" % k,
" ".join(v[1:]))
The issue can be solved by fixing the config file and separating the
arguments from timidity into a separate "midi_player_options" entry so that
default.config only contains "rcfileversion16-compatible" options.
Patch attached.
Attachments:
solfege-3.14.10-default_config.patch 471 bytes
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Solfege-devel mailing list
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe", or visit
https://lists.sourceforge.net/lists/listinfo/solfege-devel