diff --git a/Ocarina2/Converter/AlbumArtConverter.cs b/Ocarina2/Converter/AlbumArtConverter.cs
index 95d52c6..a70454b 100644
--- a/Ocarina2/Converter/AlbumArtConverter.cs
+++ b/Ocarina2/Converter/AlbumArtConverter.cs
@@ -12,6 +12,23 @@ namespace Ocarina2.Converter;
public class AlbumArtConverter:IValueConverter
{
+ /*
+ OCARINA2 Open-source music player and library manager
+ Copyright (C) 2023 Matyáš Caras
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+ */
public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
{
if (value == null) return new MaterialIconExt(MaterialIconKind.Music);
diff --git a/Ocarina2/Converter/SongMetadataConverter.cs b/Ocarina2/Converter/SongMetadataConverter.cs
index 3968aac..d59204e 100644
--- a/Ocarina2/Converter/SongMetadataConverter.cs
+++ b/Ocarina2/Converter/SongMetadataConverter.cs
@@ -8,6 +8,23 @@ namespace Ocarina2.Converter;
public class SongMetadataConverter:IValueConverter
{
+ /*
+ OCARINA2 Open-source music player and library manager
+ Copyright (C) 2023 Matyáš Caras
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+ */
public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
{
if(!int.TryParse(parameter as string,out var p)) return new BindingNotification(new InvalidCastException(), BindingErrorType.Error); // get int param
diff --git a/Ocarina2/Models/Language.cs b/Ocarina2/Models/Language.cs
index d725bee..aa0d618 100644
--- a/Ocarina2/Models/Language.cs
+++ b/Ocarina2/Models/Language.cs
@@ -19,7 +19,24 @@ public class Language
public readonly string RPIconText;
public Language(string code, string menuFile, string menuOpen, string menuExit, string music, string noMusic, string rpSong, string rpArtist, string rpIconText)
- {
+ {
+ /*
+ OCARINA2 Open-source music player and library manager
+ Copyright (C) 2023 Matyáš Caras
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+ */
Code = code;
MenuFile = menuFile;
MenuOpen = menuOpen;
diff --git a/Ocarina2/Models/MusicFile.cs b/Ocarina2/Models/MusicFile.cs
index fb9413a..d6dacd4 100644
--- a/Ocarina2/Models/MusicFile.cs
+++ b/Ocarina2/Models/MusicFile.cs
@@ -4,6 +4,23 @@ namespace Ocarina2.Models;
public class MusicFile
{
+ /*
+ OCARINA2 Open-source music player and library manager
+ Copyright (C) 2023 Matyáš Caras
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+ */
public File Metadata { get; }
public string Path { get; }
diff --git a/Ocarina2/ViewModels/MainWindowViewModel.cs b/Ocarina2/ViewModels/MainWindowViewModel.cs
index cde5c0c..07ce206 100644
--- a/Ocarina2/ViewModels/MainWindowViewModel.cs
+++ b/Ocarina2/ViewModels/MainWindowViewModel.cs
@@ -13,6 +13,23 @@ namespace Ocarina2.ViewModels;
public class MainWindowViewModel : ViewModelBase
{
+ /*
+ OCARINA2 Open-source music player and library manager
+ Copyright (C) 2023 Matyáš Caras
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+ */
private readonly Language _l = Language.Load("en_US");
private string _menuOpen;
private string _menuFile;
diff --git a/Ocarina2/Views/MainWindow.axaml b/Ocarina2/Views/MainWindow.axaml
index 1575310..fbeca15 100644
--- a/Ocarina2/Views/MainWindow.axaml
+++ b/Ocarina2/Views/MainWindow.axaml
@@ -12,6 +12,25 @@
x:Class="Ocarina2.Views.MainWindow"
Icon="/Assets/icon.ico"
Title="{Binding AppName}">
+