Custom property returns empty using IPC socket #14662
-
Hello, I am working on a custom script that sets the rating tag (via mutagen) for the currently playing file. I have that working and now I want to read the value using IPC socket. To do that, I thought using a custom property might work since I couldn't get [rate_file] Set script-opts/rating to ['1'] echo '{ "command": ["get_property", "script-opts"] }' | socat - /tmp/mpvsocket
{"data":{},"request_id":0,"error":"success"} The only topic I found discussing getting custom properties via IPC is #10732 and the method there doesn't seem to work anymore. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
script-opts
doesn't support setting or accessing sub-properties with/
. You can useuser-data/rating
.