8000 OPUS and OGG files break the program · Issue #243 · swingmx/swingmusic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

OPUS and OGG files break the program #243

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

Open
fperdigon opened this issue Dec 27, 2024 · 0 comments
Open

OPUS and OGG files break the program #243

fperdigon opened this issue Dec 27, 2024 · 0 comments

Comments

@fperdigon
Copy link
fperdigon commented Dec 27, 2024

Hello, Great work!!! I love it

I am using the 2.0 version beta 3 docker image

ghcr.io/swingmx/swingmusic:v2.0.0.beta8@sha256:9f67b0331e1a778b4c6c4b73b934a9e3918733cb542dd5e4e00ec260275dde3d

I have noticed that OPUS and OGG files break the program
Not sure if the SwingMusic supports these audio formats.

Once I did convert all my audio formats to mp3 the issue was gone

Here is the error from the docker logs in portainer

 File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 1459, in <listcomp>


    flattened_processors[key](compiled_params[key])


  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/sql/sqltypes.py", line 2697, in process


    return json_serializer(value)


           ^^^^^^^^^^^^^^^^^^^^^^


  File "/usr/local/lib/python3.11/json/__init__.py", line 231, in dumps


    return _default_encoder.encode(obj)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "/usr/local/lib/python3.11/json/encoder.py", line 200, in encode


    chunks = self.iterencode(o, _one_shot=True)


             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "/usr/local/lib/python3.11/json/encoder.py", line 258, in iterencode


    return _iterencode(o, 0)


           ^^^^^^^^^^^^^^^^^


  File "/usr/local/lib/python3.11/json/encoder.py", line 180, in default


    raise TypeError(f'Object of type {o.__class__.__name__} '


sqlalchemy.exc.StatementError: (builtins.TypeError) Object of type bytes is not JSON serializabl
```e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0