pocket-casts-ios icon indicating copy to clipboard operation
pocket-casts-ios copied to clipboard

Uploading file from Slack app

Open ezebecke opened this issue 2 years ago • 2 comments

Expected behavior

To be able to share a .mp3 file from Slack to Pocket Casts.

Actual behavior

File error after uploading The episode might be corrupted.

Steps to reproduce the behavior

1- Upload a .mp3 file (Example https://file-examples.com/index.php/sample-audio-files/sample-mp3-download/) to a Slack channel from your desktop. 2- Go into the Slack mobile app and share the file with Pocket Casts. 3- File uploads but shows corrupted error.

I believe that part of the issue is that when uploading a file to Slack, the type of the file ".mp3" became part of the name. The workaround right now to successfully upload a file from Slack is to rename the file on Slack and remove the ".mp3" part.

ezebecke avatar Sep 26 '22 16:09 ezebecke

I tested this, and the same error occurs if you do the following:

  1. Save the file from Slack to Files
  2. From Files, share the file to Pocket Casts

So, the issue does not appear to be just with sharing from the Slack app.

/Edit: I'm not sure if this is really new with iOS 16 (ref), but file extensions are hidden, and I wonder if that's causing the issue here.

igotdes avatar Sep 29 '22 02:09 igotdes

I tested another scenario:

  1. Save an mp3 file directly to Files
  2. From Files, share the file to Pocket Casts

With this one, there is no error. The file plays just fine. 🤔

igotdes avatar Sep 29 '22 02:09 igotdes

@igotdes @ezebecke Are you still able to reproduce this with the latest versions of Slack and PocketCasts? I am not able to, running iOS 16.1.2.

Slack did fix some sharing bugs in their 22.09.20 release, which may have resolved this.

Only thing I have noticed is that an MP3 uploaded to Slack is shared/downloaded as a video file (MP4) by the Slack iOS client. But the file imports and plays just fine in Pocket Casts as a video. (May still be worth logging a bug with Slack to export MP3s correctly on iOS instead of videos)

rviljoen avatar Dec 08 '22 17:12 rviljoen

Are you still able to reproduce this with the latest versions of Slack and PocketCasts? I am not able to, running iOS 16.1.2.

@rviljoen I'm still able to reproduce this on iOS 16.2 with Slack 22.12.20 and Pocket Casts 7.29.

igotdes avatar Dec 15 '22 08:12 igotdes