github Aanok/jftui v0.4.0

latest releases: v0.7.2, v0.7.1, v0.7.0...
3 years ago

The marking update! And a fair few long overdue things I had to do ⌚

New stuff:

  • Added support for Music Video file types and collections thanks to @Maxr1998! (#12)
  • Added support for marking items played or unplayed. The syntax is as follows:
    "m" ("p"|"u") Selector
    Where the Selector may target any mix of folders and individual items.
    p and u map respectively to Played and Unplayed, of course. Whitespace between the three tokens is required.
  • Added loading of a custom mpv profile if specified by the mpv_profile settings entry.
    This entry is optional and no profile will be loaded if it is left unspecified.
    This means you have to write it in the settings file by hand, e.g. by adding a line like so
    mpv_profile=jftui
    at which point you are required to have a corresponding [jftui] profile specified in your mpv.conf file or jftui will FATAL.

Improvements and bugfixes:

  • Fixed a nasty bug which could cause a buffer overrun when a JSON entry we cared about (like a Name) spanned three or more chunks of data served to the parser (unlikely but possible, especially due to a connected off-by-one mismatch between the parser buffer size and libcurl's chunk size).
  • The --runtime-dir command line argument has been removed and is no longer required to allow concurrent instances of jftui to run.
    The program now looks at the $TMPDIR environment variable at runtime, or the P_tmpdir symbol at compile time, or falls back to /tmp to figure out a directory to use for its runtime files, which include a PID and random string discriminator in their name.
    Please note the files are unlinked right after creation, so they won't appear in the filesystem at all. Track them via /proc/PID/fd.
  • The script-message jftui-playlist-print mpv command now causes the playlist to be printed to the OSD too.
    You may want to tweak the osd-duration mpv property.

Don't miss a new jftui release

NewReleases is sending notifications on new releases.