jonniek / mpv-filenavigator Goto Github PK
View Code? Open in Web Editor NEWNavigate and open your local files in mpv
License: The Unlicense
Navigate and open your local files in mpv
License: The Unlicense
Hi there,
I'm currently working on a Arch Linux distribution package for the AUR and noticed you haven't specified what license this and your other scripts are distributed under.
This is of course not mandatory, but providing licensing information would be very helpful for people like me to know what terms, if any, your code can be distributed under.
If you've got some spare time I'd really appreciate it if you could pick out a license1. Or, if you don't fancy any of these open source licenses, if you can let me know here whether I can distribute this package and under what terms.
Sincerely,
Joost
1: TL;DR, if you're okay with just about anything the MIT license is probably for you.
esc/navigator_mainkey
to close navigator. Currently, you have to wait for the script to timeout when adding to playlist.
Port settings tables to json and parse them. Also create a default navigator.conf
file.
Neither RIGHT or ENTER does anything when on a favourite. Am I missing something?
Thanks in advance!
In what format do I pass the values to favorites
in navigator.conf
?
Just a simple feature request to use hjkl instead of arrow keys (use modifier if necessary). If this is easily implemented and/or not desirable for the project, please provide example.
Much appreciated.
I could not find a decent subtitle opener on Linux (happy to be recommended one), and this is the best implementation for folder navigation IMO, so, could you make it so nav-open a subtitles file add and activate the sub, nav-forward to add sub to the subs on current playing video?
It was able to switch between partitions on mpv 0.32 with RIGHT key, however 0.33 broke it. Now RIGHT key can only append a partition to playlist, rather than enter it.
console output
[file] Cannot open file ' Select drive/D:': Invalid argument
[stream] Failed to open Select drive/D:.
[cplayer]
[cplayer] Playing: Select drive/E:
[file] Cannot open file ' Select drive/E:': Invalid argument
[stream] Failed to open Select drive/E:.
Mplug is like a package manager but for mpv scripts.
Please add your script there (if already not there) and also installation instructions in manifest - https://github.com/Nudin/mpv-script-directory/blob/master/HOWTO_ADD_INSTALL_INSTRUCTIONS.md
Is there any way i could add the selected file to the playlist?
nvm i got it
Anyone is free to contribute:
Can ctrl+i/k (navup and navdown) be repeatable?
I tried adding "repeatable" keyword to input.conf:
Ctrl+k repeatable script-binding navigator/navdown
Ctrl+i repeatable script-binding navigator/navup
But it didn't change anything, I still have to press these hotkeys multiple times to navigate between folders.
Mpv script utils have come a long way since this script was created. This script could be improved a lot with readdir, file_info and path_join functions.
It gets a bit nervous when the selection jumps around in a fast moving list. Indicating the selection by colour not sharp brackets would be nicer on the eyes. (IMHO)
Hi there. Is there a way to have both scripts (nextfile and navigator) loaded and that the playlist is respected, another way to put it, so that nexfile only kicks in after the playlist (whether if at first loaded file or last playlist file dir it seems less important right now). Also same question regarding autoload script
Dir A
Dir B
Desired behaviour: video 1 starts to play and v2 and v3 are loaded, if I do nothing, next file in the queue would be v2 and next v3. If through Navigator I create a playlist say v1, v4, v2 and v5, the order would be exactly that and at the completion videos 6 -> 9 would be enqueued
The way things are now, I have to disable the loading scripts if I want the playlist to be respected.
Thank you
This might be caused by a Lua change. Not sure. Anyway, the fix is easy -- add == 0
to the end of the line:
function isfolder(dir)
return os.execute('test -d "'..escapepath(dir, '"')..'"') == 0
end
Without this fix, it was impossible to append files to the playlist -- I could only replace them, because the replace action doesn't check folder status.
The interface also displayed the file I was trying to add as if it were an empty directory :)
hi.first of all thanks for this great script.
after this commit 6a0d855 when I select a file with Enter I can't use arrowkeys to backward or forward because every time I press RIGHT the navigation menu pop up and say Appended file to playlist and when i press LEFT it goes back to parent directory.i do not need a playlist manager i just want navigate through my files and play them.i reverted that commit (on my system) because right now this script is unusable,IMO.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.