update and cleanup repo
This commit is contained in:
@@ -52,7 +52,7 @@ from SYS.result_table import ResultTable
|
||||
|
||||
table = ResultTable("Plugin: X results").set_preserve_order(True)
|
||||
table.set_table("plugin_name")
|
||||
table.set_table_metadata({"provider": "plugin_name", "view": "folders"})
|
||||
table.set_table_metadata({"plugin": "plugin_name", "view": "folders"})
|
||||
table.set_source_command("search-file", ["-plugin", "plugin_name", "query"])
|
||||
|
||||
for result in results:
|
||||
@@ -114,8 +114,8 @@ SearchResult(
|
||||
media_kind="folder",
|
||||
full_metadata={
|
||||
"magnet_id": 123,
|
||||
"provider": "alldebrid",
|
||||
"provider_view": "folders",
|
||||
"plugin": "alldebrid",
|
||||
"plugin_view": "folders",
|
||||
},
|
||||
)
|
||||
```
|
||||
@@ -130,8 +130,8 @@ SearchResult(
|
||||
media_kind="file",
|
||||
full_metadata={
|
||||
"magnet_id": 123,
|
||||
"provider": "alldebrid",
|
||||
"provider_view": "files",
|
||||
"plugin": "alldebrid",
|
||||
"plugin_view": "files",
|
||||
},
|
||||
)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user