-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature request > Keyboard shortcut(s) #4
Comments
I am outside of my city this week, so I cannot test. But doesn't TAB key switch from one element to others in the app? Once with focus on volume, if I remember right, using arrows will increase/decrease the value. |
Thank you for the response. Unfortunately, that isn't a beneficial solution. To illustrate: I use a app called Voice Meeter (it allows me to use two sound cards independently). It accepts keyboard shortcuts for volume control. While I'm watching a full screen movie on my media PC I can send those keyboard shortcuts to the PC through Unified Remote, Home Assistant, etc. Thus I can increase or decrease the volume without pausing the movie (or resizing its window). Using the TAB key (as you describe) assumes that pySVS is running in the foreground and that one is either physically controlling the PC, or is remotely controlling it. Either way the movie experience would be interrupted. Let's say I'm watching Game of Thrones and there's a battle scene. It would be nice to be able to turn up the bass from my phone. At this point, one might ask, why not just use the SVS app? On Android the app is crap. Every time you open it, it crashes. So then you reopen it and then you have to wait 10 another seconds or so for it to reestablish its Bluetooth connection with the sub. I assume pySVS would maintain a persistent connection with the sub. If pySVS accepted keyboard shortcuts it could run continuously on the media PC and process commands on-the-fly. And I could control it through the same interface I already use to control media volume, balance, toggle subtitles on/ off, control the lighting in my house, the thermostat, yadda yadda yadda. Even if SVS eventually get around to fixing their app... who needs it?! Sorry for the verbose explanation / thanks for reading. |
This scenario is too specific for me to commit changes in pysvs just for this. But if I correctly understood what you want to achieve, probably is way easier for you to just use the command line mode, this way you can send commands to the sub in the background: python3 pysvs.py -o -30 Run this and it will set volume on the sub to -30dB. python3 pysvs.py -o A And then with basic output filtering you can achieve relative volume change. |
It's true that I've presented a very niche scenario. Perhaps I went into too much detail about my specific objective. I would expect that keyboard shortcuts would benefit a lot of users / scenarios. But command line mode may be a great solution for my needs, thanks for the suggestion. I can't figure out how to determine the MAC address of my SVS PB-1000 Pro however. There's no MAC sticker on the back of the sub and the app offers no clue. What am I missing?! |
I found the MAC address by using a third-party Bluetooth scanner. I'm running W11 / Ubuntu (via Windows Subsystem for Linux)
|
Yes, total newbie. I subseqently realized that by "Windows" you probably mean installing Python in Windows. So I've done that and installed bleak, pillow and requests. When I try to run pySVS from Windows Command Prompt:
|
OS Name Microsoft Windows 11 Pro Python 3.12.0 (tags/v3.12.0:0fb18b0, Oct 2 2023, 13:03:39) [MSC v.1935 64 bit (AMD64)] on win32
|
Hi @logon84,
If you would consider adding keyboard shortcut support to this app (volume up/down is all I would personally need) then I would be able to pass those command(s) to my media center box from Home Assistant on all of my devices. And that would be sweet.
🙏
The text was updated successfully, but these errors were encountered: