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

How to debug player startup problems? #3

Open mocsa opened 6 years ago

mocsa commented 6 years ago

In the past weeks yt2p has stopped working for me several times. Clicking on a YouTube link does nothing. Sometimes the problem was that I added an option (like --volume=70) after the mpv.exe command. Sometimes it stopped working without any warning.

My problem is that I could not find any possibility to debug what happens in the background. Yt2p just stops working silently and I have to do an endless trial and error to find out how to fix it. In the past days, yt2p stopped working again and now I simply cannot make it work after 3 days of struggling. This is frustrating.

What is even worse, when I change the mpv.exe command in the add-on settings I don't know whether yt2p uses the new command. I also don't know whether I have to refresh the page with the video link to make yt2p use the new command.

Please, make a short guide on how can I see the output of mpv.exe. I guess, it would show me if my command in the add-on settings is incorrect or if any other problem happened during mpv.exe startup.

I'm on Firefox 57.0.1, Windows 10 and native client 4.2. Actually, when I installed native client 4.2 it screwed yt2p up. I installed it because the add-on prompted me that a new version of the client is available. When I went back to native client 4.0 it fixed the problem for 1-2 days but then it stopped working again and now it refuses to work both with native client 4.0 and 4.2.

sumzary commented 6 years ago

yt2p will pick up the new command immediately after changing it in the options. With 4.3 command output should be printed in the console (Ctrl+Shift+J) and shown with a notification. So how's 4.3?

mocsa commented 6 years ago

For a while I will not have time to test this. But thanks for your reply and hopefully this will be useful to other users, as well.