frontengine 0.0.8__py3-none-any.whl → 0.0.9__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.
- frontengine/show/sound_player/sound_effect.py +5 -0
- frontengine/show/sound_player/sound_player.py +5 -0
- frontengine/show/video/video_player.py +2 -0
- {frontengine-0.0.8.dist-info → frontengine-0.0.9.dist-info}/METADATA +1 -1
- {frontengine-0.0.8.dist-info → frontengine-0.0.9.dist-info}/RECORD +8 -8
- {frontengine-0.0.8.dist-info → frontengine-0.0.9.dist-info}/LICENSE +0 -0
- {frontengine-0.0.8.dist-info → frontengine-0.0.9.dist-info}/WHEEL +0 -0
- {frontengine-0.0.8.dist-info → frontengine-0.0.9.dist-info}/top_level.txt +0 -0
@@ -22,6 +22,8 @@ class SoundEffectWidget(QWidget):
|
|
22
22
|
if self.sound_path.exists() and self.sound_path.is_file():
|
23
23
|
self.sound_player.setSource(QUrl.fromLocalFile(str(self.sound_path)))
|
24
24
|
self.sound_player.setVolume(volume)
|
25
|
+
# -2 means loop forever
|
26
|
+
self.sound_player.setLoopCount(-2)
|
25
27
|
self.sound_player.play()
|
26
28
|
else:
|
27
29
|
message_box = QMessageBox(self)
|
@@ -38,3 +40,6 @@ class SoundEffectWidget(QWidget):
|
|
38
40
|
super().close()
|
39
41
|
self.sound_player.stop()
|
40
42
|
|
43
|
+
def closeEvent(self, event):
|
44
|
+
super().closeEvent(event)
|
45
|
+
self.sound_player.stop()
|
@@ -25,6 +25,7 @@ class SoundPlayer(QWidget):
|
|
25
25
|
self.media_player_audio = self.media_player.audioOutput()
|
26
26
|
self.media_player.setSource(QUrl.fromLocalFile(str(self.sound_path)))
|
27
27
|
self.media_player_audio.setVolume(volume)
|
28
|
+
self.media_player.setLoops(-1)
|
28
29
|
self.media_player.play()
|
29
30
|
else:
|
30
31
|
message_box = QMessageBox(self)
|
@@ -40,3 +41,7 @@ class SoundPlayer(QWidget):
|
|
40
41
|
def close(self):
|
41
42
|
super().close()
|
42
43
|
self.media_player.stop()
|
44
|
+
|
45
|
+
def closeEvent(self, event):
|
46
|
+
super().closeEvent(event)
|
47
|
+
self.media_player.stop()
|
@@ -33,6 +33,7 @@ class VideoWidget(QVideoWidget):
|
|
33
33
|
self.media_player.setAudioOutput(self.audioOutput)
|
34
34
|
self.media_player.setPlaybackRate(play_rate)
|
35
35
|
self.media_player.audioOutput().setVolume(volume)
|
36
|
+
self.media_player.setLoops(-1)
|
36
37
|
self.media_player.play()
|
37
38
|
else:
|
38
39
|
message_box = QMessageBox(self)
|
@@ -45,4 +46,5 @@ class VideoWidget(QVideoWidget):
|
|
45
46
|
self.setWindowIcon(QIcon(str(self.icon_path)))
|
46
47
|
|
47
48
|
def closeEvent(self, event):
|
49
|
+
super().closeEvent(event)
|
48
50
|
self.media_player.stop()
|
@@ -5,12 +5,12 @@ frontengine/show/gif/paint_gif.py,sha256=lAGwabkbq_bQPVtijDb2d7vShnNjQwsSPJ80Dvx
|
|
5
5
|
frontengine/show/image/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
frontengine/show/image/paint_image.py,sha256=0dtS3tg_MNXxuJ_xeVh0t3jCFFw1c6LiBXWcMx22t_0,1451
|
7
7
|
frontengine/show/sound_player/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
frontengine/show/sound_player/sound_effect.py,sha256=
|
9
|
-
frontengine/show/sound_player/sound_player.py,sha256=
|
8
|
+
frontengine/show/sound_player/sound_effect.py,sha256=CwS3LtOJBBW6BDMaf4Cdc_OAPBvJOe0opuFQkE0cML8,1629
|
9
|
+
frontengine/show/sound_player/sound_player.py,sha256=8DOAZclmLr1dLnEjgTHle5s2x95DDfOp8gBwGwVP6UM,1797
|
10
10
|
frontengine/show/text/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
frontengine/show/text/draw_text.py,sha256=hhS6O10HADZoUNBGgJQ-vKTxbo7IBsFGtKR1FdmCxro,1443
|
12
12
|
frontengine/show/video/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
-
frontengine/show/video/video_player.py,sha256=
|
13
|
+
frontengine/show/video/video_player.py,sha256=gewpgjC9PFSLUlLkTGmf6ZN-HkS3Mg4o7_A0He38KBw,1969
|
14
14
|
frontengine/show/web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
15
|
frontengine/show/web/webview.py,sha256=ziYX-z-DwaUYa3nGTvJrA70eUh7XUhEgXBDc9Kk1DXs,825
|
16
16
|
frontengine/ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -55,8 +55,8 @@ frontengine/utils/json/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
|
|
55
55
|
frontengine/utils/json/json_file.py,sha256=sNJ6nNyoO_DV4KOJ8ZZz459Lo52nSxiL8maJi9-8DJA,1384
|
56
56
|
frontengine/utils/json_format/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
57
57
|
frontengine/utils/json_format/json_process.py,sha256=xJt_4Hm_o3sNDoeGtRW9Q7fsRj3DLiTbW-W8IqB8vt8,1021
|
58
|
-
frontengine-0.0.
|
59
|
-
frontengine-0.0.
|
60
|
-
frontengine-0.0.
|
61
|
-
frontengine-0.0.
|
62
|
-
frontengine-0.0.
|
58
|
+
frontengine-0.0.9.dist-info/LICENSE,sha256=ATvBYSYmbRD32jRYAuicY1sXjumpBZIxao_xkWc4CmU,1084
|
59
|
+
frontengine-0.0.9.dist-info/METADATA,sha256=2SOQx8HIy2aInu8Od2WzsdKoF809A5aIn-vPJKF05p4,1466
|
60
|
+
frontengine-0.0.9.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
61
|
+
frontengine-0.0.9.dist-info/top_level.txt,sha256=btCybScN_ubeQ8phsSDBB0T-HyHjqt7b-WPy61uTox0,12
|
62
|
+
frontengine-0.0.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|