Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d573c09e7 |
@@ -6,6 +6,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
MERCURE_PUBLISHER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'
|
MERCURE_PUBLISHER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'
|
||||||
MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'
|
MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'
|
||||||
|
tty: true
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ class MediaFiles
|
|||||||
foreach ($existingEpisodes as $episode) {
|
foreach ($existingEpisodes as $episode) {
|
||||||
$ptn = (object) (new PTN())->parse($episode->getFilename());
|
$ptn = (object) (new PTN())->parse($episode->getFilename());
|
||||||
|
|
||||||
if (!property_exists($episode, 'season') || !property_exists($episode, 'episode')) {
|
if (!property_exists($ptn, 'season') || !property_exists($ptn, 'episode')) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user