Changed magnet metadata handling and added 'magnet.path.set'.

This commit is contained in:
rakshasa
2025-12-31 21:47:29 +01:00
committed by Jari Sundell
parent def6551488
commit 0b0c824b4b
7 changed files with 37 additions and 3 deletions
+3
View File
@@ -281,6 +281,9 @@ initialize_command_local() {
CMD2_ANY_V ("session.save", [dList](auto, auto) { return dList->session_save(); });
CMD2_ANY ("magnet.path", [](auto, auto) { return control->core()->magnet_path(); });
CMD2_ANY_STRING_V("magnet.path.set", [](auto, auto& str) { return control->core()->set_magnet_path(str); });
#ifdef HAVE_LUA
rpc::LuaEngine* lua_engine = control->lua_engine();