Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f28d92a498 | |||
| 750d0f844a | |||
| f7ed6749bf |
@@ -0,0 +1 @@
|
||||
uid://dgwslfj43mu1y
|
||||
@@ -0,0 +1 @@
|
||||
uid://cv5aoaprqfuhx
|
||||
@@ -0,0 +1 @@
|
||||
uid://cf1rsngucr7e2
|
||||
|
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 935 B After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1 @@
|
||||
uid://b8g2xx06g626m
|
||||
@@ -357,7 +357,6 @@ metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="PlaylistsPanel" type="Control" parent="PlaylistPanelHolder"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
anchors_preset = 0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 19.0
|
||||
@@ -432,7 +431,6 @@ size_flags_vertical = 4
|
||||
alignment = 1
|
||||
|
||||
[node name="YtTabButton" type="Button" parent="."]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 1.0
|
||||
@@ -447,6 +445,7 @@ scale = Vector2(0.79, 0.79)
|
||||
focus_mode = 0
|
||||
toggle_mode = true
|
||||
icon = ExtResource("29_v44vi")
|
||||
expand_icon = true
|
||||
script = ExtResource("16_2t15p")
|
||||
|
||||
[node name="YoutubeMenuHolder" type="Control" parent="."]
|
||||
@@ -629,6 +628,7 @@ grow_horizontal = 0
|
||||
focus_mode = 0
|
||||
icon = ExtResource("14_mioc4")
|
||||
flat = true
|
||||
expand_icon = true
|
||||
|
||||
[node name="RandomizeList" type="Button" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -671,6 +671,7 @@ scale = Vector2(0.5, 0.5)
|
||||
focus_mode = 0
|
||||
shortcut = SubResource("Shortcut_0ov5v")
|
||||
icon = ExtResource("8_5v7u3")
|
||||
expand_icon = true
|
||||
|
||||
[node name="CurrentProgress" type="HSlider" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -688,7 +689,6 @@ max_value = 1000.0
|
||||
ticks_on_borders = true
|
||||
|
||||
[node name="Skip" type="Button" parent="."]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
@@ -701,12 +701,14 @@ offset_right = -65.0
|
||||
offset_bottom = -35.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
rotation = 3.14159
|
||||
pivot_offset = Vector2(20, 20)
|
||||
focus_mode = 0
|
||||
shortcut = SubResource("Shortcut_qw6pv")
|
||||
icon = ExtResource("3_4vx67")
|
||||
expand_icon = true
|
||||
|
||||
[node name="Loop" type="Button" parent="."]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
@@ -722,6 +724,7 @@ grow_vertical = 0
|
||||
focus_mode = 0
|
||||
shortcut = SubResource("Shortcut_vot6l")
|
||||
icon = ExtResource("5_c2g63")
|
||||
expand_icon = true
|
||||
|
||||
[node name="GoBack" type="Button" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -730,16 +733,17 @@ anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -157.0
|
||||
offset_top = -35.0
|
||||
offset_right = -117.0
|
||||
offset_bottom = 5.0
|
||||
offset_left = -198.535
|
||||
offset_top = -75.09
|
||||
offset_right = -158.535
|
||||
offset_bottom = -35.09
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
rotation = 3.14159
|
||||
pivot_offset = Vector2(20, 20)
|
||||
focus_mode = 0
|
||||
shortcut = SubResource("Shortcut_xu6hm")
|
||||
icon = ExtResource("3_4vx67")
|
||||
expand_icon = true
|
||||
|
||||
[node name="SongName" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -795,9 +799,9 @@ layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -318.0
|
||||
offset_left = -320.0
|
||||
offset_top = 24.0
|
||||
offset_right = -246.0
|
||||
offset_right = -248.0
|
||||
offset_bottom = 96.0
|
||||
grow_horizontal = 0
|
||||
scale = Vector2(0.79, 0.79)
|
||||
@@ -805,6 +809,7 @@ focus_mode = 0
|
||||
toggle_mode = true
|
||||
shortcut = SubResource("Shortcut_g3fcr")
|
||||
icon = ExtResource("12_cv2gm")
|
||||
expand_icon = true
|
||||
script = ExtResource("13_5illk")
|
||||
PressedIcon = ExtResource("14_mioc4")
|
||||
NotPressedIcon = ExtResource("12_cv2gm")
|
||||
@@ -851,7 +856,6 @@ offset_right = -264.5
|
||||
offset_bottom = -263.775
|
||||
|
||||
[node name="VolumeButton" type="Button" parent="."]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
@@ -867,6 +871,7 @@ grow_vertical = 0
|
||||
focus_mode = 0
|
||||
toggle_mode = true
|
||||
icon = ExtResource("6_3mi6c")
|
||||
expand_icon = true
|
||||
script = ExtResource("14_7q3ja")
|
||||
|
||||
[node name="VolumeSlider" type="VSlider" parent="."]
|
||||
@@ -910,7 +915,7 @@ offset_left = -64.0
|
||||
offset_top = -23.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "v1.5.4"
|
||||
text = "v1.5.5"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="SettingsButton" type="Button" parent="."]
|
||||
@@ -928,6 +933,7 @@ focus_mode = 0
|
||||
toggle_mode = true
|
||||
shortcut = SubResource("Shortcut_8p5o4")
|
||||
icon = ExtResource("11_esjel")
|
||||
expand_icon = true
|
||||
script = ExtResource("12_073mb")
|
||||
|
||||
[node name="SettingsHolder" type="Control" parent="."]
|
||||
@@ -1080,6 +1086,7 @@ color = Color(0.264012, 0.463229, 0.504783, 1)
|
||||
script = ExtResource("32_pwgec")
|
||||
|
||||
[node name="CloseBuen" type="Button" parent="UpdateChecker/ColorRect"]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
@@ -1091,6 +1098,7 @@ scale = Vector2(0.4, 0.4)
|
||||
pivot_offset = Vector2(72, 0)
|
||||
icon = ExtResource("14_mioc4")
|
||||
flat = true
|
||||
expand_icon = true
|
||||
|
||||
[node name="UpdatingNotification" type="Control" parent="."]
|
||||
visible = false
|
||||
@@ -1180,6 +1188,7 @@ horizontal_alignment = 1
|
||||
|
||||
[node name="deleteConfirm" type="ConfirmationDialog" parent="."]
|
||||
initial_position = 2
|
||||
size = Vector2i(263, 100)
|
||||
dialog_text = "Are you sure you want to delete"
|
||||
|
||||
[node name="LoadingFailedScreen" type="Control" parent="."]
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://rnxfmtoo2yn4
|
||||
@@ -0,0 +1 @@
|
||||
uid://cdigfnlqg2r8l
|
||||
@@ -0,0 +1 @@
|
||||
uid://bs5vnv3baji7f
|
||||
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 859 B After Width: | Height: | Size: 7.8 KiB |
@@ -566,7 +566,7 @@ layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "Godot GIF by b0tlanner"
|
||||
underline = 1
|
||||
uri = "https://github.com/vaporvee/discord-rpc-godot"
|
||||
uri = "https://github.com/BOTLANNER/godot-gif"
|
||||
|
||||
[node name="Seperator7" type="Control" parent="ScrollContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 16.07)
|
||||
@@ -597,6 +597,7 @@ size_flags_vertical = 0
|
||||
focus_mode = 0
|
||||
icon = ExtResource("2_iuivb")
|
||||
flat = true
|
||||
expand_icon = true
|
||||
|
||||
[connection signal="toggled" from="ScrollContainer/VBoxContainer/DiscordRichPresenceButton" to="." method="_on_discord_rich_presence_button_toggled"]
|
||||
[connection signal="pressed" from="ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer/SelectBG" to="." method="_on_select_bg_pressed"]
|
||||
|
||||
|
Before Width: | Height: | Size: 849 B After Width: | Height: | Size: 8.0 KiB |
@@ -0,0 +1 @@
|
||||
uid://bx75h6xic1hi7
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 7.7 KiB |
@@ -0,0 +1 @@
|
||||
uid://0jnn2i3r56m3
|
||||
@@ -0,0 +1 @@
|
||||
uid://cu21wq8hdk6mq
|
||||
@@ -0,0 +1 @@
|
||||
uid://bupnp7dee8k3a
|
||||
@@ -0,0 +1 @@
|
||||
uid://bb81mf7sks0g4
|
||||
@@ -0,0 +1 @@
|
||||
uid://ec3hjq1x03oq
|
||||
@@ -0,0 +1 @@
|
||||
uid://bkptv02am6p88
|
||||
@@ -0,0 +1 @@
|
||||
uid://rxllqh6yapvt
|
||||
@@ -0,0 +1 @@
|
||||
uid://osytjsx5x5lb
|
||||
@@ -0,0 +1 @@
|
||||
uid://c0dklnw4cfoe3
|
||||
@@ -0,0 +1 @@
|
||||
uid://b5mou30wr43g
|
||||
@@ -0,0 +1 @@
|
||||
uid://n3koklp0funr
|
||||
@@ -0,0 +1 @@
|
||||
uid://dg68hvw773xu6
|
||||
@@ -0,0 +1 @@
|
||||
uid://bsnt1irskti8d
|
||||
@@ -0,0 +1 @@
|
||||
uid://dl37gwyodonea
|
||||
@@ -0,0 +1 @@
|
||||
uid://kt7n1epi3ng8
|
||||
@@ -9,9 +9,11 @@ custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../Exports/Windows/Simplaudio.exe"
|
||||
export_path="../SimplaudioExports/Windows/Simplaudio.exe"
|
||||
patches=PackedStringArray()
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
seed=0
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
script_export_mode=2
|
||||
@@ -77,9 +79,11 @@ custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../Exports/Linux/Simplaudio.x86_64"
|
||||
export_path="../SimplaudioExports/Linux/Simplaudio.x86_64"
|
||||
patches=PackedStringArray()
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
seed=0
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
script_export_mode=2
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://bn0iqqmor3b2b
|
||||
@@ -0,0 +1 @@
|
||||
uid://cbdcs7oie12g5
|
||||
@@ -121,9 +121,6 @@ func _ready() -> void:
|
||||
child.PlaylistSongs = Playlists[Playlist]
|
||||
playlists_holder.add_child(child)
|
||||
if data != null:
|
||||
if data.has("DiscordUsername"):
|
||||
DiscordUsername = data["DiscordUsername"]
|
||||
print("stiff ",data)
|
||||
if data.has("Volume"):
|
||||
print(data["Volume"])
|
||||
SetVolume(data["Volume"])
|
||||
@@ -141,6 +138,13 @@ func _ready() -> void:
|
||||
if data.has("DiscordRichPresenceEnabled"):
|
||||
settings_menu_child.discord_rich_presence_button.set_pressed_no_signal(data["DiscordRichPresenceEnabled"])
|
||||
DiscordRichPresenceEnabled = data["DiscordRichPresenceEnabled"]
|
||||
if data["DiscordRichPresenceEnabled"]:
|
||||
setUpDiscord()
|
||||
if data.has("DiscordUsername"):
|
||||
if data["DiscordUsername"]:
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordUsername = data["DiscordUsername"]
|
||||
print("stiff ",data)
|
||||
if data.has("ReverbEnabled") :
|
||||
settings_menu_child.reverb_check.button_pressed = data["ReverbEnabled"]
|
||||
if data.has("ReverbRoomSize") :
|
||||
@@ -189,12 +193,14 @@ func _ready() -> void:
|
||||
PlaySongs()
|
||||
#PlaySongs()
|
||||
|
||||
setUpDiscord()
|
||||
for child in get_children(true):
|
||||
if child is Control:
|
||||
child.focus_mode = child is LineEdit
|
||||
if LoadingSaveFailed:
|
||||
loading_failed_screen.Show()
|
||||
var file2 = FileAccess.open("user://playlists.dat", FileAccess.READ)
|
||||
if (file2.get_error() != ERR_FILE_NOT_FOUND) or (file2.get_error() != ERR_FILE_BAD_PATH):
|
||||
loading_failed_screen.Show()
|
||||
ERR_PRINTER_ON_FIRE
|
||||
|
||||
func setUpDiscord():
|
||||
DiscordRPC.app_id = 1276916292170809426
|
||||
@@ -487,21 +493,22 @@ func _process(_delta: float) -> void:
|
||||
BackroundSetup = true
|
||||
if currentSaveTime < 0:
|
||||
currentSaveTime = SaveInterval
|
||||
|
||||
DiscordUsername = DiscordRPC.get_current_user().get("username")
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordUsername = DiscordRPC.get_current_user().get("username")
|
||||
if !LoadingSaveFailed:
|
||||
SaveEverything()
|
||||
@warning_ignore("integer_division")
|
||||
if DiscordRPC.large_image != "nullbody":
|
||||
UpdateSplashes()
|
||||
if DiscordRPC.get_is_discord_working():
|
||||
print(DiscordRPC.get_current_user()["username"])
|
||||
print(TimeSpentListening)
|
||||
var LText = SplashStrings.pick_random()
|
||||
if DiscordRPC.large_image != "nullbody":
|
||||
DiscordRPC.large_image_text = LText
|
||||
if DiscordRPC.get_is_discord_working():
|
||||
DiscordRPC.refresh()
|
||||
if DiscordRichPresenceEnabled:
|
||||
if DiscordRPC.large_image != "nullbody":
|
||||
UpdateSplashes()
|
||||
if DiscordRPC.get_is_discord_working():
|
||||
print(DiscordRPC.get_current_user()["username"])
|
||||
print(TimeSpentListening)
|
||||
var LText = SplashStrings.pick_random()
|
||||
if DiscordRPC.large_image != "nullbody":
|
||||
DiscordRPC.large_image_text = LText
|
||||
if DiscordRPC.get_is_discord_working():
|
||||
DiscordRPC.refresh()
|
||||
# "59:59 remaining" timestamp for the activity
|
||||
if music_player.playing:
|
||||
TimeSpentListening += _delta
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://cvqefw0g6ala7
|
||||
@@ -0,0 +1 @@
|
||||
uid://bh3btjt2hkbs
|
||||
@@ -0,0 +1 @@
|
||||
uid://q2gdlr10ncnb
|
||||
@@ -0,0 +1 @@
|
||||
uid://cs12qambyvou8
|
||||
@@ -0,0 +1 @@
|
||||
uid://bxc2fqwlm5ea5
|
||||
@@ -49,10 +49,9 @@ enabled=PackedStringArray("res://addons/discord-rpc-gd/plugin.cfg", "res://addon
|
||||
|
||||
[rendering]
|
||||
|
||||
textures/canvas_textures/default_texture_filter=2
|
||||
renderer/rendering_method="gl_compatibility"
|
||||
renderer/rendering_method.mobile="gl_compatibility"
|
||||
textures/vram_compression/import_etc2_astc=true
|
||||
textures/default_filters/texture_mipmap_bias=2.0
|
||||
environment/defaults/default_clear_color=Color(0.147672, 0.147672, 0.147672, 1)
|
||||
anti_aliasing/quality/msaa_2d=2
|
||||
2d/snap/snap_2d_vertices_to_pixel=true
|
||||
2d/sdf/scale=0
|
||||
|
||||
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 8.0 KiB |
@@ -0,0 +1 @@
|
||||
uid://cchutywgopaq4
|
||||
@@ -0,0 +1 @@
|
||||
uid://c3aaxhp0oim08
|
||||
@@ -0,0 +1 @@
|
||||
uid://d0hvudugo3d37
|
||||
@@ -0,0 +1 @@
|
||||
uid://c2t3ignwqoplj
|
||||
@@ -0,0 +1 @@
|
||||
uid://dv2vjibopktug
|
||||
@@ -148,6 +148,7 @@ func _on_discord_rich_presence_button_toggled(toggled_on: bool) -> void:
|
||||
Parent.DiscordRichPresenceEnabled = true
|
||||
else:
|
||||
Parent.DiscordRichPresenceEnabled = false
|
||||
Parent.setUpDiscord()
|
||||
Parent.SaveEverything()
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://vnpslgl788du
|
||||
@@ -0,0 +1 @@
|
||||
uid://xnlvpxy2jwxb
|
||||
|
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 9.6 KiB |
@@ -0,0 +1 @@
|
||||
uid://dkjp64f01dpf4
|
||||
@@ -0,0 +1 @@
|
||||
uid://drqx8pjalsxqr
|
||||
@@ -0,0 +1 @@
|
||||
uid://ctj7miuviibin
|
||||
@@ -0,0 +1 @@
|
||||
uid://b4mmbu4weiab5
|
||||
@@ -0,0 +1 @@
|
||||
uid://cjjiclahlyxii
|
||||
@@ -0,0 +1 @@
|
||||
uid://chdf40dyj73pq
|
||||