GithubHelp home page GithubHelp logo

Comments (4)

miraclx avatar miraclx commented on May 23, 2024

Hi, can you run this again with SHOW_DEBUG_STACK=1 env set?

That is: SHOW_DEBUG_STACK=1 freyr <YOUR QUERY>

Where <YOUR QUERY> is replaced by your query.

from freyr-js.

G5dwe1 avatar G5dwe1 commented on May 23, 2024
SHOW_DEBUG_STACK=1 freyr https://music.apple.com/us/album/24-hour-cinderella-full-spec-edition/1492268749?i=1492268750&ls
[1] 24749
download  pycares-4.3.0  pycares-4.3.0.tar.gz  storage
~ $     ____
   / __/_______  __  _______
  / /_/ ___/ _ \/ / / / ___/
 / __/ /  /  __/ /_/ / /
/_/ /_/   \___/\__, /_/
              /____/ v0.10.1

freyr - (c) Miraculous Owonubi <[email protected]>
------------------------------------------------------
Checking directory permissions...[done]
[https://music.apple.com/us/album/24-hour-cinderella-full-spec-edition/1492268749?i=1492268750]
 [•] Identifying service...[Apple Music]
 [•] Checking authentication...[authenticated]
 Detected [track]
 Obtaining track metadata...(failed: [AppleMusicError: Request failed with status code 401
    at ResourceClient.<anonymous> (/data/data/com.termux/files/home/.config/yarn/global/node_modules/@yujinakayama/apple-music/dist/resourceClient.js:57:23)
    at Generator.next (<anonymous>)
    at fulfilled (/data/data/com.termux/files/home/.config/yarn/global/node_modules/@yujinakayama/apple-music/dist/resourceClient.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  httpStatusCode: 401,
  response: undefined
}])
 [i] An error occurred while processing the query
============ Stats ============
 [•] Runtime: [3.3s]
 [•] Total queries: [01]
 [•] Total tracks: [00]
     » Skipped: [00]
     ✓ Passed:  [00]
     ✕ Failed:  [00]
 [•] Output directory: [.]
 [•] Total Output size: 0.00 B
 [•] Total Network Usage: 0.00 B
     ♫ Media: 0.00 B
     ➤ Album Art: 0.00 B
 [•] Output bitrate: 320k
===============================

from freyr-js.

miraclx avatar miraclx commented on May 23, 2024

This is fine, the access token for your version of freyr has expired. I've updated the source code, but I haven't cut a new version of freyr just yet.

Linked: #610

I'll cut a new version in a bit.

from freyr-js.

miraclx avatar miraclx commented on May 23, 2024

Also, the original error seems to be related to this fixed issue - fc29256

I experienced it myself as well and fixed it.

Once I cut a new version, it should be gone.

If you want to test it before the release, follow these instructions in the "build from source" dropdown on the README.md

git clone https://github.com/miraclx/freyr-js.git freyr
cd freyr
npm install
npm link

from freyr-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.