Giter Site home page Giter Site logo

Comments (3)

po5 avatar po5 commented on August 19, 2024 1

The history file is being written to correctly, but this program doesn't feed the absolute path of your file to mpv, only its filename, and the working directory is wrong.
You will encounter this when the directory containing your file is not the one you launched joshuto in.

Properties after launching joshuto from /home/eva/Downloads and navigating to open /home/eva/Documents/1234/potato.flac with mpv:

[memo] stream-open-filename potato.flac
[memo] path potato.flac
[memo] working-directory /home/eva/Downloads

As a result /home/eva/Downloads/potato.flac is what gets written to the history file. It doesn't show up with default memo settings as files that don't exist are hidden.

This is a bug in your program so please file an issue there, works fine in ranger and other file managers:

[memo] stream-open-filename /home/eva/Documents/1234/potato.flac 
[memo] path /home/eva/Documents/1234/potato.flac 
[memo] working-directory /home/eva/Documents/1234

If you or the maintainer truly believes joshuto does nothing wrong, file a report with mpv as that would mean their working directory resolution is wrong.

from memo.

po5 avatar po5 commented on August 19, 2024 1

Could this be the offending commit? Try reverting it. kamiyaa/joshuto@ea79ae0

from memo.

xfzv avatar xfzv commented on August 19, 2024

This is a bug in your program so please file an issue there, works fine in ranger and other file managers

Indeed, it works fine with gokcehan/lf and jarun/nnn on my end too. I should have tried other terminal file managers first...

Could this be the offending commit? Try reverting it. kamiyaa/joshuto@ea79ae0

Unfortunately I'm not technical enough to deal with the merge conflicts I'm running into after reverting this commit. I tried to use git reset --hard but got a lot of cargo errors when trying to build joshuto.

Thank you for your help, as always. 👌

from memo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.