Skip to content

Commit

Permalink
MVR-xchange: small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
vanous committed Jan 30, 2025
1 parent e3b36f3 commit 1e32579
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dmx.py
Original file line number Diff line number Diff line change
Expand Up @@ -2055,6 +2055,9 @@ def createMVR_Client(
application_uuid = prefs.get(
"application_uuid", str(py_uuid.uuid4())
) # must never be 0
if self.mvrx_per_project_station_uuid:
application_uuid = self.project_application_uuid

if application_uuid == station_uuid:
if not DMX_Log.log.isEnabledFor(logging.DEBUG):
DMX_Log.log.info(
Expand Down
2 changes: 1 addition & 1 deletion panels/protocols/mvr.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def execute(self, context):
if commit.commit_uuid == self.uuid:
DMX_Log.log.info(f"import {commit}")
path = os.path.join(
ADDON_PATH, "assets", "mvrs", f"{commit.commit_uuid}.mvr"
ADDON_PATH, "assets", "mvrs", f"{commit.commit_uuid.lower()}.mvr"
)
DMX_Log.log.info(path)
dmx.addMVR(path)
Expand Down

0 comments on commit 1e32579

Please sign in to comment.