added temp fix readme

This commit is contained in:
Navan Chauhan 2020-03-10 19:56:36 +05:30
parent 6c93b06908
commit d0a0c92170
2 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,8 @@ optional arguments:
input url input url
``` ```
If the program gives an error for sox, try running `ulimit -n 999'`
## Installation ## Installation
This was tested on macOS Catalina ( so should work on almost all macOS versions). This was tested on macOS Catalina ( so should work on almost all macOS versions).

View File

@ -85,7 +85,9 @@ class VaporSong:
tocomb.append(sample) tocomb.append(sample)
tocomb.append(dest) tocomb.append(dest)
tmpFileLimit = len(tocomb) + 256 # in case the program messes up, it does not actually frick up your system tmpFileLimit = len(tocomb) + 256 # in case the program messes up, it does not actually frick up your system
os.system("ulimit -n " + str(tmpFileLimit)) n = str(tmpFileLimit)
#logger.info("Setting file limit to ", n)
os.system("ulimit -n " + n)
subprocess.check_output(tocomb) subprocess.check_output(tocomb)
return dest return dest