Open ryan-lp opened 2 years ago
The following two lines of code appear to assume that the SRT MIME type contains srt:
srt
https://github.com/Podcastindex-org/aggregator/blob/c02d73e730fe3ce14a3ef40c3c0b19caca2ad82e/partytime/partytime.js#L851 https://github.com/Podcastindex-org/aggregator/blob/c02d73e730fe3ce14a3ef40c3c0b19caca2ad82e/partytime/partytime.js#L875
And for example, the Podcasting 2.0 RSS feed uses application/srt.
application/srt
However, the conventional MIME type for SRT files (also recognised in the spec) is application/x-subrip, so the code should probably be forgiving and accept both MIME types.
application/x-subrip
My code has diverged from this repo so I’ll go look and see what is going on currently. Thanks for pointing this out.
The following two lines of code appear to assume that the SRT MIME type contains
srt
:https://github.com/Podcastindex-org/aggregator/blob/c02d73e730fe3ce14a3ef40c3c0b19caca2ad82e/partytime/partytime.js#L851 https://github.com/Podcastindex-org/aggregator/blob/c02d73e730fe3ce14a3ef40c3c0b19caca2ad82e/partytime/partytime.js#L875
And for example, the Podcasting 2.0 RSS feed uses
application/srt
.However, the conventional MIME type for SRT files (also recognised in the spec) is
application/x-subrip
, so the code should probably be forgiving and accept both MIME types.