feat: add compatible compact series inventory mode (1.4.1)

This commit is contained in:
Mikei386 committed 2026-10-11 23:11:16 +02:00
1 parent 1e484e37d3
commit 840877807e
12 files changed
+275 -15

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ function callTool($name,$args,$expectError=false) {
return json_decode($r['content'][0]['text'],true,512,JSON_THROW_ON_ERROR);
}
$init=rpc('initialize',(object)[]);
requireTrue(in_array($init['serverInfo']['version'],['1.3.0','1.4.0'],true),'Expected loaded eMCPy 1.3.0 or 1.4.0');
requireTrue(in_array($init['serverInfo']['version'],['1.3.0','1.4.0','1.4.1'],true),'Expected loaded compatible eMCPy');
$tools=rpc('tools/list',(object)[]);
requireTrue(count($tools['tools'])>=18,'Expected at least the existing 18 tools');
$search=callTool('emby_search',['query'=>'Proper People','type'=>'Series']);