Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
849527c
Улучшение использования плеера в экономии интернета
Scream034 Feb 6, 2026
f91ce4c
Исправление использование кэша и скачивания, меньше проблем с плеером
Scream034 Feb 7, 2026
e00f438
Перенастройка проекта для меньшего ОЗУ. Плеер точнее показывает кэш
Scream034 Feb 7, 2026
f226d96
Более экономное использование ЦПУ
Scream034 Feb 7, 2026
715e99f
Быстрее поиск, получение треков
Scream034 Feb 8, 2026
8938170
Ускорение работы программы, общая оптимизация
Scream034 Feb 8, 2026
3a9987a
м1
Scream034 Feb 12, 2026
3082146
Логгер
Scream034 Feb 12, 2026
147dc1e
v1 архитектура движка
Scream034 Feb 13, 2026
ce2949b
v2 архитектура
Scream034 Feb 14, 2026
0a429eb
v3 архитектура аудио движка
Scream034 Feb 14, 2026
c9a0255
Без VLC, аудио через нативный NAudio (пока wnd-only), парсеры Webm/mp…
Scream034 Feb 17, 2026
b13367c
Начальная версия настроек аудио
Scream034 Feb 17, 2026
c7c892e
Обнаружение ошибок плеера для пользователя, исправление багов плеера:…
Scream034 Feb 18, 2026
a0241f3
Диалоги и исправления в логике стриминга
Scream034 Feb 21, 2026
91b67f1
sig, n - расшифрованы. Добавлены тесты, стабильность к ютуб биб-и. Бо…
Scream034 Feb 23, 2026
bc1c92e
Обязательная авторизация для WEB_REMIX. Попытка обойти ограничения бе…
Scream034 Feb 24, 2026
168ba72
N, Sig - расшифровка намного стабильнее. Улучшение, упрощение работы …
Scream034 Feb 25, 2026
569d108
chore: add packages.lock.json for reproducible builds and CI caching
Scream034 Feb 25, 2026
ec7c0ed
Git flow
Scream034 Feb 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
root = true

# Пометить все файлы в папке как "сгенерированный код"
# Компилятор обычно игнорирует варнинги в таких файлах
[SharpJaad.AAC/**.cs]
generated_code = true

# Или точечно отключить конкретные правила для этой папки
[SharpJaad.AAC/**.cs]
dotnet_diagnostic.CS8618.severity = none
dotnet_diagnostic.CS8600.severity = none
dotnet_diagnostic.CS8602.severity = none
dotnet_diagnostic.CS8604.severity = none
dotnet_diagnostic.CS8625.severity = none
dotnet_diagnostic.CS0420.severity = none

[*.cs]
# Отключаем тяжёлые правила в Debug
dotnet_diagnostic.CA1031.severity = none
dotnet_diagnostic.CA1062.severity = none
dotnet_diagnostic.IDE0058.severity = none
dotnet_diagnostic.IDE0290.severity = none

# Отключаем все StyleCop правила в Debug
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.MaintainabilityRules.severity = none
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches: [ main, avalonia ]
pull_request:

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
cache: true
cache-dependency-path: packages.lock.json

- name: Build Debug
run: ./build.bat debug

- name: Build Optimized Debug
run: ./build.bat optimized
62 changes: 30 additions & 32 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Dev Build

on:
push:
branches: [avalonia]
paths: ['**.cs', '**.csproj', '**.axaml', '**.xaml']
branches: [ main, avalonia ]
workflow_dispatch:

permissions:
Expand All @@ -12,43 +11,42 @@ permissions:
jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
with:
submodules: recursive
with: { fetch-depth: 0, submodules: recursive }

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
include-prerelease: true

- name: Build & Publish
run: |
$ver = "0.0.${{ github.run_number }}"

dotnet publish LMP.csproj `
-c Release -r win-x64 --self-contained true `
-p:Version=$ver -p:PublishReadyToRun=true `
-p:DebugType=None -p:DebugSymbols=false `
-o ./publish

# Cleanup
Remove-Item ./publish/*.xml, ./publish/*.pdb -ErrorAction SilentlyContinue

# Archive
cd publish
7z a -t7z -mx=9 "../LMP-Build-${{ github.run_number }}.7z" .

- name: Release
cache: true
cache-dependency-path: packages.lock.json

- name: Build Debug
run: ./build.bat debug

- name: Build Optimized Debug
run: ./build.bat optimized

- name: Publish Release
run: ./build.bat publish

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: LMP-Debug
path: bin/Debug/net10.0/

- name: Upload Optimized
uses: actions/upload-artifact@v4
with:
name: LMP-Optimized-Debug
path: bin/Debug/net10.0/

- name: Create Pre-release
uses: softprops/action-gh-release@v2
if: github.ref == 'refs/heads/main'
with:
tag_name: dev-${{ github.run_number }}
tag_name: v1.0.${{ github.run_number }}
name: "Dev Build #${{ github.run_number }}"
prerelease: true
files: ./*.7z
body: |
**Branch:** `${{ github.ref_name }}`
**Commit:** `${{ github.sha }}`

Extract and run `LMP.exe`
files: LMP-*.7z
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release

on:
release:
types: [created]

jobs:
publish:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }

- uses: actions/setup-dotnet@v4
with: { dotnet-version: '10.0.x', cache: true, cache-dependency-path: packages.lock.json }

- run: ./build.bat publish

- name: Upload Release Asset
uses: softprops/action-gh-release@v2
with:
files: LMP-*.7z
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ appsecrets.*.json
[Oo]bj/
# Артефакты публикации
publish/
publish-dev/

## --- [ Visual Studio ] ---
.vs/
Expand Down
65 changes: 44 additions & 21 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,46 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "🎵 Launch LMP (Debug)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/net10.0/LMP.dll",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
"console": "internalConsole",
"logging": {
"moduleLoad": false
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_MODERN_CONTROLS": "1"
}
}
]
"version": "0.2.0",
"configurations": [
{
"name": "🎵 Debug (quiet)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build: debug",
"program": "${workspaceFolder}/bin/Debug/net10.0/LMP.dll",
"args": [],
"cwd": "${workspaceFolder}",
"console": "internalConsole",

"justMyCode": true,
"suppressJITOptimizations": true,

"logging": {
"moduleLoad": false,
"exceptions": false,
"programOutput": true
},

"symbolOptions": {
"searchMicrosoftSymbolServer": false,
"searchNuGetOrgSymbolServer": false,
"searchPaths": [
"${workspaceFolder}/bin/Debug/net10.0"
]
}
},

{
"name": "🎵 Watch (Hot Reload) + Attach",
"type": "coreclr",
"request": "attach",
"preLaunchTask": "watch",
"processId": "${command:pickProcess}",

"justMyCode": true,
"logging": {
"moduleLoad": false,
"exceptions": false
}
}
]
}
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

38 changes: 29 additions & 9 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,36 @@
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/LMP.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"label": "build: debug",
"type": "shell",
"command": "cmd.exe",
"args": ["/c", "${workspaceFolder}\\build.bat", "debug", "nopause"],
"options": { "cwd": "${workspaceFolder}" },
"group": { "kind": "build", "isDefault": true },
"problemMatcher": "$msCompile"
},
{
"label": "build: optimized",
"type": "shell",
"command": "cmd.exe",
"args": ["/c", "${workspaceFolder}\\build.bat", "optimized", "nopause"],
"options": { "cwd": "${workspaceFolder}" },
"group": "build",
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"type": "shell",
"command": "dotnet",
"args": ["watch", "run", "--project", "LMP.csproj", "--configuration", "Debug"],
"options": { "cwd": "${workspaceFolder}" },
"isBackground": true,
"problemMatcher": "$msCompile",
"presentation": {
"reveal": "always",
"panel": "dedicated",
"clear": true
}
}
]
}
6 changes: 3 additions & 3 deletions App.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
</Application.Resources>

<Application.Styles>
<FluentTheme /> <!-- Сначала системная тема -->
<FluentTheme />
<materialIcons:MaterialIconStyles />

<StyleInclude Source="avares://AsyncImageLoader.Avalonia/AdvancedImage.axaml" />

<!-- Наши переопределения -->
<StyleInclude Source="/UI/Theme/ToolTipTheme.axaml" /> <!-- Тултипы здесь -->
<StyleInclude Source="/UI/Theme/Theme.axaml" /> <!-- Основная тема -->
<StyleInclude Source="/UI/Theme/ToolTipTheme.axaml" />
<StyleInclude Source="/UI/Theme/Theme.axaml" />
<StyleInclude Source="/UI/Theme/LoadingSkeletons.axaml" />
<StyleInclude Source="/UI/Theme/PlaylistCardTemplate.axaml" />
<StyleInclude Source="/UI/Theme/ChipStyles.axaml" />
Expand Down
Loading