Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRT Application/x-subrip Transcripts Giving "transcript format is not supported" Error #2185

Closed
1 task done
leoherzog opened this issue Sep 20, 2024 · 4 comments
Closed
1 task done
Assignees
Labels
[Project] Transcripts [Type] Bug Used for issues where something is not functioning as intended.
Milestone

Comments

@leoherzog
Copy link

leoherzog commented Sep 20, 2024

Description

My podcast publishes episodes with transcripts (spitball.show).

<item>
    <title>YouTuber Stock Market, Pit Crew Medical Combos, Smash Trash For Cash, and Marketing Team Game Shows</title>
    <enclosure url="https://op3.dev/e,pg=65fcb3c4-f35f-562a-b7bb-4513fd71a35d/spitball.show/audio/@podcast/25.mp3" length="57097510" type="audio/mpeg"/>
    <guid>https://spitball.show/@podcast/episodes/25</guid>
    <pubDate>Mon, 09 Sep 2024 10:00:00 +0000</pubDate>
    <description>
        <![CDATA[<p>Special thanks to Greg for joining us on this episode!</p><p>00:00:00 - Intro<br />
00:00:42 - Nostalgic Noises<br />
00:06:58 - YouTuber Stock Market<br />
00:20:42 - Bonus Idea: Tuition Investing<br />
00:24:55 - Pit Crew Medical Combos<br />
00:32:34 - Smash Trash for Cash<br />
00:43:39 - Marketing Team Game Shows<br />
00:54:02 - Outro</p><footer><p>We’d love to hear from you!<br />
📧 <a href="mailto:[email protected]">[email protected]</a><br />
⁂ Fediverse — @<a href="mailto:[email protected]">[email protected]</a></p><p>🌐 <a href="https://spitball.show">https://spitball.show</a><br />
🔔 <a href="https://spitball.show/subscribe">https://spitball.show/subscribe</a><br />
👽 <a href="https://spitball.show/reddit">https://spitball.show/reddit</a><br />
🎥 <a href="https://spitball.show/youtube">https://spitball.show/youtube</a></p><p>🎶 Our intro/outro music is Swingers by the Bonkers Beat Club.</p></footer>]]>
    </description>
    <itunes:duration>3300</itunes:duration>
    <link>https://spitball.show/@podcast/episodes/25</link>
    <itunes:image href="https://s3.fr-par.scw.cloud/s3.castopod.cloud/c89b2cfc0e4c784122216b2ad9d5d54b7/podcasts/podcast/cover_feed.png"/>
    <itunes:episode>25</itunes:episode>
    <itunes:episodeType>full</itunes:episodeType>
    <podcast:episode>25</podcast:episode>
    <podcast:comments uri="https://spitball.show/@podcast/episodes/25/comments" contentType="application/podcast-activity+json"/>
    <podcast:socialInteract uri="https://spitball.show/@podcast/posts/7f95e78e-dbc9-456d-b07b-6434bda936a7" priority="1" platform="castopod" protocol="activitypub" accountId="@[email protected]" pubDate="2024-09-09T10:00:00+0000"/>
    <podcast:transcript url="https://s3.fr-par.scw.cloud/s3.castopod.cloud/c89b2cfc0e4c784122216b2ad9d5d54b7/podcasts/podcast/25-transcript.srt" type="application/x-subrip" rel="captions" language="en"/>
    <podcast:chapters url="https://s3.fr-par.scw.cloud/s3.castopod.cloud/c89b2cfc0e4c784122216b2ad9d5d54b7/podcasts/podcast/25-chapters.json" type="application/json+chapters"/>
</item>

Other podcast players such as Apple Podcasts and steno.fm are pulling in the transcripts properly. However, on Pocket Casts, I get the error:

Sorry, but this transcript format is not supported: application/x-subrip

Step-by-step reproduction instructions

  1. Begin to play "Spitball — Startup Ideas on Tap"
    https://pca.st/podcast/e1f3ae20-fa29-013b-f549-0acc26574db2
  2. Press the 🗨️ Transcripts button on the toolbar

Screenshots or screen recording

Sorry, but this transcript format is not supported: application/x-subrip

Did you search for existing bug reports?

  • I have searched for existing bug reports.

Device, Operating system, and Pocket Casts app version

12.9" iPad Pro (5th Generation), iPad OS 18.0, Pocket Casts 7.72

@leoherzog
Copy link
Author

Also occurring on Android, Issue #2912

@SergioEstevao
Copy link
Contributor

Hi @leoherzog ! Thanks for the report, I had a look and you are correct.

While we support the SRT format, we were expecting to see on the transcript type the following type: application/srt.

I investigated a bit and it looks that the application\x-subrip is also a valid mime type for SRT.

I will try to address this in the next release.

@SergioEstevao SergioEstevao self-assigned this Sep 21, 2024
@leoherzog
Copy link
Author

Awesome, thanks @SergioEstevao! I just learned about this myself from this week's Pocket Casts Partner Newsletter. The "technical details" link to the Podcasting 2.0 page about transcripts mentions:

Mime type of the file such as text/plain, text/html, text/vtt, application/json, application/x-subrip

😄

@SergioEstevao
Copy link
Contributor

Fixed on #2193

@SergioEstevao SergioEstevao added this to the 7.73 ❄️ milestone Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Project] Transcripts [Type] Bug Used for issues where something is not functioning as intended.
Projects
None yet
Development

No branches or pull requests

2 participants