Mercurial > minori
comparison src/core/anime.cc @ 383:27c462bc7815
make the "Now Playing" page actually work
| author | Paper <paper@tflc.us> |
|---|---|
| date | Thu, 06 Nov 2025 07:10:58 -0500 |
| parents | 47c9f8502269 |
| children |
comparison
equal
deleted
inserted
replaced
| 382:0265e125f680 | 383:27c462bc7815 |
|---|---|
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include <iostream> | 16 #include <iostream> |
| 17 | 17 |
| 18 namespace Anime { | 18 namespace Anime { |
| 19 /* FIXME need to parse relations data as well. | |
| 20 * | |
| 21 * For example | |
| 22 * A Certain Magical Index - 2x13.mkv | |
| 23 * How do we know which anime is the second season of | |
| 24 * "A Certain Magical Index"? We can't possibly know | |
| 25 * without relations data! | |
| 26 * | |
| 27 * A way to solve this would be to store prequel/sequel. | |
| 28 * This is sorta-kinda anime speak for seasons. We can | |
| 29 * then find when the prequels stop. HOWEVER, this isn't | |
| 30 * exactly fool proof, because there are shows with a | |
| 31 * second "season" that is actually a prequel, and may | |
| 32 * show up as one in relations data. So it's not as | |
| 33 * straightforward as one may think. */ | |
| 19 | 34 |
| 20 /* User list data */ | 35 /* User list data */ |
| 21 bool Anime::IsInUserList() const | 36 bool Anime::IsInUserList() const |
| 22 { | 37 { |
| 23 if (list_info_.has_value()) | 38 if (list_info_.has_value()) |
