namidaco / namida

A Beautiful and Feature-rich Music & Video Player with Youtube Support, Built in Flutter
Other
2.09k stars 127 forks source link

[BUG] FormatException: Unexpected character (at character 1) SyntaxError: unexpected line terminator in regexp #354

Closed SREESANTH373737 closed 1 day ago

SREESANTH373737 commented 6 days ago
unable to play music or video ## Expected Behavior it should play audio and video ## Current Behavior showing error ![Screenshot_20240926-003644.png](https://github.com/user-attachments/assets/d1edce88-dd21-450f-a175-c1fdc42a33c5) ## Steps to Reproduce
  1. Just play any video in history

Screenshots

yes ## Logs

Possible Solution

VerySweetBread commented 6 days ago

go to youtube settings -> flags at top right -> set client to ios

From Discord

AppleMangoOrange commented 5 days ago

go to youtube settings -> flags at top right -> set client to ios

From Discord

Thank you for the solution. For future reference (and for others looking to fix this issue), the error shown is:

Error: FormatException: Unexpected character (at character 1)

SyntaxError: unexpected line

terminator in regexp
^
Error computing sig
MSOB7YY commented 1 day ago

@VerySweetBread thanks lmao

@AppleMangoOrange pls note that ios client has limited quality options

this whole thing is fixed in beta v4.5.0

  1. update to beta v4.5.0 from here (use clone if u want to test it as a separate app) https://github.com/namidaco/namida-snapshots/releases
  2. optional: go to settings -> youtube -> flag icon at top right -> REFRESH_JS_PLAYER & make sure INNERTUBE_CLIENT is set to Default
SREESANTH373737 commented 1 day ago

Then when we will get major update than this beta update?

MSOB7YY commented 1 day ago

@SREESANTH373737 no idea yet. most stuff are pretty stable already except for video indexing & playback. it can crash sometimes and tag editing is not very stable