mpv-android / mpv-android

#mpv-android @ libera.chat
MIT License
2.1k stars 257 forks source link

Screenshots not showing up in gallery or any media browser except for file manager #501

Open WhoMI7 opened 2 years ago

WhoMI7 commented 2 years ago

Android version: 11 OS: Oxygen OS 11.3 Device: Oneplus Nord 2

mpv-android version: 2021-10-28-release / 26 (debug)

Which version of mpv-android introduced the problem (if known): Since the beginning probably.

Description

Describe your issue in detail here. mpv.conf: screenshot-format = png screenshot-png-compression = 8 screenshot-tag-colorspace = yes screenshot-directory = '/storage/emulated/0/mpv/screenshots' hls-bitrate = max I use double tap to take screenshots and they do appear in the folder but never in the gallery.

Might not be that big of an isse but I usually send screenshots on WhatsApp and Discord and those do not appear in that too.

Estebiu commented 2 years ago

I'm asking out of curiosity, how did you set the input.conf? I was thinking of doing the same thing

WhoMI7 commented 2 years ago

I'm asking out of curiosity, how did you set the input.conf? I was thinking of doing the same thing

0x10002 async screenshot

And Double Tap (Centre) in Touch Gestures as custom

sfan5 commented 6 months ago

Part of the fix is this method: https://stackoverflow.com/questions/19369887/how-can-i-notify-the-gallery-of-a-new-image-in-android The trouble comes from knowing when mpv writes new screenshots...