apple-music-for-linux icon indicating copy to clipboard operation
apple-music-for-linux copied to clipboard

snapcraft build for armhf / arm64

Open jonathantneal opened this issue 4 years ago • 11 comments

Would you be willing to include a build for armhf so that we can run this snap from Raspberry Pi devices?

jonathantneal avatar Dec 31 '20 14:12 jonathantneal

Hey @jonathantneal, would you mind giving this build a try on your RPi and let me know how it is:

snap install apple-music-for-linux --candidate

MarcusTomlinson avatar Jan 19 '21 20:01 MarcusTomlinson

Yes, I will do it this evening, @MarcusTomlinson, and I’ll let you know how it goes. Thanks!

jonathantneal avatar Jan 19 '21 20:01 jonathantneal

Thank you! The installer works perfectly. The program launches perfectly. The program requests that I install Widevine, and that installation works perfectly.

The player itself does not work — unfortunately alerting the “Failed to load because no supported source was found” message. However, I believe this is a problem related to Chromium and Widevine. The same issue occurs in the Chromium that ships.

If I find a solution you can integrate, tho, I can let you know in a separate issue. For what it’s worth, Chromium (Media Edition) does work. I’m not really sure what that project is doing differently, but Apple Music will play through that version of the browser.

So, if/once the issue related to Chromium is resolved, your release will immediately work. 🎉 Thank you, again!

Feel free to direct me to try more things, or to close this if you are comfortable with this level of resolution (which, I am).

jonathantneal avatar Jan 20 '21 02:01 jonathantneal

Ok so the issue here is that there's no easy way to download a legitimate arm build of Widevine. The only way I can see doing this is to download and mount a ChromeOS recovery image (roughly 1GB) and extract the required files, but that'd be a terrible user experience. I'll have to think about this more (probably not soon though, sorry).

In the meantime, you could try obtaining a Widevine arm build yourself and placing it in ~/snap/apple-music-for-linux/current/.local/lib/WidevineCdm/_platform_specific/linux_arm to see if that works. You may also need an updated ~/snap/apple-music-for-linux/current/.local/lib/WidevineCdm/manifest.json.

MarcusTomlinson avatar Jan 21 '21 09:01 MarcusTomlinson

I have the "Failed to load because no supported source was found” error. I used the Widevine installer as suggested by the app. I can play albums as expected but i cannot play playlists that I have made of songs available on the service. Can you advise any please?

Actionparsnip avatar Jan 26 '21 17:01 Actionparsnip

@Actionparsnip armhf does not work correctly yet unfortunately. See my previous comment.

MarcusTomlinson avatar Jan 26 '21 17:01 MarcusTomlinson

@Actionparsnip armhf does not work correctly yet unfortunately. See my previous comment.

Thanks. No worries. Is it OK on arm64 or is that the same story?

Actionparsnip avatar Jan 26 '21 17:01 Actionparsnip

Is it OK on arm64 or is that the same story?

Same story. Sorry.

MarcusTomlinson avatar Jan 26 '21 17:01 MarcusTomlinson

Thanks. I really appreciate the replies :)

Actionparsnip avatar Jan 26 '21 18:01 Actionparsnip

Following

sorriso93 avatar Feb 23 '21 10:02 sorriso93

Asahi Linux provides a widevine installer for arm

mavonarx avatar Dec 12 '23 20:12 mavonarx