Browse Source

Add qseq66 to internal database

master
Nils 3 years ago
parent
commit
901abfeae4
  1. 1
      CHANGELOG
  2. 8
      engine/findprograms.py

1
CHANGELOG

@ -4,6 +4,7 @@ Add button in session chooser for alternative access to context menu options
Add normal "Save" to tray icon. Add normal "Save" to tray icon.
Submenu in tray icon to toggle visibility of individual clients (if supported) Submenu in tray icon to toggle visibility of individual clients (if supported)
Double click on a crashed clients opens it again. This was intentional so far, because a crash is special. But it will be fine... Double click on a crashed clients opens it again. This was intentional so far, because a crash is special. But it will be fine...
More programs and icons added to the internal database.
2021-01-15 Version 0.2.1 2021-01-15 Version 0.2.1
Remove Nuitka as dependency. Build commands stay the same. Remove Nuitka as dependency. Build commands stay the same.

8
engine/findprograms.py

@ -76,7 +76,7 @@ class SupportedProgramsDatabase(object):
"luppp", "non-mixer", "non-timeline", "non-sequencer", "non-midi-mapper", "non-mixer-noui", "luppp", "non-mixer", "non-timeline", "non-sequencer", "non-midi-mapper", "non-mixer-noui",
"OPNplug", "qmidiarp", "qtractor", "zynaddsubfx", "jack_mixer", "OPNplug", "qmidiarp", "qtractor", "zynaddsubfx", "jack_mixer",
"hydrogen", "mfp", "shuriken", "laborejo", "guitarix", "radium", "hydrogen", "mfp", "shuriken", "laborejo", "guitarix", "radium",
"ray-proxy", "ray-jackpatch", "amsynth", "mamba", "ray-proxy", "ray-jackpatch", "amsynth", "mamba", "qseq66"
) #shortcut list and programs not found by buildCache_grepExecutablePaths because they are just shellscripts and do not contain /nsm/server/announce. ) #shortcut list and programs not found by buildCache_grepExecutablePaths because they are just shellscripts and do not contain /nsm/server/announce.
self.userWhitelist = () #added dynamically to morePrograms. highest priority self.userWhitelist = () #added dynamically to morePrograms. highest priority
self.userBlacklist = () #added dynamically to blacklist. highest priority self.userBlacklist = () #added dynamically to blacklist. highest priority
@ -149,7 +149,11 @@ class SupportedProgramsDatabase(object):
allDesktopEntries = [] allDesktopEntries = []
for basePath in xdgPaths: for basePath in xdgPaths:
for f in basePath.glob('**/*'): for f in basePath.glob('**/*'):
self.progressHook(f"{f}") try: #TODO: this whole part of the program is a mess. Confiparser and Qt in a bundle segfault too often.
self.progressHook(f"{f}")
except Exception as e:
logger.error(e)
pass
if f.is_file() and f.suffix == ".desktop": if f.is_file() and f.suffix == ".desktop":
config.clear() config.clear()
try: try:

Loading…
Cancel
Save