Roardom
46bfccc8b7
refactor: use enums for auth guards, middleware groups, and rate limits
2025-06-22 20:00:02 +00:00
Roardom
8709c230b4
fix: handle 65k+ placeholders when upserting fetched tmdb people
...
fixes #4764
2025-06-11 08:41:27 +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
HDVinnie
0fe77cb738
Merge pull request #4751 from Roardom/tmdb-tv-credit-timeout
...
(Fix) Increase job timeout for tmdb tv fetching
2025-06-08 20:34:35 -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
f0b32be159
fix: increase job timeout for tmdb tv fetching
...
Some shows have 2000+ credits requiring more than the default timeout of 60 seconds. Mark any timed out jobs as failed to make easier to debug future instances.
2025-06-08 02:28:43 +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
HDVinnie
bd33b5371b
Merge pull request #4619 from Roardom/remove-seasons-episodes
2025-04-04 06:51:47 -04:00
Roardom
69363b7d7a
remove: seasons, episodes, guest_stars
...
These tables and models aren't used anymore. Seasons and episodes aren't used because most torrents do not follow tmdb's episode and season ordering, but instead follow tvdb's, so it is more accurate to specify the episode and season number directly. Guest stars haven't been used for a long time, if ever.
Fixes #4565
2025-04-03 09:05:19 +00:00
Roardom
192bb5f4e3
fix: abort movie/tv scraper if returns null
2025-04-03 02:42:59 +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
09b9126b1e
fix: tv company and network meta fetching
2025-03-16 10:30:00 +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
HDVinnie
93b17f0419
chore: license
2024-03-19 17:56:44 -04:00
Roardom
071c83b0db
fix: tmdb service
2023-12-30 12:58:47 +00:00
Roardom
fd12439113
fix: tmdb service phpstan ci
2023-12-30 11:34:23 +00:00
Roardom
a837f59eae
update: modularize tmdb service arrays and add types
2023-12-30 10:27:18 +00:00
Roardom
a28a7d2b43
fix: null season numbers
...
Sometimes, tmdb is returning null season numbers (even though their documentation states that the return value is always an integer). Fix it by using the originally fetched season number instead of relying on returned data.
2023-07-19 09:01:50 +00:00
Roardom
1d4ddf5245
fix: tmdb seasons null season number
2023-07-14 21:21:37 +00: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
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
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04:00
HDVinnie
ec3ae6549d
fix : #1880
2021-09-21 18:29:08 -04: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
fd5a3b8ae4
update: meta recommendations
2021-07-11 10:44:08 -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