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

Operating StreamDeck from a terminal #325

Closed
wants to merge 15 commits into from
Closed

Operating StreamDeck from a terminal #325

wants to merge 15 commits into from

Conversation

asuka1975
Copy link

Hi, thanks for this useful software!

I am submitting a Pull Request to add a new feature to your project. This feature allows for controlling a device called StreamDeck through the terminal.

At this point, the feature only allows for transitioning StreamDeck pages. I have added the ability to navigate to a specific page within the StreamDeck-UI using the --page or -p option, followed by the page index.

For example, the command streamdeckc --page 1 will navigate to the second page of the StreamDeck-UI.

To send commands to the StreamDeck-UI, the feature uses a Unix domain socket located at /tmp/streamdeck-ui.sock. I have tested the code and it appears to be working correctly.

While I believe they will be beneficial to users, I understand that any changes to a project's codebase can be cause for concern. If there are any concerns you have regarding the changes I have made, please let me know and I would be happy to discuss them with you. I am committed to ensuring that the changes I have made are in the best interest of the project and its users.

I would be grateful for your review.


Closes #299

hungr and others added 12 commits April 18, 2023 22:16
…on instructions via socket communication.

    * The server run in separate threads.
    * Communication takes place via the /tmp/streamdeck.sock file.
    * The content of the communication is in json format.
…ation.

    * The communication content consists of a 4-byte header part indicating the data size and a data part with the data size indicated in the header part.
    * The ~Command class has an execute method that operates the StreamDeck
@coolapso
Copy link

HI, seems the main project as reached a stale state as the project owner seems to have disappeared, and we are trying to keep it alive.

you are welcome to participate in the discussion here: #357 so we can actually decide a path forward and hopefully accept your contribution into it.

@coolapso
Copy link

@asuka1975 feel free to move this PR to: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui

please be sure to read the new contribution guide specially in regard to git commits.

@asuka1975 asuka1975 closed this by deleting the head repository Aug 10, 2023
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

Successfully merging this pull request may close these issues.

How to control streamdeck from terminal
3 participants