.load and multiple options
See original GitHub issueHello 😃
I’m not sure if it’s a mpv bug or a node-mpv one, but here comes my issue :
I wanted to load a file (with the load
method) with multiple options. When using just one option it works perfectly (For example ['replaygain-fallback=-10']
) but if I add more options to that array, mpv doesn’t load the file.
The options seem compatible as I can use them when lauching mpv from the command-line.
Options I wanted to add into the array for example :
options.push(`external-file=${defaultImageFile.replace(/\\/g,'/')}`);
options.push('force-window=yes');
options.push('image-display-duration=inf');
options.push('vid=1');
I haven’t tested with command/freeCommand as I’m not too sure of how to format the thing properly though.
Any ideas?
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
jquery - Display Selected Values in Drop Down on Page Load ...
I would like the initial value(s), in this case BMW and Mercedes to be shown when the page is loaded and then be...
Read more >Multiple Select, Mark selected items on page load
Hi I am currently integrating MDB with Grails 3 My question is how to mark all the selected items in a multiple select...
Read more >Load Multiple Register - an overview | ScienceDirect Topics
Load -store multiple instructions can transfer multiple registers between memory and the processor in a single instruction. The transfer occurs from a base ......
Read more >Relationship Loading Techniques
Represents loader options which modify the state of a Query in order to affect how various mapped attributes are loaded. The Load object...
Read more >PySpark Read CSV file into DataFrame - Spark by {Examples}
PySpark CSV dataset provides multiple options to work with CSV files. Below are some of the most important options explained with examples.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I looked at the code and saw what was wrong.
Options seem to be formatted before being sent past this commit. However, it just splits the string into multiple options via the character
=
. However, the string I’m sending contains several equal signs, even though it’s one, single command.I have an idea, I’ll submit a PR shortly.
No problem, it was an easy fix and it was bugging me so much I had to fix it 😄