{"id":31926107,"url":"https://github.com/devonxfire/audio-length-app","last_synced_at":"2025-10-14T01:21:57.309Z","repository":{"id":313448815,"uuid":"1051126930","full_name":"devonxfire/audio-length-app","owner":"devonxfire","description":"A quick python script that allows me to find the total length of multiple audio files on my mac os. It also displays a decimal finished hour value.","archived":false,"fork":false,"pushed_at":"2025-09-06T04:35:00.000Z","size":71325,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-06T06:24:50.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devonxfire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-05T13:38:15.000Z","updated_at":"2025-09-06T04:35:04.000Z","dependencies_parsed_at":"2025-09-06T06:38:36.229Z","dependency_job_id":null,"html_url":"https://github.com/devonxfire/audio-length-app","commit_stats":null,"previous_names":["devonxfire/audio-length-app"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/devonxfire/audio-length-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonxfire%2Faudio-length-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonxfire%2Faudio-length-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonxfire%2Faudio-length-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonxfire%2Faudio-length-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devonxfire","download_url":"https://codeload.github.com/devonxfire/audio-length-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonxfire%2Faudio-length-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017450,"owners_count":26086081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-14T01:21:55.339Z","updated_at":"2025-10-14T01:21:57.304Z","avatar_url":"https://github.com/devonxfire.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Audio Length Calculator\n\nA simple desktop app and command-line tool for macOS that calculates the total length of one or more audio files (WAV/MP3). Supports drag-and-drop, multi-file selection, and a reset button. Built with Python, Tkinter, and Mutagen.\n\n## Features\n- Select multiple audio files (.wav, .mp3) and get total duration\n- Drag and drop files into the app window (if `tkinterdnd2` is installed)\n- Displays total length in hours, minutes, and seconds\n- Shows finished hours (decimal)\n- Counts valid and ignored files\n- Reset button to clear results\n- Works as a command-line tool (`audioLength`) or as a macOS app (via py2app)\n\n## Installation\n\n### Requirements\n- Python 3.8+\n- [Mutagen](https://pypi.org/project/mutagen/)\n- [tkinterdnd2](https://pypi.org/project/tkinterdnd2/) (optional, for drag-and-drop)\n\nInstall dependencies:\n```sh\npython3 -m pip install mutagen tkinterdnd2\n```\n\n### Command-line Usage\n1. Make the script executable:\n   ```sh\n   chmod +x audio_length_gui.py\n   ln -s /full/path/to/audio_length_gui.py /usr/local/bin/audioLength\n   ```\n2. Run from anywhere:\n   ```sh\n   audioLength\n   ```\n\n### Build as a macOS App (optional)\n1. Install py2app:\n   ```sh\n   python3 -m pip install py2app\n   ```\n2. Build:\n   ```sh\n   python3 setup.py py2app\n   codesign --force --deep --sign - \"dist/Audio Length Calculator.app\"\n   ```\n3. Launch from Finder or with:\n   ```sh\n   open dist/Audio\\ Length\\ Calculator.app\n   ```\n\n## Usage\n- Click \"Open Audio Files\" to select files\n- Or drag and drop files into the window\n- View total length, finished hours, and file counts\n- Click \"Reset\" to clear results\n\n## Example Output\n```\nTotal Length: 2 Hours 23 Minutes 43 Seconds\nFinished Hours: 2.40\nFiles counted: 3\nFiles ignored: 0\n```\n\n## License\nMIT\n\n---\n\n*Created by devonxfire*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonxfire%2Faudio-length-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevonxfire%2Faudio-length-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonxfire%2Faudio-length-app/lists"}