Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 745b7c43c4 | |||
| 2be692e55c |
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=1.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
@@ -21,7 +21,7 @@ compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
|
||||
+1
-6
@@ -232,11 +232,6 @@ script = ExtResource("1_ubs1p")
|
||||
LoopPressed = ExtResource("2_iolk5")
|
||||
LoopNotPressed = ExtResource("5_c2g63")
|
||||
|
||||
[node name="OSMediaIntigration" type="Control" parent="."]
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="WallpaperManager" type="Node2D" parent="." node_paths=PackedStringArray("Daytime", "Evening", "Nighttime")]
|
||||
script = ExtResource("4_y372l")
|
||||
Daytime = NodePath("../Daytime")
|
||||
@@ -921,7 +916,7 @@ offset_left = -64.0
|
||||
offset_top = -23.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "v1.6.2"
|
||||
text = "v1.6.3"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="SettingsButton" type="Button" parent="."]
|
||||
|
||||
@@ -64,7 +64,7 @@ layout_mode = 2
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
focus_mode = 0
|
||||
text = "Play"
|
||||
text = "PLAY"
|
||||
|
||||
[node name="OptionsDropdown" type="MenuButton" parent="HSplitContainer/HBoxContainer"]
|
||||
modulate = Color(0.724643, 0.724643, 0.724643, 1)
|
||||
@@ -72,10 +72,13 @@ custom_minimum_size = Vector2(20.505, 0)
|
||||
layout_mode = 2
|
||||
icon = ExtResource("2_im6ur")
|
||||
expand_icon = true
|
||||
item_count = 2
|
||||
popup/item_0/text = "Change Directory"
|
||||
popup/item_1/text = "Delete"
|
||||
popup/item_1/id = 1
|
||||
item_count = 3
|
||||
popup/item_0/text = "Open Directory"
|
||||
popup/item_0/id = 2
|
||||
popup/item_1/text = "Change Directory"
|
||||
popup/item_1/id = 0
|
||||
popup/item_2/text = "DELETE"
|
||||
popup/item_2/id = 1
|
||||
|
||||
[node name="FileDialog" type="FileDialog" parent="."]
|
||||
title = "Open a Directory"
|
||||
|
||||
@@ -66,6 +66,18 @@ texture = ExtResource("2_haeb5")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="ColorRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
texture = ExtResource("3_j8vo6")
|
||||
expand_mode = 3
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="ColorRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://ctqcbjrmxaqsk"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ctqcbjrmxaqsk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c3aaxhp0oim08" path="res://Scripts/search_item.gd" id="1_j4126"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwvy6crqhardn" path="res://Icons/Dropdown.png" id="2_hicj1"]
|
||||
[ext_resource type="Script" uid="uid://dd38vqi4220tx" path="res://Scripts/SongSource.cs" id="3_ftuau"]
|
||||
|
||||
[node name="SearchItem" type="Control"]
|
||||
[node name="SearchItem" type="Control" node_paths=PackedStringArray("soung_source")]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 3
|
||||
anchors_preset = 10
|
||||
@@ -12,6 +13,7 @@ grow_horizontal = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
script = ExtResource("1_j4126")
|
||||
soung_source = NodePath("Node")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
custom_minimum_size = Vector2(200, 32)
|
||||
@@ -43,11 +45,15 @@ icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="PopupMenu" type="PopupMenu" parent="."]
|
||||
size = Vector2i(116, 100)
|
||||
item_count = 2
|
||||
item_0/text = "DELETE"
|
||||
item_0/id = 0
|
||||
item_1/text = "open source"
|
||||
item_1/text = "OPEN SOURCE"
|
||||
item_1/id = 1
|
||||
|
||||
[node name="Node" type="Node" parent="."]
|
||||
script = ExtResource("3_ftuau")
|
||||
|
||||
[connection signal="pressed" from="HBoxContainer/Songname" to="." method="_on_songname_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/Dropdown" to="." method="_on_dropdown_pressed"]
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using ATL;
|
||||
using Godot;
|
||||
|
||||
public partial class SongSource : Node{
|
||||
public String TryGetSongUrl(String path){
|
||||
Track theTrack = new(path);
|
||||
if (theTrack.AdditionalFields.TryGetValue("comment", out string value)){
|
||||
return value;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
uid://dd38vqi4220tx
|
||||
@@ -172,6 +172,7 @@ func _ready() -> void:
|
||||
if data.has("UsingPlayingNow"):
|
||||
UsingPlayingNow = data["UsingPlayingNow"]
|
||||
if UsingPlayingNow:
|
||||
print("!!! using stereamer window !!!")
|
||||
settings_menu_child.now_playing_window_button.button_pressed = true
|
||||
if data.has("OverriddenLocale"):
|
||||
TranslationServer.set_locale(data["OverriddenLocale"])
|
||||
|
||||
@@ -18,14 +18,16 @@ func _ready() -> void:
|
||||
CorrectlyName()
|
||||
options_dropdown.get_popup().id_pressed.connect(dropdown_pressed)
|
||||
|
||||
func dropdown_pressed(Idx:int):
|
||||
match options_dropdown.get_popup().get_item_text(Idx):
|
||||
"Change Directory":
|
||||
func dropdown_pressed(Id:int):
|
||||
match Id:
|
||||
0:
|
||||
_on_select_directory_pressed()
|
||||
"Delete":
|
||||
1:
|
||||
confirmation.show()
|
||||
"Rename":
|
||||
pass
|
||||
2:
|
||||
OS.shell_open(PlaylistLocation)
|
||||
Parent.SaveEverything()
|
||||
|
||||
func Delete():
|
||||
|
||||
@@ -6,6 +6,7 @@ var songidx:int
|
||||
@onready var songname: Button = $HBoxContainer/Songname
|
||||
@onready var dropdown: Button = $HBoxContainer/Dropdown
|
||||
@onready var popup_menu: PopupMenu = $PopupMenu
|
||||
@export var soung_source: Node
|
||||
|
||||
|
||||
signal PlayPressed
|
||||
@@ -21,12 +22,10 @@ func popupPressed(idx:int):
|
||||
DeletePressed.emit(songidx)
|
||||
1:
|
||||
var songdir = MainScene.instance.CurrentDir + "/" + MainScene.instance.textSongs[songidx]
|
||||
var song = AudioStreamMP3.load_from_file(songdir)
|
||||
var meta:MusicMeta.MusicMetadata = MusicMeta.new().get_mp3_metadata(song)
|
||||
print(songdir)
|
||||
meta.print_info()
|
||||
if meta.comments:
|
||||
OS.shell_open(meta.comments)
|
||||
var source:String = soung_source.TryGetSongUrl(songdir)
|
||||
print("Source: "+source)
|
||||
if source:
|
||||
OS.shell_open(source)
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
|
||||
+2
-1
@@ -190,6 +190,7 @@ func _on_reset_bg_pressed() -> void:
|
||||
|
||||
|
||||
func _on_now_playing_window_button_toggled(toggled_on: bool) -> void:
|
||||
print("!!! PLAYING NOW TOGGLED TO ",toggled_on)
|
||||
Parent.UsingPlayingNow = toggled_on
|
||||
Parent.SaveEverything()
|
||||
|
||||
print("!!! PLAYING NOW IS ",Parent.UsingPlayingNow)
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<Project Sdk="Godot.NET.Sdk/4.4.0">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="z440.atl.core" Version="7.3.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,19 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simplaudio", "Simplaudio.csproj", "{135675D8-011A-46FC-B4A1-B2D21C2CF78E}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
ExportDebug|Any CPU = ExportDebug|Any CPU
|
||||
ExportRelease|Any CPU = ExportRelease|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{135675D8-011A-46FC-B4A1-B2D21C2CF78E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{135675D8-011A-46FC-B4A1-B2D21C2CF78E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{135675D8-011A-46FC-B4A1-B2D21C2CF78E}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
|
||||
{135675D8-011A-46FC-B4A1-B2D21C2CF78E}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
|
||||
{135675D8-011A-46FC-B4A1-B2D21C2CF78E}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
|
||||
{135675D8-011A-46FC-B4A1-B2D21C2CF78E}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,8 +1,7 @@
|
||||
# Simplaudio
|
||||
a simple music player that just works
|
||||
a simple music player
|
||||
|
||||
the v1.x versions are built on a bad codebase, i am working on 2.0 every now and then but it will take a bit for it to be finished
|
||||
the music player is very functual though
|
||||
the v1.x versions are built on a bad codebase, i am working on fixing it every now and then
|
||||
|
||||
## Translations
|
||||
I would apprechiate if you could help out with translations,
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
,bucket,cachyos-x8664,26.02.2026 21:32,file:///home/bucket/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4;
|
||||
@@ -14,7 +14,7 @@ UPDATE,Update,Updaten
|
||||
SETTINGS,SETTINGS,EINSTELLUNGEN
|
||||
INTIGRATIONS,INTIGRATIONS,INTIGRATIONEN
|
||||
DRPC,discord rich presense,Discord aktivitäten
|
||||
DRPC_NOTE,NOTE: After disableing a restart is needed,Nach deaktivieren neustarten
|
||||
DRPC_NOTE,NOTE: After disableing simplaudio needs a restart,Nach dem deaktivieren muss Simplaudio neugestartet werden
|
||||
LOOKS,LOOKS,AUSEHEN
|
||||
BS_SELECT,Select Background,Hintergrund auswählen
|
||||
RESET_BG,Reset,Zurücksetzen
|
||||
@@ -72,7 +72,7 @@ UPD_ERR_CLT,a client error occurred,ein client error ist passiert
|
||||
UPDT_OUT_END, Is Out!, Ist raus!
|
||||
IMPORTANT,(Important),(Wichtig)
|
||||
UPD_UPDATING,Updating…,Updated…
|
||||
UPD_ERR_CODE,DOWNLOAD FAILED ERROR CODE: ,DOWLOAD FEHLER CODE:
|
||||
UPD_ERR_CODE,DOWNLOAD FAILED ERROR CODE: ,"DOWLOAD FEHLER, CODE: "
|
||||
UPD_UNZIP_PANT,unzipping…,entpacken…
|
||||
SONG_SEARCH,Search…,Suchen…
|
||||
FOLDER_SELECT,Select Current Folder,Wähle einen ordner aus
|
||||
@@ -84,3 +84,8 @@ DL_LIST,Download Playlist,Playliste Herunterladen
|
||||
DL_DIALOG,Do you want to download the song or the Entire playlist?,Willst du die playlist herunterladen?
|
||||
LANGUAGE,Language:,Sprache:
|
||||
SELECT,Select ,Auswählen
|
||||
OPEN SOURCE,open source,Quelle oeffnen
|
||||
Change Directory,Change Directory,Ordner Aendern
|
||||
Open Directory,Open Directory,Ordner Oeffnen
|
||||
PLAY,Play,Abspielen
|
||||
use Up/Down arrow keys to adjust,use Up/Down arrow keys to adjust,Bentzte die Hoch/Runter pfeiltasten zum aendern
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user