iSubRip icon indicating copy to clipboard operation
iSubRip copied to clipboard

[Feature Request]: List Available Subtitles for Not-Yet-Released Movies

Open TJruee opened this issue 10 months ago • 2 comments

Confirmations

  • [X] I have checked the issues tab, and couldn't find an existing issue with my feature request.

Description

It can be done that it will find the language I chose in "config.toml" even if the subtitles have not yet been released

exmple: Found movie: Dune: Part Two (2024) Found Subtitles (9): English, Greek, French, Arabic, Czech,Finnish,Hebrew,Greek,Turkish Release date (iTunes): 2024-04-16.

New exmple: Found movie: Godzilla x Kong: The New Empire [2024] (ID: 1733624264) Found Subtitles (9): English, Greek, French, Arabic, Czech, Finnish, Hebrew, Greek, Turkish. (If it is possible for the names to be color yellow, that is better) 'Godzilla x Kong: The New Empire' is currently unavailable on iTunes, and will be available on 2024-05-14.

TJruee avatar Mar 29 '24 10:03 TJruee

@MichaelYochpaz Is this a good idea?

TJruee avatar May 01 '24 15:05 TJruee

Hey, it's a valid suggestion, but more complicated than it may seem.

Currently, the downloaded subtitles are fetched from the iTunes playlist of the movie (a file that refers to different streams to download, like different video / audio / subtitles tracks), not from the data that's used to display available languages on the movie pages on AppleTV.

When a movie is not available yet, it usually has no playlist (since you can't stream it yet), thus the subtitles that will be available once it's released can't be listed using the current method used.

It's very possible to fetch subtitles data from API's data (the subtitles listed on the AppleTV page), but it requires new additional code specifically for that, and requires the code to check languages that are available specifically for the iTunes channel in case there are multiple channels (read here for more information).

So while it's possible and a valid feature request, it's one that will take some time to implement. I leave this feature request open for now, but can't guarantee it'll be implemented any time soon.

MichaelYochpaz avatar May 02 '24 08:05 MichaelYochpaz