Playlist~: Array or Dictionary... or Array (or Dictionary)?

tommi's icon

Howdy folks,
I need [playlist~] to load a dictionary previously exported by the [playlist~] itself, like "save" & "open", you know...
Since I was not able to find any information on how to do it and simply passing the dictionary to the [playlist~] does not seem to work at all, I tried to parse the [playlist~] generated Dict to extract just the filepaths and feed them back to [playlist~] via [prepend append].
I had quite a hard time at it because of the behaviour I tried to exemplify with the attached patcher.

Please load one file in [playlist~] and look at what is the detected type (= dictionary), then load more files and see how it becomes an array... while the "bracketing" inside the Dict object remains the same (!).

Is this how it should be?
Or can you suggest a clean and easy way of doing what I wanted to do in the first place (reload a playlist)?

Thank you in advance,
Bests

typeTest.js
js
whatIsThis.maxpat
Max Patch