miraclx / freyr-js

A tool for downloading songs from music streaming services like Spotify and Apple Music.
https://git.io/freyr-js
Apache License 2.0
1.58k stars 103 forks source link

Output file #0 does not contain any stream #391

Closed Aidenbiggg closed 1 year ago

Aidenbiggg commented 1 year ago

When trying to download a song it says Output file #0 does not contain any stream

PS C:\Users\Aiden\Music\90s 2000s 2010s> freyr https://music.apple.com/ca/album/bizarre-love-triangle-94/42029668?i=42029675 -T
    ____
   / __/_______  __  _______
  / /_/ ___/ _ \/ / / / ___/
 / __/ /  /  __/ /_/ / /
/_/ /_/   \___/\__, /_/
              /____/ v0.8.1

freyr - (c) Miraculous Owonubi <omiraculous@gmail.com>
------------------------------------------------------
Checking directory permissions...[done]
[https://music.apple.com/ca/album/bizarre-love-triangle-94/42029668?i=42029675]
 [•] Identifying service...[Apple Music]
 [•] Checking authentication...[authenticated]
 Detected [track]
 Obtaining track metadata...[done]
  ➤ Title: Bizarre Love Triangle '94
  ➤ Album: The Best of New Order
  ➤ Artist: New Order
  ➤ Year: 1994
  ➤ Playtime: 03:54
 [•] Collating...
 • [02 Bizarre Love Triangle '94]
    | ➤ Collating sources...
    |  ➤ [•] YouTube Music...[success, found 7 sources]
    | ➤ Awaiting audiofeeds...[done]
    | [✓] Got album art
    | [✓] Got raw track file
    | [•] Post Processing...
 [•] Download Complete
 [•] Embedding Metadata...
  • [✕] 02 Bizarre Love Triangle '94 [apple_music:track:42029675] (failed: Error while encoding audio [ffmpeg exited with code 1: Output #0, ipod, to '02 Bizarre Love Triangle '94.m4a':
Output file #0 does not contain any stream
])
[•] Collation Complete
============ Stats ============
 [•] Runtime: [9.1s]
 [•] Total queries: [01]
 [•] Total tracks: [01]
     » Skipped: [00]
     ✓ Passed:  [00]
     ✕ Failed:  [01]
 [•] Output directory: [.]
 [•] Cover Art: cover.png (640x640)
 [•] Total Output size: 0.00 B
 [•] Total Network Usage: 50.63 KB
     ♫ Media: 17.99 KB
     ➤ Album Art: 32.63 KB
 [•] Output bitrate: 320k
===============================
miraclx commented 1 year ago

Duplicate of https://github.com/miraclx/freyr-js/issues/323, https://github.com/miraclx/freyr-js/issues/162.

This issue has been fixed upstream, although a new release is still yet to be cut.

You can resolve this right away with the solution highlighted here: https://github.com/miraclx/freyr-js/issues/162#issuecomment-1245434390

$ yarn install miraclx/freyr-js#master

Or use the latest release of the git docker image

$ docker pull freyrcli/freyrjs-git:master

Feel free to close once your issue has been resolved.

Aidenbiggg commented 1 year ago

Duplicate of #323, #162.

This issue has been fixed upstream, although a new release is still yet to be cut.

You can resolve this right away with the solution highlighted here: #162 (comment)

$ yarn install miraclx/freyr-js#master

Or use the latest release of the git docker image

$ docker pull freyrcli/freyrjs-git:master

Feel free to close once your issue has been resolved.

it still says it

C:\Users\Aiden>yarn install miraclx/freyr-js#master
yarn install v1.22.19
warning package.json: No license field
error `install` has been replaced with `add` to add new dependencies. Run "yarn add miraclx/freyr-js#master" instead.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

C:\Users\Aiden>yarn add miraclx/freyr-js#master
yarn add v1.22.19
warning package.json: No license field
warning No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

warning No license field
success Saved 1 new dependency.
info Direct dependencies
└─ freyr@0.8.1
info All dependencies
└─ freyr@0.8.1
Done in 2.76s.

C:\Users\Aiden>cd C:\Users\Aiden\Music\90s 2000s 2010s

C:\Users\Aiden\Music\90s 2000s 2010s>freyr https://music.apple.com/ca/album/bizarre-love-triangle-94/42029668?i=42029675

    ____
   / __/_______  __  _______
  / /_/ ___/ _ \/ / / / ___/
 / __/ /  /  __/ /_/ / /
/_/ /_/   \___/\__, /_/
              /____/ v0.8.1

freyr - (c) Miraculous Owonubi <omiraculous@gmail.com>
------------------------------------------------------
Checking directory permissions...[done]
[https://music.apple.com/ca/album/bizarre-love-triangle-94/42029668?i=42029675]
 [•] Identifying service...[Apple Music]
 [•] Checking authentication...[authenticated]
 Detected [track]
 Obtaining track metadata...[done]
  ➤ Title: Bizarre Love Triangle '94
  ➤ Album: The Best of New Order
  ➤ Artist: New Order
  ➤ Year: 1994
  ➤ Playtime: 03:54
 [•] Collating...
 • [02 Bizarre Love Triangle '94]
    | ➤ Collating sources...
    |  ➤ [•] YouTube Music...[success, found 7 sources]
    | ➤ Awaiting audiofeeds...[done]
    | [✓] Got album art
    | [✓] Got raw track file
    | [•] Post Processing...
 [•] Download Complete
 [•] Embedding Metadata...
  • [✕] 02 Bizarre Love Triangle '94 [apple_music:track:42029675] (failed: Error while encoding audio [ffmpeg exited with code 1: Output #0, ipod, to 'New Order\The Best of New Order\02 Bizarre Love Triangle '94.m4a':
Output file #0 does not contain any stream
])
[•] Collation Complete
============ Stats ============
 [•] Runtime: [11.4s]
 [•] Total queries: [01]
 [•] Total tracks: [01]
     » Skipped: [00]
     ✓ Passed:  [00]
     ✕ Failed:  [01]
 [•] Output directory: [.]
 [•] Cover Art: cover.png (640x640)
 [•] Total Output size: 0.00 B
 [•] Total Network Usage: 50.63 KB
     ♫ Media: 17.99 KB
     ➤ Album Art: 32.63 KB
 [•] Output bitrate: 320k
===============================
miraclx commented 1 year ago

Right! It's not yarn install, it's yarn global add.

So this becomes yarn global add miraclx/freyr-js#master

Aidenbiggg commented 1 year ago

Right! It's not yarn install, it's yarn global add.

So this becomes yarn global add miraclx/freyr-js#master

tried it does not work

C:\Users\Aiden>yarn global add miraclx/freyr-js#master
yarn global v1.22.19
warning package.json: No license field
[1/4] Resolving packages...
warning miraclx/freyr-js#master > @ffmpeg/ffmpeg > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning miraclx/freyr-js#master > spotify-web-api-node > superagent@6.1.0: Please upgrade to v7.0.2+ of superagent.  We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing.  See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
warning miraclx/freyr-js#master > spotify-web-api-node > superagent > formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "freyr@0.8.1" with binaries:
      - freyr
Done in 49.65s.

C:\Users\Aiden>cd C:\Users\Aiden\Music\90s 2000s 2010s

C:\Users\Aiden\Music\90s 2000s 2010s>freyr https://music.apple.com/ca/album/bizarre-love-triangle-94/42029668?i=42029675
    ____
   / __/_______  __  _______
  / /_/ ___/ _ \/ / / / ___/
 / __/ /  /  __/ /_/ / /
/_/ /_/   \___/\__, /_/
              /____/ v0.8.1

freyr - (c) Miraculous Owonubi <omiraculous@gmail.com>
------------------------------------------------------
Checking directory permissions...[done]
[https://music.apple.com/ca/album/bizarre-love-triangle-94/42029668?i=42029675]
 [•] Identifying service...[Apple Music]
 [•] Checking authentication...[authenticated]
 Detected [track]
 Obtaining track metadata...[done]
  ➤ Title: Bizarre Love Triangle '94
  ➤ Album: The Best of New Order
  ➤ Artist: New Order
  ➤ Year: 1994
  ➤ Playtime: 03:54
 [•] Collating...
 • [02 Bizarre Love Triangle '94]
    | ➤ Collating sources...
    |  ➤ [•] YouTube Music...[success, found 7 sources]
    | ➤ Awaiting audiofeeds...[done]
    | [✓] Got album art
    | [✓] Got raw track file
    | [•] Post Processing...
 [•] Download Complete
 [•] Embedding Metadata...
  • [✕] 02 Bizarre Love Triangle '94 [apple_music:track:42029675] (failed: Error while encoding audio [ffmpeg exited with code 1: Output #0, ipod, to 'New Order\The Best of New Order\02 Bizarre Love Triangle '94.m4a':
Output file #0 does not contain any stream
])
[•] Collation Complete
============ Stats ============
 [•] Runtime: [10.8s]
 [•] Total queries: [01]
 [•] Total tracks: [01]
     » Skipped: [00]
     ✓ Passed:  [00]
     ✕ Failed:  [01]
 [•] Output directory: [.]
 [•] Cover Art: cover.png (640x640)
 [•] Total Output size: 0.00 B
 [•] Total Network Usage: 50.63 KB
     ♫ Media: 17.99 KB
     ➤ Album Art: 32.63 KB
 [•] Output bitrate: 320k
===============================
miraclx commented 1 year ago

What's the output of which yarn? How did you install freyr originally?

And what's the output of echo %path%?

Aidenbiggg commented 1 year ago

What's the output of which yarn? How did you install freyr originally?

And what's the output of echo %path%?

used npm install -g freyr

C:\Users\Aiden>echo %path%
C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Hewlett-Packard\SimplePass\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\ffmpeg\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\dotnet\;C:\Program Files (x86)\Streamlink\bin;C:\Program Files\Go\bin;C:\Program Files\dotnet\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\PowerShell\7\;C:\Program Files\Docker\Docker\resources\bin;C:\Users\Aiden\AppData\Local\Streamlink\bin;C:\Users\Aiden\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\Aiden\AppData\Local\Programs\Python\Python310\;C:\Users\Aiden\scoop\shims;C:\Users\Aiden\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Aiden\AppData\Local\Programs\Python\Python39\;C:\Users\Aiden\AppData\Local\Microsoft\WindowsApps;C:\Users\Aiden\AppData\Local\atom\bin;C:\Program Files\Microsoft VS Code\bin;C:\Users\Aiden\AppData\Local\Microsoft\WindowsApps;C:\aria2;C:\Users\Aiden\go\bin;C:\Users\Aiden\AppData\Roaming\npm;C:\AtomicParsley;C:\Users\Aiden\AppData\Local\spicetify
miraclx commented 1 year ago

In that case, you should've used npm install -g miraclx/freyr-js#master instead of yarn.

Aidenbiggg commented 1 year ago

In that case, you should've used npm install -g miraclx/freyr-js#master instead of yarn.

Thanks for the help.