Skip to content

Commit e671de3

Browse files
authored
Merge pull request #435 from DialmasterOrg/content-rating
Content rating
2 parents 90b5f0c + 1c8e7d6 commit e671de3

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

server/modules/__tests__/videoDownloadPostProcessFiles.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,14 +289,14 @@ describe('videoDownloadPostProcessFiles', () => {
289289
expect(process.exit).not.toHaveBeenCalled();
290290
});
291291

292-
it('includes --year with UTC timestamp when upload_date is present', async () => {
292+
it('includes --year when upload_date is present', async () => {
293293
await loadModule();
294294
await settleAsync();
295295

296296
expect(childProcess.spawnSync).toHaveBeenCalledWith(
297297
'/usr/bin/AtomicParsley',
298298
expect.arrayContaining([
299-
'--year', '2024'
299+
'--year', '2024-01-31'
300300
]),
301301
expect.any(Object)
302302
);

server/modules/videoDownloadPostProcessFiles.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,7 @@ async function copyChannelPosterIfNeeded(channelId, channelFolderPath) {
356356
const month = jsonData.upload_date.substring(4, 6);
357357
const day = jsonData.upload_date.substring(6, 8);
358358
const releaseDate = `${year}-${month}-${day}`;
359-
apArgs.push('--release_date', `${releaseDate}`);
360-
apArgs.push('--year', `${year}`);
361-
apArgs.push('--date', `${releaseDate}`);
362-
apArgs.push('--originaldate', `${releaseDate}`);
359+
apArgs.push('--year', `${releaseDate}`);
363360
}
364361

365362
// Description for Plex Summary

0 commit comments

Comments
 (0)