SwagLyrics / SwagLyrics-For-Spotify

📃 Get lyrics of currently playing Spotify song so you don't sing along with the wrong ones and embarrass yourself later. Very fast.
https://pypi.org/project/swaglyrics/
MIT License
316 stars 35 forks source link

[FEATURE] Open lyrics with a desired browser (not default) #2879

Open dmnmsc opened 2 years ago

dmnmsc commented 2 years ago

Is your feature request related to a problem? Please describe. I miss an option to open lyrics in a different webrowser. I like to see the lyrics in a tiny panel (wihout search bar, buttons and so) next to spotify. So everytime I open swaglyrics I need to resize and move my browser. Problem comes when I open a different link and goes to that tiny window -I need to resize it as well.

Describe the solution you'd like I'd like to have a flag or an option to set the browser you want to use: swaglyrics -t google-chrome-stable

Describe alternatives you've considered We could also open swaglyrics with a web application installed by a browser. I.E: swaglyrics -t /opt/google/chrome/google-chrome --profile-directory=Default --app-id=XXXXXXXXXXXXXXXXXXXXX --app-url=http://127.0.0.1:5042/

Thank you very much-

aadibajpai commented 2 years ago

I will look into seeing how python can open a page using a non-default browser. I am not super sure I understand the web application installed by a browser part, how does that work?

Thanks for using swaglyrics!

dmnmsc commented 2 years ago

Thank you very much!

I am not super sure I understand the web application installed by a browser part, how does that work? Using browsers as chromium, chrome or edge you can open websites as a standalone apps. You just need to tap install or create a shortcut: image

Then you will see this dialog allowing you to set window mode image

And then you will have the website installed as an app -being able to launch it from your system launcher. This app won't have search bar and will be independent to browser. So this way we can resize the app and use it as a tiny panel. Moreover, links won't open on this new standalone app but in default browser. image