Affects iOS and Android.
Changes behavior of podcasts
In-depth Description
The newest episode is played, because the newest non-played episode was selected.
I reversed the sorting, so the oldest non-finished episode gets played.
This matches the sorting in the web-ui.
How have you tested this?
Edit: i just tested this localy on my Device (Android 16)
Screenshots
There are no visual changes.
🔄 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-app/pull/1717
**Author:** [@ShaikaJar](https://github.com/ShaikaJar)
**Created:** 11/2/2025
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `fix/du/nextEpisode`
---
### 📝 Commits (1)
- [`d5bd997`](https://github.com/advplyr/audiobookshelf-app/commit/d5bd997f3f742b7c740d05cd17c021abf50b08d8) fix sorting of next epsiode
### 📊 Changes
**1 file changed** (+1 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `android/app/src/main/java/com/audiobookshelf/app/data/DataClasses.kt` (+1 -1)
</details>
### 📄 Description
## Brief summary
To fix that the newest episode is played, when the next episode should be played, i reversed the sorting before filtering.
## Which issue is fixed?
Fixes: #1716
## Pull Request Type
Affects iOS and Android.
Changes behavior of podcasts
## In-depth Description
The newest episode is played, because the newest non-played episode was selected.
I reversed the sorting, so the oldest non-finished episode gets played.
This matches the sorting in the web-ui.
## How have you tested this?
Edit: i just tested this localy on my Device (Android 16)
## Screenshots
There are no visual changes.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1717
Author: @ShaikaJar
Created: 11/2/2025
Status: ❌ Closed
Base:
master← Head:fix/du/nextEpisode📝 Commits (1)
d5bd997fix sorting of next epsiode📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
android/app/src/main/java/com/audiobookshelf/app/data/DataClasses.kt(+1 -1)📄 Description
Brief summary
To fix that the newest episode is played, when the next episode should be played, i reversed the sorting before filtering.
Which issue is fixed?
Fixes: #1716
Pull Request Type
Affects iOS and Android.
Changes behavior of podcasts
In-depth Description
The newest episode is played, because the newest non-played episode was selected.
I reversed the sorting, so the oldest non-finished episode gets played.
This matches the sorting in the web-ui.
How have you tested this?
Edit: i just tested this localy on my Device (Android 16)
Screenshots
There are no visual changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.