Package Details: tidal-hifi-bin 5.11.0-1

Git Clone URL: https://aur.archlinux.org/tidal-hifi-bin.git (read-only, click to copy)
Package Base: tidal-hifi-bin
Description: The web version of Tidal running in electron with hifi support thanks to widevine.
Upstream URL: https://github.com/Mastermindzh/tidal-hifi
Keywords: electron hifi multimedia music player tidal
Licenses: custom:MIT
Conflicts: tidal-hifi
Provides: tidal-hifi
Submitter: Mar0xy
Maintainer: Mar0xy (Archttila)
Last Packager: Archttila
Votes: 39
Popularity: 2.13
First Submitted: 2022-04-01 06:59 (UTC)
Last Updated: 2024-05-05 19:33 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

kalessin commented on 2022-03-02 07:48 (UTC)

Hello @Mar0xy,

Thank you for the package, I was wondering if there was a known fix for the following issue:

$ makepkg
==> Making package: tidal-hifi 2.7.2-1 (Tue 01 Mar 2022 11:36:59 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading tidal-hifi-2.7.2.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   137  100   137    0     0    384      0 --:--:-- --:--:-- --:--:--   383
100 2897k    0 2897k    0     0  1655k      0 --:--:--  0:00:01 --:--:-- 3684k
  -> Found tidal-hifi.desktop
==> Validating source files with md5sums...
    tidal-hifi-2.7.2.zip ... Passed
    tidal-hifi.desktop ... Passed
==> Extracting sources...
  -> Extracting tidal-hifi-2.7.2.zip with bsdtar
==> Starting prepare()...
found init-nvm.sh in /usr/share/nvm, sourcing...
Downloading and installing node v16.14.0...
Downloading https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-x64.tar.xz...
############################################################################################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v16.14.0 (npm v8.3.1)
Creating default alias: default -> lts/gallium (-> v16.14.0)
Now using node v16.14.0 (npm v8.3.1)

added 449 packages, and audited 450 packages in 1m

26 packages are looking for funding
  run `npm fund` for details

1 high severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
npm notice 
npm notice New minor version of npm available! 8.3.1 -> 8.5.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.5.2
npm notice Run npm install -g npm@8.5.2 to update!
npm notice 
==> Starting build()...
nvm
nvm command found, using system version..

> tidal-hifi@2.7.2 build-arch
> electron-builder --publish=never -c ./build/electron-builder.pacman.yml

  • electron-builder  version=22.14.5 os=5.15.24-1-lts
  • loaded configuration  file=/stash/goinfre/pkgbuild/tidal-hifi/src/tidal-hifi-2.7.2/build/electron-builder.pacman.yml
  • loaded parent configuration  file=/stash/goinfre/pkgbuild/tidal-hifi/src/tidal-hifi-2.7.2/build/electron-builder.yml
  • writing effective config  file=dist/builder-effective-config.yaml
  • rebuilding native dependencies  dependencies=abstract-socket@2.1.1, register-scheme@0.0.2 platform=linux arch=x64
  ⨯ cannot execute  cause=exit status 1
                    errorOut=npm ERR! code 1
    npm ERR! path /stash/goinfre/pkgbuild/tidal-hifi/src/tidal-hifi-2.7.2/node_modules/register-scheme
    npm ERR! command failed
    npm ERR! command sh -c node-gyp rebuild
    npm ERR! make: Entering directory '/stash/goinfre/pkgbuild/tidal-hifi/src/tidal-hifi-2.7.2/node_modules/register-scheme/build'
    npm ERR!   CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
    npm ERR!   AR(target) Release/obj.target/../node-addon-api/src/nothing.a
    npm ERR!   COPY Release/nothing.a
    npm ERR!   CXX(target) Release/obj.target/register-protocol-handler/src/addon.o
    npm ERR!   CXX(target) Release/obj.target/register-protocol-handler/src/register_linux.o
    npm ERR!   SOLINK_MODULE(target) Release/obj.target/register-protocol-handler.node
    npm ERR! make: Leaving directory '/stash/goinfre/pkgbuild/tidal-hifi/src/tidal-hifi-2.7.2/node_modules/register-scheme/build'
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@8.4.1
    npm ERR! gyp info using node@16.14.0 | linux | x64
    npm ERR! gyp info find Python using Python version 3.10.2 found at "/usr/bin/python3"
    npm ERR! gyp http GET https://electronjs.org/headers/v8.5.2/node-v8.5.2-headers.tar.gz
    npm ERR! gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v8.5.2/node-v8.5.2-headers.tar.gz
    npm ERR! gyp http GET https://electronjs.org/headers/v8.5.2/SHASUMS256.txt
    npm ERR! gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v8.5.2/SHASUMS256.txt
    npm ERR! gyp info spawn /usr/bin/python3
    npm ERR! gyp info spawn args [
    npm ERR! gyp info spawn args   '/stash/goinfre/pkgbuild/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
    npm ERR! gyp info spawn args   'binding.gyp',
    npm ERR! gyp info spawn args   '-f',
    npm ERR! gyp info spawn args   'make',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   '/stash/goinfre/pkgbuild/tidal-hifi/src/tidal-hifi-2.7.2/node_modules/register-scheme/build/config.gypi',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   '/stash/goinfre/pkgbuild/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   '/stash/goinfre/pkgbuild/.electron-gyp/8.5.2/include/node/common.gypi',
    npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
    npm ERR! gyp info spawn args   '-Dvisibility=default',
    npm ERR! gyp info spawn args   '-Dnode_root_dir=/stash/goinfre/pkgbuild/.electron-gyp/8.5.2',
    npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/stash/goinfre/pkgbuild/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp',
    npm ERR! gyp info spawn args   '-Dnode_lib_file=/stash/goinfre/pkgbuild/.electron-gyp/8.5.2/<(target_arch)/node.lib',
    npm ERR! gyp info spawn args   '-Dmodule_root_dir=/stash/goinfre/pkgbuild/tidal-hifi/src/tidal-hifi-2.7.2/node_modules/register-scheme',
    npm ERR! gyp info spawn args   '-Dnode_engine=v8',
    npm ERR! gyp info spawn args   '--depth=.',
    npm ERR! gyp info spawn args   '--no-parallel',
    npm ERR! gyp info spawn args   '--generator-output',
    npm ERR! gyp info spawn args   'build',
    npm ERR! gyp info spawn args   '-Goutput_dir=.'
    npm ERR! gyp info spawn args ]
    npm ERR! gyp info spawn make
    npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
    npm ERR! /usr/bin/ld: Release/obj.target/register-protocol-handler/src/addon.o: warning: relocation against `_ZTVN4Napi12AsyncContextE' in read-only section `.text._ZN4Napi12AsyncContextD0Ev[_ZN4Napi12AsyncContextD5Ev]'
    npm ERR! /usr/bin/ld: Release/obj.target/register-protocol-handler/src/addon.o: relocation R_X86_64_PC32 against symbol `_Z3RPHRKN4Napi12CallbackInfoE' can not be used when making a shared object; recompile with -fPIC
    npm ERR! /usr/bin/ld: final link failed: bad value
    npm ERR! collect2: error: ld returned 1 exit status
    npm ERR! make: *** [register-protocol-handler.target.mk:150: Release/obj.target/register-protocol-handler.node] Error 1
    npm ERR! gyp ERR! build error 
    npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
    npm ERR! gyp ERR! stack     at ChildProcess.onExit (/stash/goinfre/pkgbuild/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
    npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:520:28)
    npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
    npm ERR! gyp ERR! System Linux 5.15.24-1-lts
    npm ERR! gyp ERR! command "/stash/goinfre/pkgbuild/.nvm/versions/node/v16.14.0/bin/node" "/stash/goinfre/pkgbuild/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    npm ERR! gyp ERR! cwd /stash/goinfre/pkgbuild/tidal-hifi/src/tidal-hifi-2.7.2/node_modules/register-scheme
    npm ERR! gyp ERR! node -v v16.14.0
    npm ERR! gyp ERR! node-gyp -v v8.4.1
    npm ERR! gyp ERR! not ok

    npm ERR! A complete log of this run can be found in:
    npm ERR!     /stash/goinfre/pkgbuild/.npm/_logs/2022-03-02T07_38_15_968Z-debug-0.log

                    command=/stash/goinfre/pkgbuild/.nvm/versions/node/v16.14.0/bin/node /stash/goinfre/pkgbuild/.nvm/versions/node/v16.14.0/lib/node_modules/npm/bin/npm-cli.js rebuild abstract-socket@2.1.1 register-scheme@0.0.2
                    workingDir=
==> ERROR: A failure occurred in build().
    Aborting...
$

Mar0xy commented on 2022-02-16 23:40 (UTC)

@chrisnell, As the error says it seems you have a older node version installed than the wanted version "wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})"

chrissnell commented on 2022-02-10 18:01 (UTC) (edited on 2022-02-10 18:03 (UTC) by chrissnell)

Hi @Mar0xy -- having some trouble building

make: Leaving directory '/tmp/makepkg/tidal-hifi/src/tidal-hifi-2.7.1/node_modules/mpris-service/node_modules/dbus-next/node_modules/abstract-socket/build' npm WARN engine punycode@2.1.1: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})

electron@16.0.4 postinstall /tmp/makepkg/tidal-hifi/src/tidal-hifi-2.7.1/node_modules/electron node install.js

/tmp/makepkg/tidal-hifi/src/tidal-hifi-2.7.1/node_modules/electron/install.js:3 const { version } = require('./package'); ^

SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10) at startup (node.js:140:18) at node.js:1043:3 npm ERR! Linux 5.15.22-1-lts npm ERR! argv "/home/cjs/.nvm/versions/node/v4.9.1/bin/node" "/home/cjs/.nvm/versions/node/v4.9.1/bin/npm" "install" npm ERR! node v4.9.1 npm ERR! npm v2.15.11 npm ERR! code ELIFECYCLE

npm ERR! bufferutil@4.0.6 install: node-gyp-build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bufferutil@4.0.6 install script 'node-gyp-build'. npm ERR! This is most likely a problem with the bufferutil package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp-build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs bufferutil npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls bufferutil npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /tmp/makepkg/tidal-hifi/src/tidal-hifi-2.7.1/npm-debug.log

Any ideas here?

mastermindzh commented on 2021-06-29 06:20 (UTC)

Hey @therist,

Do you have any idea what kind of command the headphones send? If we know that we can build in the support for them.

Best to hop on over on github after you found the command so that I can make a build you can test :)

therist commented on 2021-06-28 17:17 (UTC)

Hey @mastermindzh

Thank you very much for that detailed response. I did some research and it seems MQA is not a Linux thing at this point, sadly.

Would it be too much to ask for the app to accept the pause command? I have Sony MX4 headphones and they have auto pause feature on double tap or if they detect they are not on the head anymore. I got used to that, and I would love if I could use it in this app too. Autopause works with youtube for example, so I am certain the pause command is successfully registered in the OS. Probably this app doesn't listen to this command.

mastermindzh commented on 2021-06-28 15:51 (UTC)

Hey Therist,

We would have to build in the "MQA" decoder to play master quality. That isn't really possible at the moment with the wrapped website unfortunately.

In terms of usage, the app is pretty heavy. It's an electron app which basically means it runs an entire instance of chrome for the app. Besides that it also has to do the music playback (which is easy) and decoding (which is a little harder).

I'm on a much beefier CPU and I'm seeing 1-2% usage whilst playing music, 3-4% when playing video and an immeasurable amount of resources in standby. So I'd say that 7-10% isn't too unrealistic on an i7 8550U. Note though that Chrome will take resources if they are available but give them back once they are needed elsewhere.

That's part of the reason why other electron apps (like Slack and Microsoft Teams) take so many resources as well.

I'd take the performance metrics with a grain of salt unless they are actually causing problems.

therist commented on 2021-06-28 15:26 (UTC)

Hey @mastermindzh thank you for the information there. So how do we get this app to be verified? :) Would you happen to know the process?

One more thing, I am noticing constant CPU usage in the range of 7-10% caused by the app, on my T480, CPU is i7 8550U. Is that normal?

mastermindzh commented on 2021-06-26 13:38 (UTC)

Hey @therist,

Happy to serve. No way to play master quality unfortunately. That is reserved for Tidal verified apps :/

Enjoy regardless!

therist commented on 2021-06-25 17:08 (UTC)

Hi there champ, I love what you did here, giving us the ability to enjoy our expensive headphones. Thank you for that.

Any way this can play master tracks from tidal?