Skip to content

[bug] [upload] Share to - app not offered if only video files (.mp4) are shared #278

Description

@wenetcat

Piwigo 2.4.3 on Android 16 arm64-v8a
Piwigo Server: 16.4.0
Piwigo Server Plugins:

  • check_uploads_15.a.zip
  • piwigo-community_16.f
  • piwigo-videojs_16.b.zip

Piwigo confic.inc.php

<?php

$conf['url_port'] = 'auto';
$conf['guest_access'] = false;
$conf['newcat_default_status'] = 'private';
$conf['derivative_url_style'] = 2;
$conf['original_url_protection'] = 'images';
$conf['anti-flood_time'] = 3;
$conf['sync_chars_regex'] = '/^[a-zA-Z0-9-+_.äÄöÖüÜß ]+$/';

# allow video upload
$conf['upload_form_all_types'] = true;

$conf['file_ext'] = array_merge(
    $conf['picture_ext'],
    array('mp4')
);

?>

Reproducer:

  • Use file manager, e.g. Material Files, to select one or more .mp4 files
  • Use Android "share to app" function
  • The "Piwigo" app is not shown beside other apps (e.g. WhatsApp)
  • As a consequence, I cannot get to the upload dialog.

Expected:

  • Use file manager, e.g. Material Files, to select one or more .mp4 files
  • Use Android "share to app" function
  • The "Piwigo" app is shown.
  • I can reach the upload dialog.

Workaround:

  • Use file manager, e.g. Material Files, to select one or more .mp4 files and at least one .jpg file
  • Use Android "share to app" function
  • The "Piwigo" app is shown.
  • I can reach the upload dialog.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

uploadConcern the upload feature

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions