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

Ogg file support? #156

Open
happyleibniz opened this issue Jun 21, 2024 · 0 comments
Open

Ogg file support? #156

happyleibniz opened this issue Jun 21, 2024 · 0 comments

Comments

@happyleibniz
Copy link

Does this project supports ogg?
because i get an error when playing an ogg file.

playingsample-1.ogg as ogg

    Error 263 for command:
        open sample-1.ogg
    The specified device is not open or is not recognized by MCI.

    Error 263 for command:
        close sample-1.ogg
    The specified device is not open or is not recognized by MCI.
Failed to close the file: sample-1.ogg
Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    ogg.play()
  File "C:/Users/Spinoza/Downloads/Video/audio.py", line 32, in play
    playsound(self.filename)
  File "C:\Users\Spinoza\AppData\Local\Programs\Python\Python310\lib\site-packages\playsound.py", line 72, in _playsoundWin
    winCommand(u'open {}'.format(sound))
  File "C:\Users\Spinoza\AppData\Local\Programs\Python\Python310\lib\site-packages\playsound.py", line 64, in winCommand
    raise PlaysoundException(exceptionMessage)
playsound.PlaysoundException: 
    Error 263 for command:
        open sample-1.ogg
    The specified device is not open or is not recognized by MCI.
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