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

Native app is not installed #8

Open
sr-tream opened this issue Apr 4, 2020 · 3 comments
Open

Native app is not installed #8

sr-tream opened this issue Apr 4, 2020 · 3 comments

Comments

@sr-tream
Copy link

sr-tream commented Apr 4, 2020

I install latest version of extension and native app. After click on URL it open video in mpv, but after close mpv it show notification "native app is not installed" and open extension settings. I try to use wrapper for mpv with force return 0 after close, but it does not help me.

OS Linux.

Firefox 72

@TilCreator
Copy link

TilCreator commented May 3, 2020

Can confirm this bug, here is also the list of subprocesses that spawn mpv:

   2213 tilcreato  20   0 5525M 1412M  530M S  7.1  6.4  3h42:04 ├─ /usr/lib64/firefox/firefox
 731140 tilcreato  20   0  7480  3256  2800 S  0.0  0.0  0:00.00 │  ├─ /bin/sh /home/tilcreator/.local/lib/ee.sumzary.yt2p/host.sh /home/tilcreator/.mozilla/native-messaging-hosts/ee.sumzary.yt2p.json [email protected]
 731143 tilcreato  20   0  7480  3396  2932 S  0.0  0.0  0:00.00 │  │  └─ /bin/sh ./luajit host.lua /home/tilcreator/.mozilla/native-messaging-hosts/ee.sumzary.yt2p.json [email protected]
 731145 tilcreato  20   0  4776  2660  2176 S  0.0  0.0  0:00.08 │  │     └─ /home/tilcreator/.local/lib/ee.sumzary.yt2p/data/linux64/luajit-bin host.lua /home/tilcreator/.mozilla/native-messaging-hosts/ee.sumzary.yt2p.json [email protected]
 731146 tilcreato  20   0  7480  2796  2460 S  0.0  0.0  0:00.00 │  │        └─ sh -c ./luajit "/tmp/lua_A26oxX" 2>&1
 731147 tilcreato  20   0  7480  3488  3024 S  0.0  0.0  0:00.00 │  │           └─ /bin/sh ./luajit /tmp/lua_A26oxX
 731149 tilcreato  20   0  4388  2204  2036 S  0.0  0.0  0:00.00 │  │              └─ /home/tilcreator/.local/lib/ee.sumzary.yt2p/data/linux64/luajit-bin /tmp/lua_A26oxX
 731150 tilcreato  20   0 3309M  422M 95804 S 23.8  1.9  6:49.69 │  │                 └─ /usr/bin/mpv --fs https://www.youtube.com/watch?v=<someid>

@TilCreator
Copy link

The error seams to be in the native app that fails to return valid JSON, but don't really understand the native app...

@TilCreator
Copy link

I wrote a replacement Python native app: https://github.com/TilCreator/yt2p
I way don't support all features, but most things should work fine, without error.

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