Replies: 1 comment 7 replies
-
|
The most difficult part of your work will be implementing the backend, to actually make it work. The file format is the easiest part. All that comes after this will be the state of that partition. That includes playback modes, seek position and the queue (current playlist) and so on. Additionally, each output assigned to that partition needs to be listed here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am taking a look at what is involved in saving/restoring partition state. This is all behind the scenes and not exposed to the user.
For outputs, the current format is this:
It seems reasonable to do this:
This will allow straightforward read of the current format (on first run) and not be too bad looking on save. For example:
I have the basics of that working just to prove it out but have not tested it fully.
However when it comes to the player state (and probably volume state) I am not sure what direction to go in as far as format.
Here is an example of current state:
Changing this by adding the label seems like it may be involved parsing/generating it. Any recommendations on what format should be used? I think it is going to be pretty involved for me technically so want to start on something at least close to final approach.
Of course, if the format of the whole state file should be revamped at this point that would be good to know too. There are some radically different options such as per partition state files or formats that segregate out the partitions from each other in a single file.
Beta Was this translation helpful? Give feedback.
All reactions