Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
17th July 2019, 21:42 | #181 | Link |
Registered User
Join Date: Jul 2019
Posts: 18
|
This can be my main media player except for a few issues
1. Ability to start the player and any video maximized. Also, fonts should not get oversized when maximized(it gets fixed with double click, but that should be default). 2. Pause when minimised. If possible an ability to assign a minimise key. 3. Playlist should be navigable like this script. https://github.com/jonniek/mpv-playlistmanager 4. bat files to install and update in portable mode like mpv. The above are actually implementable in mpv through scripts(although the playlist one has oversized fonts on Windows). Optional features I would like 5. Preview Thumbnails when hovering on seekbar. 6. Media controls in taskbar. 7. Xbox controller input support. 8. Touch controls and gestures support(would be helpful in Surface Pro). |
18th July 2019, 03:08 | #182 | Link | ||||||||
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
That is more than few.
Maybe create 1-2 new issues per month on the tracker on github. One thing that was relatively easy to do is this: Quote:
Code:
using System; using System.Windows.Forms; using mpvnet; class Script { MainForm Form; public Script() { Form = MainForm.Instance; Form.Resize += Form_Resize; } private void Form_Resize(object sender, EventArgs e) { if (Form.WindowState == FormWindowState.Minimized) mp.command_string("set pause yes"); } } Quote:
fullscreen = yes fullscreen can also be found in the config editor in the screen section. For the font size there is osd-font-size, this can be found in the screen section of the conf editor as well. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 18th July 2019 at 04:23. |
||||||||
21st July 2019, 20:05 | #183 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
4.7.7
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
26th July 2019, 08:18 | #184 | Link | |
Registered User
Join Date: Jul 2019
Posts: 18
|
Quote:
1. I use this script for pause when minimize https://github.com/mpv-player/mpv/bl...n-minimize.lua It pauses when minimized and then resumes when restored again, but it does not work with mpv.net. Your, script only pauses when minimized. 2. A PowerShell based updater like mpv. Last edited by Naomi010Sentzke; 26th July 2019 at 11:38. |
|
26th July 2019, 15:30 | #185 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Thanks for the feedback.
1. Most of mpv's window related features don't work in mpv.net because mpv.net has an own window implementation. I've replicated some window functionality, there is a wiki page called Limitations giving some info on this topic. I think I can improve the CS script to make it work like the lua script. 2. An updater is something I want to investigate, it's not trivial for me so it probably will take time and in the worst case it will never happen. I agree that it is a very useful feature. I also like PowerShell much. Next version will give status and debug output in the terminal. Yesterday I discovered a script called repl.lua.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
26th July 2019, 18:25 | #186 | Link | |
Registered User
Join Date: Jul 2019
Posts: 18
|
Quote:
|
|
26th July 2019, 20:55 | #187 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
26th July 2019, 22:38 | #188 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Does anybody know if mkv is suitable for streaming?
Is there a player that can play a rar file which contains a mkv file? https://github.com/stax76/mpv.net/issues/57
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
26th July 2019, 23:22 | #190 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
That was helpful, I used wrong compression parameters.
You are using mpv, right? In the next release I have terminal support implemented in mpv.net.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
27th July 2019, 00:52 | #191 | Link | |
Registered User
Join Date: Jul 2019
Posts: 18
|
Quote:
Code:
CompilerException c:\Users\Ashi\AppData\Local\Temp\CSSCRIPT\dynamic\4984.1a9bc9c4-aaf2-4b7d-9760-6efb7dbacd09.tmp(29,20): error CS0117: 'mpvnet.mp' does not contain a definition for 'command' c:\Users\Ashi\AppData\Local\Temp\CSSCRIPT\dynamic\4984.1a9bc9c4-aaf2-4b7d-9760-6efb7dbacd09.tmp(37,20): error CS0117: 'mpvnet.mp' does not contain a definition for 'command' csscript.CompilerException: c:\Users\Ashi\AppData\Local\Temp\CSSCRIPT\dynamic\4984.1a9bc9c4-aaf2-4b7d-9760-6efb7dbacd09.tmp(29,20): error CS0117: 'mpvnet.mp' does not contain a definition for 'command' c:\Users\Ashi\AppData\Local\Temp\CSSCRIPT\dynamic\4984.1a9bc9c4-aaf2-4b7d-9760-6efb7dbacd09.tmp(37,20): error CS0117: 'mpvnet.mp' does not contain a definition for 'command' at csscript.CSExecutor.ProcessCompilingResult(CompilerResults results, CompilerParameters compilerParams, ScriptParser parser, String scriptFileName, String assemblyFileName, String[] additionalDependencies) at csscript.CSExecutor.Compile(String scriptFileName) at CSScriptLibrary.CSScript.LoadWithConfig(String scriptFile, String assemblyFile, Boolean debugBuild, Settings scriptSettings, String compilerOptions, String[] refAssemblies) at CSScriptLibrary.CSScript.LoadCode(String scriptText, String tempFileExtension, String assemblyFile, Boolean debugBuild, String[] refAssemblies) at CSScriptLibrary.CodeDomEvaluator.CompileCode(String scriptText) at CSScriptLibrary.CodeDomEvaluator.LoadCode(String scriptText, Object[] args) at CSScriptAddon.CSScriptAddon..ctor() in D:\Projekte\CS\mpv.net\addons\CSScriptAddon\CSScriptAddon.vb:line 32 |
|
27th July 2019, 01:01 | #192 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@Naomi010Sentzke
There was a breaking change, it should work in the new release: 5.0
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
27th July 2019, 01:43 | #194 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
In the new release I have renamed mp.command_string to mp.command because in the mpv JS/Lua scripting API it's called mp.command as well.
https://mpv.io/manual/master/#lua-sc...ommand(string)
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
27th July 2019, 01:52 | #195 | Link | |
Registered User
Join Date: Jul 2019
Posts: 18
|
Quote:
|
|
30th July 2019, 14:36 | #197 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
This was easy to fix but it won't go back from fullscreen to maximized, it goes to normal. Changing this would very likely be very hard to do, you would have to request it on the tracker and hope few people up vote it.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 30th July 2019 at 14:40. |
30th July 2019, 17:58 | #198 | Link |
Registered User
Join Date: Jul 2019
Posts: 18
|
Its ok if going to maximized from full screen is impossible. But in mpv, when the screen is maximized I can go to full screen normally with the full screen command, while in mpv.net full screen command(Enter in my case) in maximized windows does not do anything, clicking it twice goes to restore(so I can use the command again to go to fullscreen).
|
30th July 2019, 18:37 | #199 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
I just figured out today (by user bug report) that gpu-api=vulkan does not work in mpv.net, I'm having a bad day...
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 30th July 2019 at 18:40. |
|
31st July 2019, 12:44 | #200 | Link | |
Registered User
Join Date: Jul 2019
Posts: 18
|
Quote:
https://github.com/kevinlekiller/mpv...aster/maximize Last edited by Naomi010Sentzke; 31st July 2019 at 13:40. |
|
|
|