Skip to content
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

snapcraft build for armhf / arm64 #21

Open
jonathantneal opened this issue Dec 31, 2020 · 11 comments
Open

snapcraft build for armhf / arm64 #21

jonathantneal opened this issue Dec 31, 2020 · 11 comments

Comments

@jonathantneal
Copy link

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

@MarcusTomlinson
Copy link
Member

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

@jonathantneal
Copy link
Author

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

@jonathantneal
Copy link
Author

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).

@MarcusTomlinson
Copy link
Member

MarcusTomlinson commented Jan 21, 2021

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.

@Actionparsnip
Copy link

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?

@MarcusTomlinson
Copy link
Member

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

@Actionparsnip
Copy link

@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?

@MarcusTomlinson
Copy link
Member

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

Same story. Sorry.

@MarcusTomlinson MarcusTomlinson changed the title snapcraft build for armhf snapcraft build for armhf / arm64 Jan 26, 2021
@Actionparsnip
Copy link

Thanks. I really appreciate the replies :)

@sorriso93
Copy link

Following

@mavonarx
Copy link

Asahi Linux provides a widevine installer for arm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants