not1mm 25.4.16__py3-none-any.whl → 25.4.17__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
not1mm/__main__.py CHANGED
@@ -2908,6 +2908,46 @@ class MainWindow(QtWidgets.QMainWindow):
2908
2908
  if "{WIPE}" in macro:
2909
2909
  macro = macro.replace("{WIPE}", "")
2910
2910
  self.clearinputs()
2911
+ if "{VOICE1}" in macro:
2912
+ macro = macro.replace("{VOICE1}", "")
2913
+ if self.rig_control:
2914
+ self.rig_control.sendvoicememory(memoryspot=1)
2915
+ if "{VOICE2}" in macro:
2916
+ macro = macro.replace("{VOICE2}", "")
2917
+ if self.rig_control:
2918
+ self.rig_control.sendvoicememory(memoryspot=2)
2919
+ if "{VOICE3}" in macro:
2920
+ macro = macro.replace("{VOICE3}", "")
2921
+ if self.rig_control:
2922
+ self.rig_control.sendvoicememory(memoryspot=3)
2923
+ if "{VOICE4}" in macro:
2924
+ macro = macro.replace("{VOICE4}", "")
2925
+ if self.rig_control:
2926
+ self.rig_control.sendvoicememory(memoryspot=4)
2927
+ if "{VOICE5}" in macro:
2928
+ macro = macro.replace("{VOICE5}", "")
2929
+ if self.rig_control:
2930
+ self.rig_control.sendvoicememory(memoryspot=5)
2931
+ if "{VOICE6}" in macro:
2932
+ macro = macro.replace("{VOICE6}", "")
2933
+ if self.rig_control:
2934
+ self.rig_control.sendvoicememory(memoryspot=6)
2935
+ if "{VOICE7}" in macro:
2936
+ macro = macro.replace("{VOICE7}", "")
2937
+ if self.rig_control:
2938
+ self.rig_control.sendvoicememory(memoryspot=7)
2939
+ if "{VOICE8}" in macro:
2940
+ macro = macro.replace("{VOICE8}", "")
2941
+ if self.rig_control:
2942
+ self.rig_control.sendvoicememory(memoryspot=8)
2943
+ if "{VOICE9}" in macro:
2944
+ macro = macro.replace("{VOICE9}", "")
2945
+ if self.rig_control:
2946
+ self.rig_control.sendvoicememory(memoryspot=9)
2947
+ if "{VOICE10}" in macro:
2948
+ macro = macro.replace("{VOICE10}", "")
2949
+ if self.rig_control:
2950
+ self.rig_control.sendvoicememory(memoryspot=10)
2911
2951
  return macro
2912
2952
 
2913
2953
  def ptt_on(self) -> None:
@@ -156,6 +156,24 @@ class CAT:
156
156
  self.rigctrlsocket.settimeout(0.5)
157
157
  return dump
158
158
 
159
+ def sendvoicememory(self, memoryspot=1):
160
+ """..."""
161
+ if self.interface == "rigctld":
162
+ return self.__sendvoicememory_rigctld(memoryspot)
163
+
164
+ def __sendvoicememory_rigctld(self, memoryspot=1):
165
+ """..."""
166
+ try:
167
+ self.online = True
168
+ self.rigctrlsocket.send(bytes(f"+\send_voice_mem {memoryspot}\n", "utf-8"))
169
+ _ = self.__get_serial_string()
170
+ return
171
+ except socket.error as exception:
172
+ self.online = False
173
+ logger.debug("%s", f"{exception}")
174
+ self.rigctrlsocket = None
175
+ return
176
+
159
177
  def sendcw(self, texttosend):
160
178
  """..."""
161
179
  logger.debug(f"{texttosend=} {self.interface=}")
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.4.16"
3
+ __version__ = "25.4.17"
not1mm/radio.py CHANGED
@@ -131,6 +131,11 @@ class Radio(QObject):
131
131
  if the_mode in cwmodes:
132
132
  self.last_cw_mode = the_mode
133
133
 
134
+ def sendvoicememory(self, memoryspot=1):
135
+ """..."""
136
+ if self.cat:
137
+ self.cat.sendvoicememory(memoryspot)
138
+
134
139
  def sendcw(self, texttosend):
135
140
  """..."""
136
141
  logger.debug(f"Send CW: {texttosend}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: not1mm
3
- Version: 25.4.16
3
+ Version: 25.4.17
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  License: GPL-3.0-or-later
@@ -254,6 +254,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
254
254
 
255
255
  ## Recent Changes
256
256
 
257
+ - [25-4-17] Testing sending radio voice memory. {VOICE1}, {VOICE2} etc.
257
258
  - [25-4-16] Fix serial number not updating when selecing call from checkpartial or bandmap.
258
259
  - [25-4-15] Corrected dupe_type 5 check for contest specific function. Fixed wrong ES Open plugin name. Fixed some problems with the specific_contest_check_dupe datetime namespace. And other stuff.
259
260
  - [25-4-14] Add ES Open HF Chanmpionship.
@@ -1,11 +1,11 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=wKUfF71VCtTF2LI-TVLH_oSdIaPblkIDTzyl4Juc0oc,154125
2
+ not1mm/__main__.py,sha256=Qbwiv4ZPhTDiJ8-BLosXXV3G4-JoH_3uWow2hUXCXhg,155908
3
3
  not1mm/bandmap.py,sha256=-zu5slsuAm2GmeW8g3yvURzsuQxemwIQfw1HEq8xKHM,29920
4
4
  not1mm/checkwindow.py,sha256=zEHlw40j6Wr3rvKbCQf2lcezCoiZqaBqEvBjQU5aKW0,7630
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
6
6
  not1mm/logwindow.py,sha256=e36t4ebyhLF6UR3y3HJWUwL1rzeqRFzdek7NAYINJNM,42565
7
7
  not1mm/lookupservice.py,sha256=GkY_qHZfrW6XHf8upIoaG4hCFqm0fg6Ganu9ConGrIc,2628
8
- not1mm/radio.py,sha256=_b-tSFuDLoBKnABxrsafGQu2p33U-KOubY7-qgLV2yg,5408
8
+ not1mm/radio.py,sha256=O_jkMJhsrr5IlktjRk7-H7I-r18NU54wjZ6BY5vf5cI,5542
9
9
  not1mm/ratewindow.py,sha256=PeFmmXYKA6ikR8AzWB6n5TS_1NoaHLocw4pSdySq_7A,6995
10
10
  not1mm/rtc_service.py,sha256=axAwnCBuTr-QL0YwXtWvg9tjwhcFsiiEZFgFjOofX6k,2816
11
11
  not1mm/statistics.py,sha256=YbXBCr8wtmXlF21ojgsh0jY_G-dnCApUFe87JZclZAI,7712
@@ -100,7 +100,7 @@ not1mm/data/phonetics/yourcall.wav,sha256=4kheHJmCiRDL2kjhlgXQ8_u_eEMgKxiNGu5UBk
100
100
  not1mm/data/phonetics/z.wav,sha256=arafCi7fwmBLdVDI-PRyaL4U-03PIQDhffwY5noJ_2c,51768
101
101
  not1mm/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
102
102
  not1mm/lib/about.py,sha256=sWycfGcruN3SaEe4JmaJ61K6D8Itq0WxpUYT-lEcmYM,416
103
- not1mm/lib/cat_interface.py,sha256=BJvy-34ZyiN73kKNQcCzE4w6ll2O6Ue0uz01T_3sf1E,25204
103
+ not1mm/lib/cat_interface.py,sha256=qHoGaw6ftkGE32fzEri_mivEWDRs-DwnMv_WmwonUPY,25816
104
104
  not1mm/lib/cwinterface.py,sha256=rKUnqljHQC_Iljq4TCmAgSPe49lWbKcfxg58cE8YX5Y,5177
105
105
  not1mm/lib/database.py,sha256=fykyaQaTa_Pwde51f09Odbexy1mlUqObv0fjZ7hf3E0,51693
106
106
  not1mm/lib/edit_contact.py,sha256=Ki9bGPpqyQQBB1cU8VIBDCal3lbXeQ6qxhzklmhE2_w,353
@@ -118,7 +118,7 @@ not1mm/lib/plugin_common.py,sha256=D1OBjyLmX7zuSPqgTCmHwXzAKA12J_zTQItvyIem-4Y,1
118
118
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
119
119
  not1mm/lib/settings.py,sha256=mXffn8Xaj5KATPQinNBR0V5DbHWQPsRfh24_axWGYuk,15254
120
120
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
121
- not1mm/lib/version.py,sha256=xyneEZrvek58gN8OOt9pACOrFiN3PDFtZTKCFKAmCUc,48
121
+ not1mm/lib/version.py,sha256=2Oc1BbB7z0HNhRFXqVRGDIp-4oNs-fGqlw45Ssf_5lI,48
122
122
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
123
123
  not1mm/plugins/10_10_fall_cw.py,sha256=oJh3JKqjOpnWElSlZpiQ631UnaOd8qra5s9bl_QoInk,14783
124
124
  not1mm/plugins/10_10_spring_cw.py,sha256=p7dSDtbFK0e6Xouw2V6swYn3VFVgHKyx4IfRWyBjMZY,14786
@@ -179,9 +179,9 @@ not1mm/plugins/stew_perry_topband.py,sha256=3U-Dr28haBTqTaZWLiC1qHQBmLsLENDL-ihy
179
179
  not1mm/plugins/ukeidx.py,sha256=0ABGW7_9Ui0Rgr8mkPBxOJokAIerM1a4-HWnl6VsnV8,19105
180
180
  not1mm/plugins/weekly_rtty.py,sha256=C8Xs3Q5UgSYx-mFFar8BVARWtmqlyrbeC98Ubzb4UN8,20128
181
181
  not1mm/plugins/winter_field_day.py,sha256=hmAMgkdqIXtnCNyUp8J9Bb8liN8wj10wps6ROuG-Bok,15284
182
- not1mm-25.4.16.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
183
- not1mm-25.4.16.dist-info/METADATA,sha256=Cjj35tuQthP7loNH7xxdytuYQbkJWM7sM_Q0reT6SWs,39684
184
- not1mm-25.4.16.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
185
- not1mm-25.4.16.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
186
- not1mm-25.4.16.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
187
- not1mm-25.4.16.dist-info/RECORD,,
182
+ not1mm-25.4.17.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
183
+ not1mm-25.4.17.dist-info/METADATA,sha256=ppGw23cZlwRkVk4s3ayv1DJ-G-ceycEaB1ZFqbXL8xY,39756
184
+ not1mm-25.4.17.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
185
+ not1mm-25.4.17.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
186
+ not1mm-25.4.17.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
187
+ not1mm-25.4.17.dist-info/RECORD,,