sumzary / yt2p

Watch videos in an external player.
https://addons.mozilla.org/en-US/firefox/addon/yt2p/
MIT License
22 stars 5 forks source link

Notification appears when player quits #5

Open predator8bit opened 6 years ago

predator8bit commented 6 years ago

Whenever I'm watching a video and I exit the player manually, or I let the video end so mpv quits automatically, the plugin opens a new settings tab and displays a popup, stating that the native app isn't installed and that I should check the settings.

yt2p_rep

Sometimes it displays a longer text, when I quit the player before the video finishes.

yt

predator8bit commented 6 years ago

Forgot to mention, this happens on Firefox 57 58 and 59 on 64bit Linux.

tillbaks commented 5 years ago

I've noticed this as well. I'm getting this error in console: Native application tried to send a message of 11659345 bytes, which exceeds the limit of 1048576 bytes. NativeMessaging.jsm:166 readPromise resource://gre/modules/NativeMessaging.jsm:166 I'll try to figure out what is going on in the native app.

tillbaks commented 5 years ago

I suspect it might be the terminal output of MPV like this: (i.e. AV: 3.4 (00:00:03.37) / 5320.6 ...) So adding --quiet or --really-quiet to the mpv command will probably help. It did solve my issue at least.