[PR #4422] [MERGED] Show duration in episode view modal & episode feed modal #4246

Closed
opened 2026-04-25 00:18:59 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/4422
Author: @advplyr
Created: 6/20/2025
Status: Merged
Merged: 6/20/2025
Merged by: @advplyr

Base: masterHead: podcast_episode_duration


📝 Commits (2)

  • c150ed4 Update view episode modal to include duration & episode feed modal to include duration & size
  • 7b92c15 Include durationSeconds on RSS podcast episode parsed from duration

📊 Changes

3 files changed (+24 additions, -4 deletions)

View changed files

📝 client/components/modals/podcast/EpisodeFeed.vue (+8 -1)
📝 client/components/modals/podcast/ViewEpisode.vue (+10 -0)
📝 server/utils/podcastUtils.js (+6 -3)

📄 Description

Brief summary

While testing a podcast issue I noticed that when an episode is in progress or marked as finished there is no place to view the episode duration. This PR adds the duration to the view episode modal.

This also adds the duration and file size to the episode feed modal. The episode feed modal is using data from the podcast RSS feed and in some cases the file size or duration isn't specified. In those cases the size and/or duration isn't shown.

The podcast episode RSS feed object includes episodeDuration that is parsed from the duration set in the RSS feed. The duration can be the number of seconds or a timestamp like "1:12:27".

Which issue is fixed?

No issue

Screenshots

Syntax doesn't include file size in enclosure
image

Self-Hosted uses timestamps like "1:12:27" for duration
image

View episode modal now includes duration
image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/4422 **Author:** [@advplyr](https://github.com/advplyr) **Created:** 6/20/2025 **Status:** ✅ Merged **Merged:** 6/20/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `podcast_episode_duration` --- ### 📝 Commits (2) - [`c150ed4`](https://github.com/advplyr/audiobookshelf/commit/c150ed4e989a668501edfffad6b0754c501d35df) Update view episode modal to include duration & episode feed modal to include duration & size - [`7b92c15`](https://github.com/advplyr/audiobookshelf/commit/7b92c15a465fa6eae62145250d5c6709a2dda1b7) Include durationSeconds on RSS podcast episode parsed from duration ### 📊 Changes **3 files changed** (+24 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `client/components/modals/podcast/EpisodeFeed.vue` (+8 -1) 📝 `client/components/modals/podcast/ViewEpisode.vue` (+10 -0) 📝 `server/utils/podcastUtils.js` (+6 -3) </details> ### 📄 Description <!-- For Work In Progress Pull Requests, please use the Draft PR feature, see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details. If you do not follow this template, the PR may be closed without review. Please ensure all checks pass. If you are a new contributor, the workflows will need to be manually approved before they run. --> ## Brief summary While testing a podcast issue I noticed that when an episode is in progress or marked as finished there is no place to view the episode duration. This PR adds the duration to the view episode modal. This also adds the duration and file size to the episode feed modal. The episode feed modal is using data from the podcast RSS feed and in some cases the file size or duration isn't specified. In those cases the size and/or duration isn't shown. The podcast episode RSS feed object includes `episodeDuration` that is parsed from the `duration` set in the RSS feed. The duration can be the number of seconds or a timestamp like "1:12:27". ## Which issue is fixed? No issue ## Screenshots Syntax doesn't include file size in enclosure ![image](https://github.com/user-attachments/assets/80410581-6b2d-4dfd-b7d8-2af24c59c172) Self-Hosted uses timestamps like "1:12:27" for duration ![image](https://github.com/user-attachments/assets/8ccee348-b301-401d-9b86-792bdb167be5) View episode modal now includes duration ![image](https://github.com/user-attachments/assets/a97c6667-b9fc-4dc2-9b76-d1bda19ddd01) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:18:59 +02:00
adam closed this issue 2026-04-25 00:18:59 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4246