Skip to content

Commit eacc44a

Browse files
authored
Radio3.0 v2.7.8: Improves applet startup (#6853)
1 parent 40b6ba1 commit eacc44a

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

Radio3.0@claudiux/files/Radio3.0@claudiux/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 2.7.8~20250205
2+
* Improves applet startup.
3+
14
### 2.7.7~20250204
25
* Code improvement.
36

Radio3.0@claudiux/files/Radio3.0@claudiux/applet.js

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ class WebRadioReceiverAndRecorder extends TextIconApplet {
10881088
constructor(orientation, panel_height, instance_id) {
10891089
super(orientation, panel_height, instance_id);
10901090

1091-
//this.install_desklet();
1091+
this.desklet_is_activated = false;
10921092

10931093
this.rec_folder = "file://" + RADIO30_MUSIC_DIR;
10941094

@@ -1313,17 +1313,6 @@ class WebRadioReceiverAndRecorder extends TextIconApplet {
13131313
this.r30previousMonitor = null;
13141314
this.r30previousMonitorId = null;
13151315

1316-
// Run all monitors:
1317-
this.on_network_monitoring_changed();
1318-
this.monitor_mpv_title();
1319-
this.monitor_jobs_dir();
1320-
this.monitor_rec_folder();
1321-
this.monitor_r30stop();
1322-
this.monitor_r30next();
1323-
this.monitor_r30previous();
1324-
1325-
// Connect signals:
1326-
this._connect_signals();
13271316

13281317
//title_obj.watch('prop', function(value){
13291318
//this._on_mpv_title_changed();
@@ -4051,6 +4040,18 @@ class WebRadioReceiverAndRecorder extends TextIconApplet {
40514040
}
40524041

40534042
on_applet_added_to_panel() {
4043+
// Run all monitors:
4044+
this.on_network_monitoring_changed();
4045+
this.monitor_mpv_title();
4046+
this.monitor_jobs_dir();
4047+
this.monitor_rec_folder();
4048+
this.monitor_r30stop();
4049+
this.monitor_r30next();
4050+
this.monitor_r30previous();
4051+
4052+
// Connect signals:
4053+
this._connect_signals();
4054+
40544055
// Install or update translations, if any:
40554056
if (!are_translations_installed()) install_translations();
40564057

Radio3.0@claudiux/files/Radio3.0@claudiux/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"description": "The Ultimate Internet Radio Receiver & Recorder for Cinnamon",
33
"max-instances": 1,
4-
"version": "2.7.7",
4+
"version": "2.7.8",
55
"uuid": "Radio3.0@claudiux",
66
"name": "Radio3.0",
77
"author": "claudiux",

0 commit comments

Comments
 (0)