Skip to content

Custom JACK client/port names always written to global ray_canvas.json, not just the session #294

Description

@zzzeek

Hi -

I've been using RaySession for some months now and with increased use I find myself switching between multiple sessions that do entirely different recording configurations (one is for making drum cover videos, the other is for recording a band). I actually plug different cables into my focusrite 18i20 so I'm trying to have different labels in different sessions for things, but the labeling is coming out as effectively global and very difficult to maintain two different sets of labels. it seems sort of intentional maybe but im not sure how this is useful.

When you rename a JACK client or port in the patchbay canvas, the name gets saved to both the session-local .ray_canvas.json , and then it seems to stay persistent in RaySession and stays there when you close the session; it continues to persist when you open a new session, where it also prevents you from renaming anything you've named (this seems to be a different bug in HoustonPatchBay). When you close all of raysession it shows up in the global ray_canvas.json in the config directory.

This is with 0.17.4 and also 0.18.0 but I dont see any changelog or issue referencing this.

Using some tooling I identified in src/daemon/canvas_saver.py, the save_group_custom_name and save_port_custom_name both call save_group/save_port on both custom_names_config (global) and custom_names_session (session-local). it's not clear if this is the intent.

I can actually edit the global raysession file to remove the extra names there but things get kind of confusing when you do that since I dont think the tool was ever tested like that.

here's some screenshots to clarify what im doing:

  1. an audio device
Image
  1. renaming one of the ports in the device (ignore that "jack pretty name" checkbox, I normally am unchecking that, which does not affect the behavior)
Image
  1. it's in session local .ray_canvas.json
Image
  1. after closing out raysession it's also in the global one
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions