jaseg / python-mpv

Python interface to the awesome mpv media player
https://git.jaseg.de/python-mpv.git
Other
543 stars 68 forks source link

PyGObject embedding example #150

Closed Axel-Erfurt closed 3 years ago

Axel-Erfurt commented 3 years ago

You show add this to the PyGObject embedding example

import locale
locale.setlocale(locale.LC_NUMERIC, 'C')
jaseg commented 3 years ago

Interesting, does it break otherwise? We have a similar problem with Qt, since Qt re-sets the locale when it's loading.