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 python is too long #22

Closed
xoitx opened this issue Dec 20, 2019 · 5 comments
Closed

The python is too long #22

xoitx opened this issue Dec 20, 2019 · 5 comments

Comments

@xoitx
Copy link

xoitx commented Dec 20, 2019

Hi,
So I'm getting this even after --x11-bypass...

[py part] Starting interSubs ...V: 0.000
QCssParser::parseColorValue: Specified color with alpha value but no alpha given: 'rgba 44, 44, 44'
QCssParser::parseColorValue: Specified color with alpha value but no alpha given: 'rgba 44, 44, 44'
/home/water/.config/mpv/scripts/interSubs.py:1572: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
self.subtitles.setGeometry(x, y, 0, 0)
/home/water/.config/mpv/scripts/interSubs.py:1575: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
self.subtitles2.setGeometry(x, y, 0, 0)
/home/water/.config/mpv/scripts/interSubs.py:1192: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
blur_color = QColor(outline_color.red(), outline_color.green(), outline_color.blue(), alpha)

Any clues?
THanks

@oltodosel
Copy link
Owner

oltodosel commented Dec 20, 2019

Those are just warnings now and do not have any impact. Just ignore them.

@xoitx
Copy link
Author

xoitx commented Dec 20, 2019

But the displayed subtitles appear and then disappear in a flash. The default subtitle files is working fine it's after I press F5 this happens. Is this supposed to happen? Am I missing the controls? The github page mentioned some controls but I'm assuming it's after the subtitles are shown persistently.

@oltodosel
Copy link
Owner

Those warnings have nothing to do with your issue.
Are you on KDE?
Try solutions from #12

@oltodosel oltodosel reopened this Dec 20, 2019
@xoitx
Copy link
Author

xoitx commented Dec 23, 2019

No, I'm on i3wm. I tried with compton and without, using --x11-bypass... and without. Still the same. Does it necessarily need one of the compositors mentioned on the github page?

@oltodosel
Copy link
Owner

Without a composite manager it won't work. Try other compositors. Or use Tk version without it.
Try #12 (comment).

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

2 participants