Skip to content

ohadschn/Merge-ZippedMix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Merge-ZippedMix

Merges zipped mp3 files comprising a mix/album without re-encoding (using mp3cat).

Details

This PowerShell script expects a zip file containing multiple mp3 files to be merged into a single mp3 file. It will do so without re-encoding, preserving the original audio quality. Specifically, the script will do the following:

  1. Extract the mixed zip file into the %TEMP% folder.
  2. Recursively look for an mp3 file in that folder.
  3. Run mp3cat on the folder where the first mp3 file was found.
  4. All mp3 files in the folder will be merged into C:\foo\bar.mp3, where C:\foo\bar.zip is the input zipped mix file.

Prerequisites

Make sure that mp3cat is either in your PATH or in the script's working folder.

Usage

Merge-ZippedMix.ps1 mix.zip
  • Both CBR and VBR mp3s are supported (by virtue of mp3cat).
  • The ID3 tag of the first mp3 file will be used for the merged file (using mp3cat --tag).

Mass execution

If you have multiple mix zip files in some folder and you'd like to merge all of them, try:

$mixes = Get-ChildItem "C:\MixFolder" -Filter *.zip
$mixes | foreach { .\Merge-ZippedMix.ps1 $_.FullName }

About

Merges zipped mp3 files comprising a mix/album

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published