You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -145,12 +145,12 @@ public function handle(SchedulesDirectService $service): void
145
145
146
146
return;
147
147
} else {
148
-
// Sync the EPG data from Schedules Direct
148
+
// Sync the EPG data from SchedulesDirect
149
149
// Notify user we're starting the sync...
150
150
Notification::make()
151
151
->info()
152
-
->title('Starting Schedules Direct Data Sync')
153
-
->body("Schedules Direct Data Sync started for EPG \"{$epg->name}\".")
152
+
->title('Starting SchedulesDirect Data Sync')
153
+
->body("SchedulesDirect Data Sync started for EPG \"{$epg->name}\".")
154
154
->broadcast($epg->user)
155
155
->sendToDatabase($epg->user);
156
156
@@ -180,8 +180,8 @@ public function handle(SchedulesDirectService $service): void
180
180
// Notify user of success
181
181
Notification::make()
182
182
->success()
183
-
->title('Schedules Direct Data Synced')
184
-
->body("Schedules Direct Data Synced successfully for EPG \"{$epg->name}\". Completed in {$completedInRounded} seconds. Now parsing data and generating EPG cache...")
183
+
->title('SchedulesDirect Data Synced')
184
+
->body("SchedulesDirect Data Synced successfully for EPG \"{$epg->name}\". Completed in {$completedInRounded} seconds. Now parsing data and generating EPG cache...")
Copy file name to clipboardExpand all lines: app/Jobs/ProcessEpgSDImport.php
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,8 @@ public function handle(SchedulesDirectService $service): bool
44
44
// Notify user we're starting the sync...
45
45
Notification::make()
46
46
->info()
47
-
->title('Starting Schedules Direct Data Sync')
48
-
->body("Schedules Direct Data Sync started for EPG \"{$epg->name}\".")
47
+
->title('Starting SchedulesDirect Data Sync')
48
+
->body("SchedulesDirect Data Sync started for EPG \"{$epg->name}\".")
49
49
->broadcast($epg->user)
50
50
->sendToDatabase($epg->user);
51
51
@@ -75,26 +75,26 @@ public function handle(SchedulesDirectService $service): bool
75
75
// Notify user of success
76
76
Notification::make()
77
77
->success()
78
-
->title('Schedules Direct Data Synced')
79
-
->body("Schedules Direct Data Synced successfully for EPG \"{$epg->name}\". Completed in {$completedInRounded} seconds. Now parsing data and generating EPG cache...")
78
+
->title('SchedulesDirect Data Synced')
79
+
->body("SchedulesDirect Data Synced successfully for EPG \"{$epg->name}\". Completed in {$completedInRounded} seconds. Now parsing data and generating EPG cache...")
80
80
->broadcast($epg->user)
81
81
->sendToDatabase($epg->user);
82
82
83
83
returntrue;
84
84
} catch (Exception$e) {
85
85
// Log the exception
86
-
logger()->error("Error processing Schedules Direct Data for EPG \"{$this->epg->name}\"");
86
+
logger()->error("Error processing SchedulesDirect Data for EPG \"{$this->epg->name}\"");
87
87
88
88
// Send notification
89
89
$error = 'Error: '.$e->getMessage();
90
90
Notification::make()
91
91
->danger()
92
-
->title("Error processing Schedules Direct Data for EPG \"{$this->epg->name}\"")
92
+
->title("Error processing SchedulesDirect Data for EPG \"{$this->epg->name}\"")
93
93
->body('Please view your notifications for details.')
94
94
->broadcast($this->epg->user);
95
95
Notification::make()
96
96
->danger()
97
-
->title("Error processing Schedules Direct Data for EPG \"{$this->epg->name}\"")
97
+
->title("Error processing SchedulesDirect Data for EPG \"{$this->epg->name}\"")
0 commit comments