fabiospampinato / cliflix

Watch anything instantaneously, just write its name.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Size not shown

NightMachinery opened this issue · comments

image

My config:

{
  "downloads": { // Downloads-related settings
    "path": "~/Downloads/video/cliflix", // If saving them, put them here
    "save": true // Save the downloaded torrents or delete them upon exit
  },
  "outputs": { // Apps-related settings
    "available": ["Airplay", "Chromecast", "DLNA", "MPlayer", "mpv", "VLC", "IINA", "XBMC"], // Apps to list when asking for the app
    "favorites": ["mpv"] // Favorite apps, they will be listed before the others
  },
  "torrents": { // Torrents-related settings
    "limit": 30, // Number of torrents to show
    "details": { // Extra columns to show
      "seeders": true,
      "leechers": true,
      "size": true,
      "time": true
    },
    "providers": { // Torrents providers-related settings
      "available": ["1337x", "ThePirateBay", "ExtraTorrent", "Rarbg", "Torrent9", "KickassTorrents", "TorrentProject", "Torrentz2"], // Providers to list if none is active
      "active": "1337x" // Active provider
    }
  },
  "subtitles": { // Subtitles-related settings
    "limit": 30, // Number of subtitles to show
    "details": { // Extra columns to show
      "downloads": true
    },
    "languages": { // Languages-related settings
      "available": ["Afrikaans", "..."], // Languages to list when asking for the subtitles' language
      "favorites": ["English", "..."] // Favorite languages, they will be listed before the others
    },
    "opensubtitles": { // OpenSubtitles-related settings
      "username": null, // Your OpenSubtitles username, required for increasing your IP quota
      "password": null, // Your OpenSubtitles password, required for increasing your IP quota
      "ssl": true
    }
  },
  "webtorrent": { // WebTorrent-related options
    "options": [ // Custom options to always pass to WebTorrent
    ]
  }
}

There isn't enough space for it, make the terminal wider.

@fabiospampinato I think a better solution is to decrease the width of the torrent names. Another way is to show the name as the last column. The width of the terminal is hardly changeable.

I think a better solution is to decrease the width of the torrent names.

That might be unsafe to do, meaning that some useful information might get cropped out.

Another way is to show the name as the last column

That's the most important column though.

The width of the terminal is hardly changeable.

What do you mean? Can't you resize it to make it bigger? If any case you can always zoom it out to increase the number of columns rendered.

@fabiospampinato Using something like fold -s -w 80 to wrap the line seems the best solution to me. https://github.com/kaz-utashiro/ansifold handles ANSI color codes, too.

The terminal is fullscreen on my part, and zooming out makes the text small which irritates my eyes.