auto-m4b icon indicating copy to clipboard operation
auto-m4b copied to clipboard

Arm support

Open hackmonker opened this issue 3 years ago • 16 comments

It is currently only amd64 supported. any chances of an arm64 image too? even m4b-tool support arm now. really want to try it out in my rpi. thanks a lot

hackmonker avatar Jun 17 '22 05:06 hackmonker

Looks like we need to set the right dependency in the docker run command per https://github.com/sandreas/m4b-tool/issues/165

I don't have any arm based hw to test.

seanap avatar Jun 17 '22 13:06 seanap

In case you wanted it, this is my docker container for arm https://hub.docker.com/r/hackmonker/m4b-tool. I am using it for the old method along with organize (linux) instead of dropit (windows). works exactly like the old method but with only linux. But really wanted to bring everything together which this definitely does.

hackmonker avatar Jun 17 '22 14:06 hackmonker

Does your docker work for both arm and amd64?

seanap avatar Jun 17 '22 14:06 seanap

not sure. I mainly made it for arm but i can build for both. let me check

hackmonker avatar Jun 17 '22 14:06 hackmonker

ok I am building it. it will work for both arm and amd

edit: tested and works for both arm and amd now

hackmonker avatar Jun 17 '22 15:06 hackmonker

Sweet, when I get some time I'll create a beta branch and see what it takes to integrate the two

seanap avatar Jun 17 '22 15:06 seanap

Any success on an arm version? just wanted to know if it is not working for some reason?

hackmonker avatar Dec 11 '22 18:12 hackmonker

Sorry, I don't have an arm device to do any testing, I compared the differences between our docker run files but wasn't sure what all needed to be modified.

seanap avatar Dec 11 '22 19:12 seanap

Oh I see. Well will try to see if I can build a container myself

hackmonker avatar Jan 13 '23 14:01 hackmonker

@hackmonker Did you manage to get it to work on the Pi?

nov1n avatar Mar 01 '23 08:03 nov1n

There is an official Docker image for arm now: https://github.com/sandreas/m4b-tool/issues/187

nov1n avatar Mar 01 '23 18:03 nov1n

I'm also very interested in running this on a raspberry pi (arm64). Are there any updates on getting this working?

Doug411 avatar May 06 '23 16:05 Doug411

@hackmonker @seanap Very interested in getting arm64 support for this, how could I help? I have access to both hardware architectures.

SpencerMKSmith avatar May 31 '23 20:05 SpencerMKSmith

Found another fork that seems to have attempted this same thing: https://github.com/seanap/auto-m4b/commit/09d335348b19bd02812191361b7d534fb57f807f

Going to try pulling it to see if it works.

SpencerMKSmith avatar Jun 01 '23 02:06 SpencerMKSmith

I modified the tracking baseimage tag to be Jammy rather than master. After doing that I was able to build on my RPi and successfully merge an audiobook. I'll give it a few more books to ensure it's running correctly, and also check it on a Windows machine, then I'll put up a PR.

SpencerMKSmith avatar Jun 01 '23 16:06 SpencerMKSmith

PR for my changes: https://github.com/seanap/auto-m4b/pull/35

SpencerMKSmith avatar Jun 09 '23 15:06 SpencerMKSmith