Dlna for Google Drive don't show folders content

What is the problem you are having with rclone?

rclone serve dlna for Google Drive don't show folders content (Error invoking urn:schemas-upnp-org:service:ContentDirectory:1: 701 bad ObjectID) - only files from root listed and can be played.
"Fresh" Package: rclone Version: 1.59.1-1 for OpenWRT 21.02-SNAPSHOT (64 bit)

Run the command 'rclone version' and share the full output of the command.

rclone v1.59.1

  • os/version: openwrt 21.02-SNAPSHOT (64 bit)
  • os/kernel: 5.4.238 (aarch64)
  • os/type: linux
  • os/arch: arm64
  • go/version: go1.17.12
  • go/linking: dynamic
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone serve dlna GoogleDrive: --name GDdlna

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

not supported

A log from the command that you were trying to run with the -vv flag

2024/11/20 11:00:55 INFO  : /static/X_MS_MediaReceiverRegistrar.xml: 192.168.1.123:53350 GET 200
2024/11/20 11:00:55 INFO  : /static/ConnectionManager.xml: 192.168.1.123:53350 GET 200
2024/11/20 11:00:55 INFO  : /static/ContentDirectory.xml: 192.168.1.123:53350 GET 200
2024/11/20 11:01:55 DEBUG : Google drive root '': Checking for changes on remote
2024/11/20 11:01:59 INFO  : /ctl: 192.168.1.123:53377 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2024/11/20 11:02:18 ERROR : DLNA server on :7879: Error invoking urn:schemas-upnp-org:service:ContentDirectory:1: 701 bad ObjectID "/Photo"
2024/11/20 11:02:18 ERROR : /ctl: 192.168.1.123:62497 POST 500 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"

So trying to change folder from root to existing Photo folder (or any other) give error.

This is very old rclone version. Please update to the latest one and try again.

Updated to version directly from rclone org
rclone v1.68.2

  • os/version: openwrt 21.02-snapshot (64 bit)
  • os/kernel: 5.4.238 (aarch64)
  • os/type: linux
  • os/arch: arm64 (ARMv8 compatible)
  • go/version: go1.23.3
  • go/linking: static
  • go/tags: none

Same error.

Also found something like this . About "TotalMatches" or "NumberReturned". Don't understand clearly its rclone dlna implementation problem or what.

P.S. And this rclone issue. "Closed" and looks like merged but for what version? May be not the same problem but close.

Little investigation.
Don't work folder change from old mediaplayer, but work from smartphone and VLC 3.5.7.
But I see some diffs - in VLC first contact with rclone dlna make "rescan" all folders in root so I see 4 lines like

INFO  : /ctl: 192.168.1.123:53377 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"

It's I guess 1 line for root and 3 lines for 3 subfolders.
But from old mediaplayer i see only one POST (for root only) in rclone log (and POST 500 error if try to go into "invisible" folder).

Don't have any problems with folders if connect from old mediaplayer to mini-dlna server. So its not really 100% client problem but rclone dlna implementation too. Need some workaround like maybe "force rescan folders" or correct ObjectID or type for exactly folders announced by rclone dlna (from GD share).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.