Commit fa6cc56
Fix anime cover images and search not returning results for series and movies (#74)
* Initial plan
* Fix anime cover not showing and anime search not returning results
- Fix getArtwork() in TvSeriesApiImpl and MovieAPIImpl: call .getFilePath()
on Artwork objects instead of concatenating the object directly (which
called toString() instead of the file path)
- Fix update() in MediaServiceImpl: ANIME_SERIE (case 5) was incorrectly
using movieAPI for updates; now uses tvSeriesApi to properly handle
TV series TMDB IDs
- Fix findAnimeByIdOrName() to search both ANIME_SERIE (TV series) and
ANIME_MOVIE categories so anime movies like 'kimi no na wa' are found
- Add MediaRepository.findMediaByNameOrAlternativeTitleAndMediaCategoryIn()
for multi-category DB queries used by anime search
Co-authored-by: vitorhugo-java <65777252+vitorhugo-java@users.noreply.github.com>
Agent-Logs-Url: https://github.com/EspacoGeek-Teams/SpringAPI_EspacoGeek/sessions/0513754b-713b-4688-beee-f869735040b8
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vitorhugo-java <65777252+vitorhugo-java@users.noreply.github.com>1 parent 8880074 commit fa6cc56
4 files changed
Lines changed: 78 additions & 6 deletions
File tree
- src/main/java/com/espacogeek/geek
- data/api/impl
- repositories
- services/impl
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
| 182 | + | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
| 190 | + | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
54 | 80 | | |
55 | 81 | | |
56 | 82 | | |
| |||
Lines changed: 48 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
246 | 290 | | |
247 | 291 | | |
248 | 292 | | |
| |||
257 | 301 | | |
258 | 302 | | |
259 | 303 | | |
260 | | - | |
| 304 | + | |
261 | 305 | | |
| 306 | + | |
| 307 | + | |
262 | 308 | | |
263 | 309 | | |
264 | 310 | | |
| |||
0 commit comments