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

Attempting to add ASLA volume controls #168

Open
Pnub opened this issue Dec 9, 2022 · 6 comments
Open

Attempting to add ASLA volume controls #168

Pnub opened this issue Dec 9, 2022 · 6 comments

Comments

@Pnub
Copy link

Pnub commented Dec 9, 2022

Trying to add new keyboard shortcuts to allow for volume up and volume down, but any changes made to the video_looper.py script aren't reflected in the restart. Even a simple additional output in run to the console. What am I missing?

Once I get this working I'm curious if others would find it worthwhile.

@tofuSCHNITZEL
Copy link
Collaborator

you need to run python3 setup.py install --force from the install.sh so the package gets updated. you may also use "develop" instead of install - then it will just link to your source files (https://stackoverflow.com/questions/19048732/python-setup-py-develop-vs-install)

@SirVaxi
Copy link

SirVaxi commented Jan 21, 2023

Hey Pnub
Did you succeed? - im trying the same thing, but i can not get it to work. If you did, will you share the code ?

@Pnub
Copy link
Author

Pnub commented Jan 30, 2023

SirVaxi,
I was successful. Let me make a few tweaks and I'll upload it to my repo to share.

@tofuSCHNITZEL
Copy link
Collaborator

great! please open a pull request after you are done, thanks!

@SirVaxi
Copy link

SirVaxi commented Jan 31, 2023

Pnub,
Looking forward to seeing how you solved it! - I think it's so nice that you want to share it with the rest of us!

@tofuSCHNITZEL
Copy link
Collaborator

maybe it would also work to just send "+" and "-" to the omxplayer process? (just like the pause command)
needs to be tested if this would also control the alsa device

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

3 participants