Friday, October 18, 2013

5.3 amd64 X200: MP3 file not detected in ncmpcpp / mpd / mpc.


I have collections of mp3 audio in my lappy. Nowadays, instead of mplayer which I use specifically for videos, I use mpd. For the frontend, I use ncmpcpp which is a curse-based console, uh, GUI(?). I has many great features which you can refer to from the link I've given.

Ok, there's a collection of mp3s I'm currently listening to. Around 114 files. Then I realised that a few files is not listed in ncmpcpp even when I tried (U)pdating the file browser. When I do ls in the directory, the file is there. I can play the file using mplayer.

I tried using mpc, command line for mpd but I still cannot list the file.

Fearing that I may have a corrupted mp3 file, I was prepared to download that hundred Mbs worth of files when I saw this:

$ ls -lh
-rw-r--r-- Audio_that_is_ok.mp3
-rw-r--r-- Audio_that_is_ok_2.mp3
-rw------- Audio_that_is_not_detected.mp3
-rw-r--r-- Audio_that_is_ok_3.mp3

*ting!*. Ohhhh. That's the reason. Ahah! That files is set to (r)ead/(w)rite for me only. So I chmod 644 the affected files and after (u)pdating my ncmpcpp, all is well.

Sometime we overlooked the simplest thing. Oh ok maybe just me. Later.

6.5 amd64: Modify existing certbot certificates.

Hi, It's been quite some time eh. As you can see, I still upgrade my OpenBSD system regularly but currently I do not have the time to ...