Skip to content

Playlists not displaying correctly in terminal #5868

@guibog

Description

@guibog

mpv version and platform

mpv 0.27.2 (C) 2000-2017 mpv/MPlayer/mplayer2 projects

Reproduction steps

  • Have L run echo "${playlist}" in ~/.mpv/input.conf
  • Use mpv folder_with_mp3_files/ to play a list of audio files
  • Type L to display the currently playing list in the terminal

Expected behavior

A nicely formatted playlist should be displayed showing currently playing item, etc.

Actual behavior

The terminal has some broken characters:

�{\alpha&HFF}➜ {\r}�02~130~Sanchez & The Shockers~Liquorice Latex (Original Mix).mp3
�{\alpha&HFF}➜ {\r}�03~131~Paolo Bolognesi~Test Flat.mp3
�{\alpha&HFF}➜ {\r}�04~126~Genetik & Gio Martinez~Pixel (Bingo Players Dead Pixel Remix).mp3
�{\alpha&HFF}➜ {\r}�05~130~Balthazar & JackRock~Tribalero (Original Mix) - remix.mp3
�➜ �06~130~Dubfire~Cage.mp3
�{\alpha&HFF}➜ {\r}�07~141~Bruno Power~Superbattlerz (Erik T Remix).mp3
�{\alpha&HFF}➜ {\r}�08~141~Danny C & Lethal MG~Jump Higher (G-Style 2007).mp3
�{\alpha&HFF}➜ {\r}�09~142~Mark With A K~Don_t Fuck With Me.mp3
�{\alpha&HFF}➜ {\r}�10~142~Coone - Villian~Bounce On Ya Sneakers.mp3
�{\alpha&HFF}➜ {\r}�11~141~Q-Ic & Lethal MG~Punk Shock.mp3
�{\alpha&HFF}➜ {\r}�12~130~Dim Chris~Sucker (Fred Pellichero Remix).mp3

Problem seems to be there:

https://github.com/mpv-player/mpv/blob/master/player/command.c#L127

I upgraded recently to Ubuntu 18.04, and got a new mpv version with it. I cannot say if the problem is with some missing font on my side, or wrong encoding, or if it is a new mpv feature. I was using this playlist feature and had no problem with my previous setup (mpv 0.14.0 and Ubuntu 16.04)

I also searched for a config to disable special characters in the terminal display, did not find it (the man page is kind of "rich"...)

Log file

https://0x0.st/s23T.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions