elibroftw / music-caster

Music Caster is a modern music player with the ability to cast audio files, system audio, and URLs to Google Chromecasts, Google Home/Nest Minis, etc.
https://elijahlopez.ca/music-caster/
Other
152 stars 17 forks source link

Keyboard shortcut for exiting program? #41

Closed tomhammond closed 2 years ago

tomhammond commented 2 years ago

Thanks for the excellent program, Elijah! I started using Music Caster for the first time last evening.

I like the numerous keyboard shortcuts available in the program. May you add a shortcut for fully closing the program (including the system tray icon)? That way I can create macros that will start Music Caster, play some music, then close it all with keyboard shortcuts.

Thank you!

Tom Hammond tominohio@gmail.com

elibroftw commented 2 years ago

There's an --exit option you can supply which will close existing instances. But I'll add ctrl + shift + q none the less.

See command line and rest API pages if there's anything more you wanted.

https://github.com/elibroftw/music-caster/wiki/

tomhammond commented 2 years ago

Thank you, Elijah! That will be most helpful. I need to find out what all of the command line options are. What a flexible program Music Caster is. thanks!

On Wed, Feb 16, 2022 at 12:32 PM Elijah Lopez @.***> wrote:

There's an --exit option you can supply. But I'll add ctrl + shift + w none the less.

— Reply to this email directly, view it on GitHub https://github.com/elibroftw/music-caster/issues/41#issuecomment-1041914284, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVBMB5WPJUOXEJSBJYUHA3U3PNTVANCNFSM5OSI6FWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

elibroftw commented 2 years ago

One more thing. You can even make a request to 127.0.0.1:2001/exit to trigger the exit, but you have to iterate both 2001 and 2002 in case the app could not bind to the 2001 port.