* [ANN] dtas 0.16.0 - duct tape audio suite for *nix
@ 2019-01-02 21:35 4% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-01-02 21:35 UTC (permalink / raw)
To: ruby-talk, dtas-all
Free Software command-line tools for audio playback, mastering, and
whatever else related to audio. dtas follows the worse-is-better
philosophy and acts as duct tape to combine existing command-line tools
for flexibility and ease-of-development. dtas is currently implemented
in Ruby (and some embedded shell), but may use other languages in the
future.
Changes:
A bunch of minor fixes and cleanups accumulating for the past
two years since the last release. It's tough to remember to
make releases when I'm always running the latest version from
git :x
Most notably, "io_splice" is no longer used for dtas-linux
users since "sleepy_penguin" includes all the functionality
we use. This is to reduce memory overhead from extra DSOs(*)
There's also some deprecation warning fixes for the
still-undocumented "dtas-mlib" command.
12 changes since v0.15.0 (2017-04-07):
pipeline: new module for running process pipelines
console: ensure time calculations are done in UTC
Rakefile: update path for uploads
player: support guessing encodings for comments
get rid of Windows-31J regexps
mlib: compatibility with Sequel 5.x
mlib: remove redundant tag massaging and encoding
mlib: use flock to get around SQLite busy errors
mlib: ignore files with nil times
dtas/watchable: check SystemCallError
mlib: fix unused variable warning
use sleepy_penguin 3.5+ for splice and tee support
(*) https://udrepper.livejournal.com/8790.html
* homepage: https://80x24.org/dtas/README
* https://80x24.org/dtas/INSTALL
* https://80x24.org/dtas/dtas-player.txt
* https://80x24.org/dtas/NEWS.atom
* git clone https://80x24.org/dtas.git
* dtas-all@nongnu.org (plain-text only, no HTML mail, please)
* mailing list archives: https://80x24.org/dtas-all/
nntp://news.public-inbox.org/inbox.comp.audio.dtas
https://80x24.org/dtas-all/new.atom
^ permalink raw reply [relevance 4%]
* [PATCH] dtas/watchable: check SystemCallError
@ 2019-01-02 10:42 7% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-01-02 10:42 UTC (permalink / raw)
To: dtas-all
Sometimes files become unreadable.
---
lib/dtas/watchable.rb | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/lib/dtas/watchable.rb b/lib/dtas/watchable.rb
index acaf0d5..7d2bac4 100644
--- a/lib/dtas/watchable.rb
+++ b/lib/dtas/watchable.rb
@@ -37,9 +37,13 @@ def watch_files(paths, blk)
@dir2wd = {}
Array(paths).each do |path|
watchdir, watchbase = File.split(File.expand_path(path))
- wd = @dir2wd[watchdir] ||= add_watch(watchdir, FLAGS)
- m = @watches[wd] ||= {}
- m[watchbase] = true
+ begin
+ wd = @dir2wd[watchdir] ||= add_watch(watchdir, FLAGS)
+ m = @watches[wd] ||= {}
+ m[watchbase] = true
+ rescue SystemCallError => e
+ warn "#{watchdir.dump}: #{e.message} (#{e.class})"
+ end
end
end
end
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | sort options + mbox downloads above
-- links below jump to the message on this page --
2019-01-02 10:42 7% [PATCH] dtas/watchable: check SystemCallError Eric Wong
2019-01-02 21:35 4% [ANN] dtas 0.16.0 - duct tape audio suite for *nix Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/dtas.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).