[PR #3890] [CLOSED] Feat: RSS Feed Reverse Order #4111

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3890
Author: @batonac
Created: 1/24/2025
Status: Closed

Base: masterHead: feat-rss-reverse-order


📝 Commits (10+)

  • 106489b feat: reverse the order of the rss feed
  • f89b77f feat: reverseOrder vars/types
  • 4707789 feat: better layout for reverseOrder option
  • fe2f46b feat: translations for LabelRSSFeedReverseOrder
  • 53c04ae feat: show reverseOrder on RSS info modal
  • 0cbdae0 fix: Keys are not alphabetized in bg.json
  • 787d3bb fix: Keys are not alphabetized in ca.json
  • f662d98 fix: Keys are not alphabetized in cs.json
  • 4aecd2c fix: Keys are not alphabetized in da.json
  • 2242894 fix: add reverseOrder to feedObj meta

📊 Changes

7 files changed (+116 additions, -3 deletions)

View changed files

📝 client/components/modals/rssfeed/OpenCloseModal.vue (+7 -0)
📝 client/components/modals/rssfeed/ViewFeedModal.vue (+6 -0)
📝 client/components/widgets/RssFeedMetadataBuilder.vue (+15 -0)
📝 client/strings/en-us.json (+1 -0)
📝 server/managers/RssFeedManager.js (+2 -1)
server/migrations/v2.18.2-feeds-add-reverseorder.js (+68 -0)
📝 server/models/Feed.js (+17 -2)

📄 Description

Brief summary

This PR adds the ability to choose to reverse the order of the episodes in a generated RSS Feed.

Which issue is fixed?

A workaround for #891

In-depth Description

Some players that support RSS playback (in this case the Yoto portable players) play Audiobookshelf-generated RSS feeds from back to front instead of front to back. This feature allows users to optionally reverse the order of the episodes in the feed in order to work with this behavior.

How have you tested this?

I've tested the code in a local dev container. The server and client work fine with these changes. I've verified that the episode order is reversed when the option is applied, by searching for the length of the first two item nodes without the reverse order option, and verifying that those nodes are sent to the bottom in reverse order when reverseOrder is enabled.

Screenshots

reverseOrder


🔄 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/3890 **Author:** [@batonac](https://github.com/batonac) **Created:** 1/24/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat-rss-reverse-order` --- ### 📝 Commits (10+) - [`106489b`](https://github.com/advplyr/audiobookshelf/commit/106489be754241796d6eee6531e80305516fdf7c) feat: reverse the order of the rss feed - [`f89b77f`](https://github.com/advplyr/audiobookshelf/commit/f89b77fdc9a2baa58a301a036b9f4c72b41a08a2) feat: reverseOrder vars/types - [`4707789`](https://github.com/advplyr/audiobookshelf/commit/47077897ef7e6317ccf0a7960565c0cfa3bab1a5) feat: better layout for reverseOrder option - [`fe2f46b`](https://github.com/advplyr/audiobookshelf/commit/fe2f46b54862fcff43f5c50d42fd59b27b5c8300) feat: translations for LabelRSSFeedReverseOrder - [`53c04ae`](https://github.com/advplyr/audiobookshelf/commit/53c04aea42cfeb2546cc0227e568d91d1e1c8772) feat: show reverseOrder on RSS info modal - [`0cbdae0`](https://github.com/advplyr/audiobookshelf/commit/0cbdae08fe9bcd2df55f4c48bc39617fea29c8fe) fix: Keys are not alphabetized in bg.json - [`787d3bb`](https://github.com/advplyr/audiobookshelf/commit/787d3bb5507c4e13d00fd5235eb2123187d6c8b4) fix: Keys are not alphabetized in ca.json - [`f662d98`](https://github.com/advplyr/audiobookshelf/commit/f662d981f72083762fbf4933e8dd8ba8c3b56976) fix: Keys are not alphabetized in cs.json - [`4aecd2c`](https://github.com/advplyr/audiobookshelf/commit/4aecd2c4c746358ebbeb30f4c24958069aac51be) fix: Keys are not alphabetized in da.json - [`2242894`](https://github.com/advplyr/audiobookshelf/commit/2242894a80b453abbbc78d562c9c30ae8fb72f94) fix: add reverseOrder to feedObj meta ### 📊 Changes **7 files changed** (+116 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `client/components/modals/rssfeed/OpenCloseModal.vue` (+7 -0) 📝 `client/components/modals/rssfeed/ViewFeedModal.vue` (+6 -0) 📝 `client/components/widgets/RssFeedMetadataBuilder.vue` (+15 -0) 📝 `client/strings/en-us.json` (+1 -0) 📝 `server/managers/RssFeedManager.js` (+2 -1) ➕ `server/migrations/v2.18.2-feeds-add-reverseorder.js` (+68 -0) 📝 `server/models/Feed.js` (+17 -2) </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 This PR adds the ability to choose to reverse the order of the episodes in a generated RSS Feed. ## Which issue is fixed? A workaround for #891 ## In-depth Description Some players that support RSS playback (in this case the Yoto portable players) play Audiobookshelf-generated RSS feeds from back to front instead of front to back. This feature allows users to optionally reverse the order of the episodes in the feed in order to work with this behavior. ## How have you tested this? I've tested the code in a local dev container. The server and client work fine with these changes. I've verified that the episode order is reversed when the option is applied, by searching for the `length` of the first two `item` nodes without the reverse order option, and verifying that those nodes are sent to the bottom in reverse order when `reverseOrder` is enabled. ## Screenshots ![reverseOrder](https://github.com/user-attachments/assets/798a5ae3-a14c-43fa-86f5-6e972b5bac5c) --- <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:21 +02:00
adam closed this issue 2026-04-25 00:18:21 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4111