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

Plugin API #6

Open
MulverineX opened this issue Jun 24, 2023 · 10 comments
Open

Plugin API #6

MulverineX opened this issue Jun 24, 2023 · 10 comments

Comments

@MulverineX
Copy link

Ability to write plugins that add services and/or features to the app. This would enable people to add support for sites & features that are not going to be supported by this app, eg. less than legal sites, offline saving, etc.

@Alex313031
Copy link
Owner

@MulverineX I wont write a plugin API, because I'm not smart enough at javascript to know how to do it.

However, adding services that are not there by default can be done by editing https://github.com/Alex313031/quark-player/blob/master/src/default-services.js

@MulverineX
Copy link
Author

Okay, might as well keep this open in case someone else decides to implement it. I have the skills to, but not the time and motivation currently.

@trimechee
Copy link

Amazing! I just found a trick to be able to access all the sites you want, just activate the google service in settings/enable/disable services and voila, you have the google search engine and you can access all the desired websites!! Thank you very much Mr Alex :)

@trimechee
Copy link

The enormous swing to use Quark Player to watch the streaming video instead of using google Chrome, firefox and other web browsers is that on Quark Player, we can dodge the security captha tests, the Capchta causes to me waste a lot of time and caused me a big fatigue by watching this series, almost at each episode, there is a captcha sometimes very hard :
https://v5.voiranime.com/anime/dragon-ball-vf/dragon-ball-z-255-vf/

This is why we hope the great @Alex313031 will add an extension for the Dark Mode and the ratio aspect in Our Beloved Quark Player: Dark-BackGroup-Light-Text-Extension and Ultrawideo extension , or option to enable Dark mode flag of Chromium, thank You!

@trimechee
Copy link

Hello Mr @Alex313031 , I would like to recommend Quark player to a friend, it will be easier for him that google serice is enabled by default, and also I like to use Quark Player in fullscreen and I enabled fullscreen and farmless windows options then I didn't know how to close the program because no GUI and "close" button is showing....it will be nice to add right click option "exit program", thanks :)

@Alex313031
Copy link
Owner

@trimechee On windows, you can use Ctrl + F4 or Ctrl + Q. On linux, you can use Ctrl + Q.

You can toggle frameless window by using Ctrl + Alt + F. You can use that to get out of a frameless window and show the menubar. You can also use Ctrl + N to open a new window, and Ctrl + W to close a window, similar to chromium.

@trimechee
Copy link

Magnificent ! Thank you !💯 🥇

@Alex313031
Copy link
Owner

@trimechee Sorry I meant Alt + F4 not Ctrl + F4.

Alt F4 is the universal shortcut to close a windows .exe. It will work with anything, and cannot be overridden by any application, it is hard coded into the windows shell. SO when in doubt, or you cant figure out how to close an app, ALt + F4 will work.

@trimechee
Copy link

@Alex313031 Very very important and interesting, thank you so much for these precious informations ! 💯

@big610
Copy link

big610 commented May 14, 2024

@MulverineX I wont write a plugin API, because I'm not smart enough at javascript to know how to do it.

However, adding services that are not there by default can be done by editing https://github.com/Alex313031/quark-player/blob/master/src/default-services.js

Adding Custom Favorites:
@Alex313031 you can combine #14 & #48
Subjects Bookmarks & Allow adding custom urls as service to main menu.

For those wanting to know how to add custom favorites on your own:
Windows: I can't find the file default-services.js Looked thoroughly thru Users\user name\Quark PlayerAppData\Roaming
Where is it located? Different name or same name?
macOS:
Applications>Quark Player>Left Click Right Click Show Package Contents>Contents>Resources>app.asar.upacked>default-services.js
Copy & save original, to restore if needed. Edit your custom adding, using text. Overwrite existing file.
I know how to Inspect & use an app for the Color Hex.
I have successfully added my custom favorites, they play fine.
Kept hidden: true. Without fails to launch.
I can't get the logo to apply? Tried both svg & png. Inspecting other Default apps, thru browser Inspect, does not follow your Electron logo format: imgs/name.svg or imgs/name.png; both which I tried,?

I'm interested in knowing how to change the App Order?; editing the Services Enable/Disable Default Services check-marks Order, where is the exact location?

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

4 participants