andy-portmen / open-in-vlc

a browser extension to send media links to VLC media player
https://webextension.org/listing/open-in-vlc.html
Mozilla Public License 2.0
116 stars 55 forks source link

Background ? #49

Closed trimechee closed 3 months ago

trimechee commented 4 months ago

Hello, a developer said about Native client: "..... it requires running separate nodejs client in the background performing as a man in the middle https://github.com/andy-portmen/native-client this is a 30MB full embedded chrome running all the time :( "

so I have a few questions please:

by reading the changelog of a previous version of native client, I discover that we are supposed to install nodejs: "It is recommended to have NodeJS installed on your system to use the NodeJS-based native clients (windows.zip, linux.zip , and mac.zip)."

so our beloved Open-in-vlc does not work 100% if nodejs is not installed? native client is not enough? do we have to install native client and nodejs at the same time? I tried to install nodejs but nodejs tells me nodejs is no longer compatible with windows 7 os unfortunately.....

My second question please, is this true native client, or nodejs will remain permanently active in the background even when you close the web browser or vlc player? I ask the question because my laptop is old and weak and manufactured in 2012 so I have to save resources and avoid background processes.....

Thank you so much !

andy-portmen commented 3 months ago

No, the 30MB size refers to NodeJS. This extension uses NodeJS to run the executable and then the process exits. You can verify this by checking the task manager—there's no hidden Chrome or anything else. Additionally, you can review the source code, which is just a few lines of JavaScript.

trimechee commented 3 months ago

Obviously, we trust in our belovd Open-in-vlc :)

and precisely, we use Open-in-vlc because it allows us to save our old laptop and weak cpu and we can enjoy streaming in full hd on a 2012 windows 7 laptop, thank you very much!

My words were just a copy and paste of the words of Mr @raszpl who gave us advices and recommendations and tricks during a discussion 3 years ago on SMPlayer .... and it was just an an occasion to enlighten possible interrogations and answer certain questions :)

https://github.com/smplayer-dev/smplayer/discussions/198

Thank you again Mr @andy-portmen for this magnificent ecological extension 💯 🥇 which saves millions of machines from destruction and saves the wallets of millions of users !

I close the issue :)

Sorry, i have a question, and so we can use Open-in-vlc without installing NodeJS ? so installing NodeJS doesn't seem to be very important and necessary, right?

We hope also in the main page of Open-in-vlc, there will be a mention that it is recommended to install nodejs to avoid possible prblems... because the mention of installing NodeJS only exists in the changelog of an old version of native client and I myself did not know it is recommended to install NodeJS....

trimechee commented 3 months ago

Hello , it seems important and I like to run Open-in-vlc in optimal conditions , i did some research and i found a thread on nodejs for windows 7 , there are a bit complicated procedures to be able to install the latest version of NodeJS on winows 7 , others say the latest compatible version of nodejs with windows 7 is version 13 , "The immediate problem is that only older versions of Node.js allow installation on Windows 7. v13.14.0 is the latest version which supports Windows 7; v14.0.0 will only run on Windows 8 or newer. "

Mr @andy-portmen please, do you advise me to install NodeJS v13.14.0 for windows 7 or is this version of nodejs v13.14.0 too old and will not work with the new version of Open-in-vlc ?

a developer says: "Before starting to install anything I would highly recommend removing any existing Visual C++ packages that have been installed and performing a reboot afterwards."

https://gist.github.com/nullivex/7115612

so please, we should remove Visual C++ packages before install of nodejs?

andy-portmen commented 3 months ago

do you advise me to install NodeJS v13.14.0 for windows 7

No, just use the included NodeJS. There's no need to update NodeJS for this project. It only uses it for one second to open the native application, and that's all.

trimechee commented 3 months ago

Great ! Thank you so much :)