Description
Current Functionality of the App
The app currently displays the names of all files within a folder in alphabetical order and presents the full file names. However, which can be inconvenient in several situations:
Long File Names
If the files have long names, they will be displayed in full. This can consume excessive screen space and make it difficult to recognize the episode numbers.
Non-Alphabetical or Non-Chronological Order
If the files are not downloaded from the same source (e.g., SubsPlease, Ember, ACG.rip), they will appear unorganized and unsorted. This lack of order is not ideal.
Presence of episodes.json
In modern media servers and library apps (e.g., Jellyfin, Plex, Emby, Aniyomi), media folders often contain an episodes.json
file. The current model does not detect or display the corresponding episode names from this file.
The format of episodes.json
is as follows:
[
{
"episode_number": 1,
"name": "Episode 1 : Ike, Commander of the Undying Brigade (不死旅団長アイク• Fushi Ryodanchou Ike)",
"date_upload": "2024-06-26T00:00:00",
"scanlator": "Opening"
},
{
"episode_number": 2,
"name": "Episode 2 : White Rose Knights Commander Alistair (白薔薇騎士団長アリステア• Shiro Bara Kishidanchou Alistair)",
"date_upload": "2024-07-03T00:00:00",
"scanlator": "Canon"
},
{
"episode_number": 3,
"name": "Episode 3 : Traitor (裏切者• Uragirimono)",
"date_upload": "2024-07-10T00:00:00",
"scanlator": "Ending"
}
]
In this format:
episode_number
corresponds to the detected episode number. This key must be present in the JSON file, while the rest are optional for additional information editing.name
corresponds to the title to be shown.date_upload
indicates the date and time of the episode's release.scanlator
provides additional information such as the episode description or whether the episode is a filler.
Sources:
- Advanced editing | Local anime source - episodes.json
- Suwayomi-Server
- LocalAnimeSource.kt
- Episode number recognition | EpisodeRecognition.kt
Improvements with Episode Number Recognition
Adding episode number recognition to the app will provide several benefits:
- Improved Organization: Episodes will be automatically sorted by their number, regardless of the download source. This ensures a consistent viewing order.
- Enhanced Display: Long file names can be truncated or reformatted to highlight the episode number, saving screen space and improving readability.
- Better Integration with episodes.json: The app will be able to read and display episode information from the
episodes.json
file, showing titles, upload dates, and additional information like scanlator notes. - User Experience: Users will find it easier to navigate through their media library, quickly identifying and accessing the desired episodes without confusion.
![]() |
![]() |
![]() |
---|