-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serve DLNA doesn't work on Android #7316
Comments
I think you should be able to set the interface manually with this
I don't know what the interface should be but Did you use the version of rclone that termux build or the one from rclone's downloads? If you haven't tried the termux one, then give that a go. |
I'm using the version from rclone Android testbuilds link. Before the official release of 1.64.0 I also build from source using termux on my phone and I was getting the same error, but I don't know if I was doing something wrong, so I waited for the official release of 1.64.0 to test the
So I tried to run rclone with this command:
and I got this:
the same message appears if I try to use --interface with lo |
patches golang/go#61089 you can patch go files in /data/data/com.termux/files/usr/lib/go I replaced "io/fs" with "internal/oserror" termux rclone
my own compiled after patching go files
neutron player can access this dlna server |
Great work patching Go to make this work. Probably what you should do is comment on the Gerrit CL and/or on the GitHub PR that you've tried the patch and it resolves this issue (with a link to this issue) and we can hope that it gets some traction with the Go developers. |
It worked! Thanks a lot! |
@romanovj neutron player? |
Upstream solution for this is a fork of |
What is the problem you are having with rclone?
rclone serve dlna
doesn't work on Android.What is your rclone version (output from
rclone version
)rclone v1.64.0
Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Which cloud storage system are you using? (e.g. Google Drive)
OneDrive for Business
The command you were trying to run (e.g.
rclone copy /tmp remote:tmp
)A log from the command with the
-vv
flag (e.g. output fromrclone -vv copy /tmp remote:tmp
)If I try to use
serve dlna
on my Android phone, rclone starts the service, but it doesn't go anywhere.Probably has something to do with the error list network interfaces: route ip+net: netlinkrib: permission denied
Searching for this error on Google, it seems to be related to golang/gomobile actually, but I'm not sure, and I don't even know if rclone works on Android without root, so there's also that.
I'm running termux (f-droid build) updated && upgraded + latest rclone from the Android testbuilds page.
Please let me know if you want me to run any tests on my device.
Thanks in advance!
How to use GitHub
The text was updated successfully, but these errors were encountered: