Backend: People & Media
- Added people manager - Auto update non fully fetched people - People media downloader - Updated media controller to serve peoples profiles - Config people media folders auto creation
This commit is contained in:
1 parent
367c9899a0
commit
9d8f2899d4
6 files changed
+120
-10
No files matched your search
@@ -124,12 +124,12 @@ async function fetchEntryCredits(tmdb_id, is_tvserie) {
|
||||
|
||||
/**
|
||||
* Fetches detailed information about a person
|
||||
* @param {number} person_id - The TMDB ID of the person
|
||||
* @param {number} tmdb_id - The TMDB ID of the person
|
||||
* @returns {Promise<Object|null>} - The person data or null if there's an error
|
||||
*/
|
||||
async function fetchPersonDetails(person_id) {
|
||||
async function fetchPersonDetails(tmdb_id) {
|
||||
try {
|
||||
let url = `${TMDB_APIURL}person/${person_id}?api_key=${TMDB_APIKEY}&language=en-US&append_to_response=external_ids`;
|
||||
let url = `${TMDB_APIURL}person/${tmdb_id}?api_key=${TMDB_APIKEY}&language=en-US&append_to_response=external_ids`;
|
||||
logToFile(`Fetching Person Details From: ${url}`);
|
||||
|
||||
let data;
|
||||
|
||||
Reference in new issue
Block a user