|
@@ -7,6 +7,7 @@ import android.os.Build
|
7
|
7
|
import android.util.Log
|
8
|
8
|
import androidx.preference.PreferenceManager
|
9
|
9
|
import fr.forum_thalie.tsumugi.alarm.RadioAlarm
|
|
10
|
+import fr.forum_thalie.tsumugi.planning.Planning
|
10
|
11
|
import fr.forum_thalie.tsumugi.playerstore.PlayerStore
|
11
|
12
|
|
12
|
13
|
class BootBroadcastReceiver : BroadcastReceiver(){
|
|
@@ -24,6 +25,7 @@ class BootBroadcastReceiver : BroadcastReceiver(){
|
24
|
25
|
{
|
25
|
26
|
|
26
|
27
|
RadioAlarm.instance.setNextAlarm(context) // schedule next alarm
|
|
28
|
+ Planning.instance.parseUrl(context = context)
|
27
|
29
|
if (!PlayerStore.instance.isInitialized)
|
28
|
30
|
PlayerStore.instance.initApi()
|
29
|
31
|
if (PlayerStore.instance.streamerName.value.isNullOrBlank())
|