- Notifications
You must be signed in to change notification settings - Fork350
AndroidManifest: signal support for SEND and SEND_MULTIPLE intent#1148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
sfan5 commentedOct 14, 2025
Can we start with only the implementation for |
7401505 to806335aComparepuchu commentedOct 14, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
changed the code to use memory:// playlist and added support to share files while the player is already active |
201e065 toe94ec1dCompareUh oh!
There was an error while loading.Please reload this page.
| if (filePath!=null) { | ||
| MPVLib.command(arrayOf("loadfile", filePathasString)) | ||
| val path= filePath!! | ||
| val method=if (path.startsWith("memory://"))"loadlist"else"loadfile" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
this should work fine withloadfile AFAIK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
doesn't work with loadfile; loadlist is needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
why not? I tested this on my desktop mpv and it seemed to work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
i changed the code to
if (filePath != null) { val path = filePath!!- val method = if (path.startsWith("memory://")) "loadlist" else "loadfile"+ val method = if (path.startsWith("memory://")) "loadfile" else "loadfile" MPVLib.command(arrayOf(method, path, "replace"))and compiled it.
when i send multiple files to mpv, it just exits instantly (loadfile only works when i send only one file), using the unmodified (PR) code works as expected.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
fa0465b to164deefCompare… audio and video files and implement handling
puchu commentedOct 28, 2025
what's status? any changes needed to get this merged? |
sfan5 commentedNov 8, 2025
I still wanted to to test why |
Uh oh!
There was an error while loading.Please reload this page.
AndroidManifest: signal support for SEND and SEND_MULTIPLE intent for audio and video files and implement handling
this intent adds support for example to share videos from the gallery and select mpv-android as the destination