0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

nnn始めました

Last updated at Posted at 2025-07-17

consoleベースのファイラーでnnnというのがあって試してみました。

NetBSDでビルドするにはreadlineとncursesのpkgが必要でした。makeはgmakeでした。

ソースはgitのレポジトリをcloneしました。バージョンは5.1のようです。

とりあえず簡単な再生用のスクリプトを作ります。

m4aplay.sh
#!/usr/bin/env sh

RAOP=10.0.1.30

case ${1##*.} in
  'm4a' )
    echo ${1}
    light-play $RAOP "${1}"
  ;;
  * )
  ;;
esac

設定して(sh,bashの場合はexport)、nnnを実行してみます。

c1k: {91} setenv NNN_OPENER "/home/hiroki/m4aplay.sh"
c1k: {92} nnn -c

image.png

リターンキーを押して再生してみます。

/home/hiroki/itunes/LUZ DO SOL/アヴェ・マリア/01 Estrada branca.m4a

最初の一歩はこんなところで、ちょっと作りこんでみたいと思います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?