Optionally follow sound file symlinks

Repository details (npshell)
Project page
npshell
Project log category
(121 entries)
Repository
@joelpurra/npshell
Owner
@joelpurra
Contributors
Contributors on Github
Project status
⏲️ This project has had recent commits.
📂 This project is open.
🌠 This project is popular.
Repository activity period
🗓
Commits
121 commits
Stars
15 stars
Commit details (aed236c5)
Author
Authored at
Committer
Joel Purra
Committed at

Commit message

Optionally follow sound file symlinks

  • Some sounds may be not be actual files, byt symlinked to the actual file.
  • Not all players (for example afplay) handle symlinks correctly.
  • This change introduces the boolean configuration configFollowSymlinks, which defaults to false.
  • The default value should not affect existing behavior.
  • Set configFollowSymlinks to true to resolve symlinks before they are passed to the external player.
Raw text
Optionally follow sound file symlinks

- Some sounds may be not be actual files, byt symlinked to the actual file.
- Not all players (for example `afplay`) handle symlinks correctly.
- This change introduces the boolean configuration `configFollowSymlinks`, which defaults to `false`.
- The default value should not affect existing behavior.
- Set `configFollowSymlinks` to `true` to resolve symlinks before they are passed to the external player.

Changed files (7)

Path Additions Deletions
USAGE.md +6 -0
src/help/np-help.txt +7 -0
src/np +9 -8
src/shared/functionality.sh +4 -1
src/shared/functions/filesystem.sh +27 -3
src/shared/functions/mode.sh +9 -2
src/shared/man/man1/np.1 +7 -0

Commit categories (3)