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

Audio Style #34

Merged
merged 3 commits into from
Dec 27, 2024
Merged

Audio Style #34

merged 3 commits into from
Dec 27, 2024

Conversation

mostafaznv
Copy link
Owner

@mostafaznv mostafaznv commented Dec 27, 2024

This pull request introduces support for handling audio styles in addition to the existing video and image styles. The key changes include adding a new AudioStyle class, updating various methods to handle audio files, and adding tests to ensure the new functionality works correctly.

Support for Audio Styles:

Updates to Existing Functionality:

Utility and Helper Functions:

  • src/Helpers/Utils.php: Added a new helper function larupload_style_path to change the path extension based on the style.

Testing:

closes #28

This commit introduces audio style support to the Larupload package. It includes handling for various audio formats (e.g., MP3, WAV, FLAC, AAC), methods for generating audio styles, and comprehensive tests for each added feature. Minor adjustments were made to ensure proper integration with existing functionalities and FFMpeg processing.
Copy link

codecov bot commented Dec 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7fb7881) to head (b27b04c).
Report is 5 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #34   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       478       500   +22     
===========================================
  Files             53        54    +1     
  Lines           1735      1798   +63     
===========================================
+ Hits            1735      1798   +63     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mostafaznv mostafaznv merged commit dee2b34 into master Dec 27, 2024
11 of 19 checks passed
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.

Request: Add support for audioStyles
1 participant