Git Product home page Git Product logo

chrome-volume-fix's Introduction

Chrome Volume Fix

Description

This program addresses an issue with the volume on Google Chrome by adjusting the audio settings using the pycaw library.

Usage

  1. Ensure you have Python installed on your system.
  2. Install the required library by running:
    pip install pycaw
    
  3. Clone this repository using the following command:
    git clone https://github.com/mayankpatibandla/Chrome-Volume-Fix.git
    
  4. Navigate to the directory:
    cd Chrome-Volume-Fix
    
  5. Run the program by executing:
    python main.py
    

Code Explanation

The provided Python script leverages the pycaw library to interact with the Windows Core Audio API. It iterates through all active audio sessions and identifies those associated with Google Chrome (chrome.exe). For each Chrome session, it adjusts the master volume to 100%.

Requirements

Disclaimer

This program is provided as-is, without any warranties or guarantees. Use at your own risk.

License

This project is licensed under the MIT License.

Author

Mayank Patibandla

Contributions

Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or create a pull request.


Adding to Windows Task Scheduler

To run the Chrome Volume Fix program automatically, you can utilize the Windows Task Scheduler. Follow these steps:

  1. Search for Task Scheduler in the Windows search bar and open it.

  2. In the right-hand panel, click Create Task....

  3. Give your task a name and description.

  4. Select the Triggers tab.

  5. Click New.... From the dropdown, select On workstation unlock (or any other trigger that suits your needs) and click Ok.

  6. Select the Actions tab.

  7. Click New.... From the dropdown, select Start a program.

  8. Click Browse... and navigate to the location where your pythonw.exe is installed. Select the file and click Open.

  9. Navigate to the location where you cloned this repository and copy the path to main.py.

  10. Paste this path into the Add arguments (optional): field (you may need to surround the path in quotes).

  11. Press Ok and then press Ok to complete creating the task.

The task is now scheduled to run on the specified triggers.

chrome-volume-fix's People

Contributors

mayankpatibandla avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.