[mythtv] MythTV-Services: Content/GetDirList does not work
Peter Bennett
pb.mythtv at gmail.com
Mon Jul 7 18:31:52 UTC 2025
On 7/7/25 12:33, Roland Ernst wrote:
> The command:
> curl http://localhost:6544/Content/GetDirList?StorageGroup="Default"
> returns an empty list
> <?xml version="1.0" encoding="UTF-8"?>
> <DirList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> serializerVersion="1.1"/>
>
> In contrast, 'Content/GetFileList' works:
> curl http://localhost:6544/Content/GetFileList?StorageGroup="Default"
> returns:
> <?xml version="1.0" encoding="UTF-8"?>
> <FileList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> serializerVersion="1.1">
> <String>
> .....
> </String></FileList>
>
> This is MythTV v.36 -- master --, but from my docs I have from the
> past, v.29 did not work, either.
> Starting the backend with loglevel=debug and verbose=file' did not
> give me some hints.
>
> Any thoughts how to proceed ?
>
> Thanks,
> Roland
Use http://framework.lan:6544/Myth/GetStorageGroupDirs?GroupName=Default
<StorageGroupDirListxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"serializerVersion="1.1">
<StorageGroupDirs>
<StorageGroupDirversion="1.1">
<Id>1</Id>
<GroupName>Default</GroupName>
<HostName>framework</HostName>
<DirName>/home/storage/Video/mythtv-local/Default</DirName>
<DirRead>true</DirRead>
<DirWrite>true</DirWrite>
<KiBFree>1087903648</KiBFree>
</StorageGroupDir>
</StorageGroupDirs>
</StorageGroupDirList>
Also
http://framework.lan:6544/Myth/GetDirListing?Dirname=/home/storage/Video/mythtv-local/Default&Files=true
<DirListingxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"serializerVersion="1.1">
<String>10001_20240727133017.ts</String>
<String>10001_20240727133017.ts.0.-1x371.jpg</String>
<String>10001_20240727133017.ts.0.-1x67.jpg</String>
<String>10001_20240727133017.ts.png</String>
<String>10001_20240727134225.ts</String>
<String>10001_20240727134225.ts.0.-1x371.jpg</String>
<String>10001_20240727134225.ts.0.-1x67.jpg</String>
<String>10001_20240727134225.ts.png</String>
<String>10002_20250103211400.ts</String>
<String>10002_20250103211400.ts.0.-1x67.jpg</String>
<String>10002_20250103211400.ts.png</String>
<String>10002_20250103212000.ts</String>
<String>10002_20250103212000.ts.0.-1x67.jpg</String>
<String>10002_20250103212000.ts.png</String>
<String>10002_20250103212700.ts</String>
<String>10002_20250103212700.ts.0.-1x67.jpg</String>
<String>10002_20250103212700.ts.png</String>
<String>10002_20250104203600.ts</String>
<String>10002_20250104203600.ts.0.-1x371.jpg</String>
<String>10002_20250104203600.ts.0.-1x67.jpg</String>
<String>10002_20250104203600.ts.png</String>
<String>10002_20250105012700.ts</String>
<String>10002_20250105012700.ts.0.-1x371.jpg</String>
<String>10002_20250105012700.ts.0.-1x67.jpg</String>
...
<String>10702_20250105141100.ts.0.-1x67.jpg</String>
<String>10702_20250105141100.ts.png</String>
</DirListing>
I don't know about those Content calls that return nothing, perhaps they
should be removed.
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20250707/cf0a3c0c/attachment.htm>
More information about the mythtv-dev
mailing list