tidal-hifi
tidal-hifi copied to clipboard
Build for arm64 linux
Would be nice to be able to run on arm64 linux without having to compile myself
Any movement on this? Thanks!
I am opening a new update inside electron by castlabs with a solution for Widevine on arm64 platforms like Fedora Asahi for Apple M series macbooks https://github.com/castlabs/electron-releases/issues/23#issuecomment-1874133501
Hey,
Yeah still waiting for Castlab to introduce ARM support eventually. I mean, we can make an ARM build available if you want but it won't have widevine support I reckon.
I don't know if that's a problem since you're now building it yourself anyway. Let me know.
Hey,
Yeah still waiting for Castlab to introduce ARM support eventually. I mean, we can make an ARM build available if you want but it won't have widevine support I reckon.
I don't know if that's a problem since you're now building it yourself anyway. Let me know.
I initially made my issue related to M1 Macs with Asahi Linux. Asahi uses https://github.com/AsahiLinux/widevine-installer for Widevine and it might be possible to implement that and maybe even make it work on Raspberry Pis
@Mastermindzh We could uses the asahi linux widevine installer for arm64 builds. I can test it if you want.
Sure, give it a whirl and let me know. I expect to work on a new version of Tidal Friday so we might be able to include this in the weekend :)
Hey,
Yeah still waiting for Castlab to introduce ARM support eventually. I mean, we can make an ARM build available if you want but it won't have widevine support I reckon.
I don't know if that's a problem since you're now building it yourself anyway. Let me know.
Yes, I am using an ubuntu vm on m1 mac. I'd be happy to test without widevine support and see if there's any issues without the drm. Thanks!
Well the app build properly but I am trying to add widevine support on Fedora for Macbooks.
I have support for widevine on Firefox and Chromium browsers as you can see here
The cdm is here
But after trying to make electron read the Widevine from path as recomended by Fedora mantainers
// * `widevinecdm.dll` on Windows.
try {
app.commandLine.appendSwitch('widevine-cdm-path', '/usr/lib64/chromium-browser/WidevineCdm/_platform_specific/linux_arm64/libwidevinecdm.so')
app.commandLine.appendSwitch('widevine-cdm-version', '4.10.2662.3')
console.log(`Widevine CDM path: ${app.commandLine.getSwitchValue('widevine-cdm-path')}`)
} catch (error) {
console.log(error)
}
Widevine is not being taken from proper directory.
I feel I am close to fix it but dont know how.
@andirsun how did this go? Were you able to get an arm64 build working?
@Spl0itable Actually no, I was not able to make electron read local Widevine CDM, so I ended creating a PWA shorcut using Chromium.
I think our best shot is to wait for castlabs to support arm64 officially.
@andirsun Ah no, sorry to hear that. Wish it had worked. Thanks for trying.
Thanks for all the effort @andirsun. Let's hope the ARM support issue/ticket is prioritized relatively quickly :)
so is this possible to use if I compile myself? or will i still be limited without widevine?
@cenunix Yep you can compile the project by yourself but unless you are able to make electron read you widevine path to reproduce DRM protected content, the app will not play anything.