On 2025-01-11 14:18, Greg Wooledge wrote:
On Sat, Jan 11, 2025 at 07:01:23 -0700, Fred wrote:
On 1/11/25 05:58, Richard Owlett wrote:
> However I'm making practical use of mp3 files for the first time
> (currently a dozen lectures). I looked for an mp3 player whose GUI took
> up a very minimal amount of screen real estate.

mpg123 is a command line program that plays mp3s.

You can also play them with mpv, or mplayer, if you're looking for
something that does more than just MP3.  Both of these can be run from
the command line.

Some MP3 files may have an album cover image (or similar) embedded inside them, and mpv may show this when playing the song. If that's not wanted,
there's an option to disable that:

hobbit:/stuff/music/Tool/Fear$ mpv 01\ -\ Fear\ Inoculum.mp3
 (+) Video --vid=1 [P] (mjpeg 600x600 1.000fps)
     Video --vid=2 [P] 'Cover.jpg' (mjpeg 600x600 1.000fps) (external)
 (+) Audio --aid=1 (mp3 2ch 44100Hz)
[...]
Displaying cover art. Use --no-audio-display to prevent this.
[...]

I've had great results with mpv.  It plays everything I've given it.
Granted, my needs are not terribly exotic.

I wondered if you could do it and a search reveals.
If the audio file has no cover art then a window can be forced with:
"mpv --force-window some-audio.mp3"
The command above will automatically display subtitles if the subtitle file is named some-audio.srt or some-audio.vtt etc.
To load subtitles from a custom file you can use:
"mpv --force-window --sub-files=123.srt some-audio.mp3"

mick

Reply via email to