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

[Bug]: Syntax Error when downloading #2208

Closed
3 of 5 tasks
MiekoHikari opened this issue Jul 9, 2024 · 11 comments
Closed
3 of 5 tasks

[Bug]: Syntax Error when downloading #2208

MiekoHikari opened this issue Jul 9, 2024 · 11 comments
Labels
bug Something isn't working dependencies Pull requests that update a dependency file fix-available A fix to the issue is available in a new version

Comments

@MiekoHikari
Copy link

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.3.12.0

Checklists

What operating system are you using?

Windows

Operating System Version

Edition Windows 11 Home Version 23H2 Installed on ‎6/‎28/‎2024 OS build 22631.3737 Experience Windows Feature Experience Pack 1000.22700.1009.0

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

(assuming fresh install)

  1. Enable the downloader plugin
  2. Login with Google
  3. Change download directory
  4. Works for a while, after listening to multiple songs you will get an error pop up

Expected Behavior

The song to download

Actual Behavior

image
Syntax Error in all songs

Enabled plugins

  1. Discord Rich Presence
  2. Ad blocker (also doesn't work)
  3. In-App Menu
  4. Navigation

Additional Information

It works after I delete all user data in %appdata% but the issue appears again after a while

@TecnikOfficial
Copy link

TecnikOfficial commented Jul 9, 2024

experiencing same issue
but adblocker working ( with blocklists )

@4096Richard
Copy link

4096Richard commented Jul 9, 2024

I do Have this issue too it just happened today even though i have had this for half a year already and never had this issue
has anybody figured out anything because deleting the app data doesn't work right now
Another note if you enable blocklist in ad blocker it will work

@4096Richard
Copy link

4096Richard commented Jul 10, 2024

Another note i wanted to mention i decided to keep rolling back version to see if it was something new but i went all the way back to 2.0.1 and still had that same error
something to note while on the version 3.0.0 it didn't give me the syntax error instead a # name error thing
just something to note
Funny enough
Another note i went to down to 1.0.0 it just gave multiple errors and didn't even launch for me

@DrWafflePhD

This comment was marked as duplicate.

@Aleuso

This comment was marked as duplicate.

@MiekoHikari
Copy link
Author

MiekoHikari commented Jul 10, 2024

After inspecting the source code and playing with it for a while, I've found that:

This issue seems to be related to a dependency of the YT-MUSIC app (Youtubei.js)
Issue#683 in LaunRT/YouTube.js

Downgrading the package doesn't seem to work. (Looks like a change in the youtube API broke the package)

@JellyBrick
Copy link
Collaborator

This issue was caused by a breaking change in the YouTube internal API.

See LuanRT/YouTube.js#683

@JellyBrick JellyBrick added bug Something isn't working dependencies Pull requests that update a dependency file labels Jul 10, 2024
@JsThiago

This comment was marked as duplicate.

@JellyBrick
Copy link
Collaborator

Please do not comment "same here" (this will send a spam notification to everyone who is participating in the issue), instead hit the 👍 button.

@MiekoHikari
Copy link
Author

Commit: 0415745
Issue: #2218

The new package version of Youtubei.js fixed this issue; I've tested it on my own machine and it passed all tests like normal.

@JellyBrick
Copy link
Collaborator

fixed by #2218

@JellyBrick JellyBrick added the fix-available A fix to the issue is available in a new version label Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file fix-available A fix to the issue is available in a new version
Projects
None yet
Development

No branches or pull requests

7 participants