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

The right mpv to use with your module #131

Open
mikeconnell opened this issue Aug 6, 2020 · 5 comments
Open

The right mpv to use with your module #131

mikeconnell opened this issue Aug 6, 2020 · 5 comments

Comments

@mikeconnell
Copy link

Having problems with python3 modules for MPV, because I'm not using the right MPV version. I'm using Linux Mint XCFE 19.3, which is based on Ubuntu 18.04. I was wondering if you guys could direct me to right version of MPV that will work with Ubuntu 18.04. I have had to rebuild OS three times because of problems with getting MPV, Python3, wxpython4, and the python MPV module to work together. It seems to be a one shot thing, and after all pieces are loaded it either works or it doesn't, and after the choices are made nothing besides an OS rebuild will get all the pieces back to what they were. If you can suggest the MPV version that will work with my OS, python3 and your module, I will give it a shot. thanks in advance

@McSinyx
Copy link
Contributor

McSinyx commented Aug 7, 2020

Hi, AFAIK libmpv1 from your distro's repository should work just fine.

@nhamilakis
Copy link

I am having similar issues, libmpv1 and libmpv-dev which are the only two versions available via apt, both throw the following error : libmpv.so.1: undefined symbol: mpv_render_context_create.
I am on ubuntu 18.04 with python 3.7.9.
And trying to run the default minimal example in the readme :

import mpv

player = mpv.MPV(ytdl=True)
player.play('https://youtu.be/DOmdB7D-pUU')
player.wait_for_playback()

@jaseg
Copy link
Owner

jaseg commented Dec 15, 2020 via email

@nhamilakis
Copy link

Thank you for the reply, yes i suspected the issue was there, do you think if i take the latest version of mpv from their github and compile it manually it will work with the latest version of python-mpv ?

A good practice for future versions of python-mpv would be to have a compatibility table somewhere in the readme or wiki for each version, it would be very usefull when setting up to know which version targets which, even if its just breaking changes.

Cheers :)

@jaseg
Copy link
Owner

jaseg commented Dec 15, 2020 via email

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

4 participants