39 Commits

Author SHA1 Message Date
Roardom
46bfccc8b7 refactor: use enums for auth guards, middleware groups, and rate limits 2025-06-22 20:00:02 +00:00
Roardom
b67b8b2cf6 fix: tmdb fetching when cache is empty
Redis fails if no values are sent.
2025-06-09 00:40:37 +00:00
HDVinnie
7dbcfc59b2 Merge pull request #4752 from Roardom/movie-tv-tmdb-cache
(Fix) Only cache tmdb fetching after successful fetch
2025-06-08 20:34:55 -04:00
Roardom
2bb1a25e02 fix: only cache tmdb fetching after successful fetch
Instead of caching before, the job failing, and being unable to retry.
2025-06-08 02:48:01 +00:00
Roardom
333247ed76 fix: tmdb person cache
Only cache the people after they've been upserted.
2025-06-07 21:15:06 +00:00
Roardom
1962ef2c04 update: implement proper tmdb rate limiting
Allows the fetch meta command to work without hitting rate limits on tmdb. Tmdb's rate limit is ~40 per second, but each movie/tv has to send additional http request for each collection, network, company and person, so I figured 2 per second was safe.
2025-05-08 12:01:35 +00:00
Roardom
e3cbfd7d7f refactor: split tmdb recommendations into movies and tv 2025-04-07 17:20:57 +00:00
Roardom
192bb5f4e3 fix: abort movie/tv scraper if returns null 2025-04-03 02:42:59 +00:00
Roardom
926747e905 update: collection on similar meta and collection posters
Show all movies in a collection that the current movie is in, in the similar meta. Also show movie posters instead of a collection card in the relations panel on the torrent page. Reorganize the relations so that plurals are correct and match the relation stored in the database. Even though there can be only one collection per movie as defined by tmdb, that's not the way the tables are stored and the queries are done, so use plural naming for now.
2025-04-02 09:16:32 +00:00
Roardom
ae33c74f2b refactor: prefix tmdb metadata models with tmdb
Will help for when there exists other metadata sources available (such as already done for igdb)

Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom
32cf8da4db refactor: split tmdb into movie_id and tv_id
Step 2 in cleaner meta fetching code.
2025-03-16 22:55:24 +00:00
Roardom
8fde78124b refactor: save igdb games to the database
Step 1 towards cleaner meta fetching code.

Users with a game category must run `php artisan fetch:meta` after migration.
2025-03-11 19:48:25 +00:00
Roardom
fa35e4e5c0 add: use meilisearch to search torrents 2024-08-06 02:15:25 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
071c83b0db fix: tmdb service 2023-12-30 12:58:47 +00:00
Roardom
a837f59eae update: modularize tmdb service arrays and add types 2023-12-30 10:27:18 +00:00
HDVinnie
b3f0386149 cleanup: pt.1 2023-10-12 22:30:52 -04:00
Roardom
a8f821499f fix: duplicate credit insertion 2023-07-13 00:49:40 +00:00
Roardom
b6fa5b4da4 update: optimize process tv and process movie jobs 2023-07-12 11:07:18 +00:00
Roardom
9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00:00
Roardom
80428fdc88 refactor: swap count and comparisons to 0 with exists() 2023-06-19 23:18:40 +00:00
Roardom
7e1bb1ad5b update: new metadata redesign 2023-03-19 18:48:55 -05:00
HDVinnie
472c820f99 update: UNIT3D linting
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
Roardom
b2dc736ca2 fix: wrong director 2022-08-31 10:07:00 -05:00
HDVinnie
825857126a fix: movie job 2022-02-28 05:04:38 -05:00
HDVinnie
98521378d2 chore: phpdoc blocks 2022-01-10 17:46:43 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
ec3ae6549d fix: #1880 2021-09-21 18:29:08 -04:00
HDVinnie
8ac0e1f413 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-07-17 16:29:36 +00:00
HDVinnie
92fac1355e fix: #1842
- closes #1842
2021-07-17 12:29:14 -04:00
HDVinnie
d77b76365a Apply fixes from StyleCI
[ci skip] [skip ci]
2021-07-11 14:48:11 +00:00
HDVinnie
0a1f4bf778 fix: typo 2021-07-11 10:47:36 -04:00
HDVinnie
fd5a3b8ae4 update: meta recommendations 2021-07-11 10:44:08 -04:00
HDVinnie
425df823f1 update: torrents system
- adds meta trailers
- add meta recommendations
- rework similar torrents to Livewire
- adds torrent bulk delete to similar torrents page. (beta)
- adds personal release flag
2021-07-11 10:34:34 -04:00
HDVinnie
8a9d94e07a update: preslash simple functions
- performance
2020-12-31 12:41:46 -05:00
HDVinnie
645a171bfe refactor: jobs 2020-12-30 12:26:27 -05:00
HDVinnie
467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -05:00
HDVinnie
992245bbcc Apply fixes from StyleCI
[ci skip] [skip ci]
2020-10-28 20:42:44 +00:00
HDVinnie
e5a4a16ddf refactor: meta data system
- Complete rewrite of meta data system
- New media hub feature.
- Torrent Bumping Refactor
- Wish System Disabled until refactored
- Fetch meta command added for fetchinng new meta on prexsisnting torrents.
- plus alot more
- closes #1428
- closes #1344
- closes #1147
- closes #361
2020-10-28 16:42:22 -04:00