From e2e3af5fbbb25992516a47790ea1fd22d19302ea Mon Sep 17 00:00:00 2001 From: AxelSeven Date: Sun, 26 Apr 2026 01:58:18 +0200 Subject: [PATCH] fix: Fix VLC config --- VLC/data/.gitignore | 4 +++ VLC/data/vlc-qt-interface.ini | 58 +++++++++++++++++++++++++++++++++++ VLC/{ => data}/vlcrc | 10 +++--- VLC/link.bat | 11 +++++-- 4 files changed, 76 insertions(+), 7 deletions(-) create mode 100644 VLC/data/.gitignore create mode 100644 VLC/data/vlc-qt-interface.ini rename VLC/{ => data}/vlcrc (99%) diff --git a/VLC/data/.gitignore b/VLC/data/.gitignore new file mode 100644 index 0000000..4ed740b --- /dev/null +++ b/VLC/data/.gitignore @@ -0,0 +1,4 @@ +art/ +crashdump/ + +ml.xspf \ No newline at end of file diff --git a/VLC/data/vlc-qt-interface.ini b/VLC/data/vlc-qt-interface.ini new file mode 100644 index 0000000..0576dec --- /dev/null +++ b/VLC/data/vlc-qt-interface.ini @@ -0,0 +1,58 @@ +[General] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\xff\xff\xff\xf8\xff\xff\xff\xf8\0\0\a\x87\0\0\x4\x17\0\0\0\0\0\0\0 \0\0\x5\x98\0\0\x4\a\0\0\0\0\x2\0\0\0\a\x80) +codecs-profiles-selected=Video - H.265 + MP3 (MP4) +updatedate=@Variant(\0\0\0\xe\0%\x8e)) + +[FullScreen] +pos=@Point(560 1016) +screen=@Rect(0 0 1920 1080) +wide=false + +[MainWindow] +pl-dock-status=true +playlist-visible=true +adv-controls=0 +status-bar-visible=false +bgSize=@Size(100 30) +playlistSize=@Size(1433 928) +QtStyle=Fusion + +[OpenDialog] +size=@Size(666 395) +advanced=false +netMRL="https://test.worldthunder.net/file2/hoV+0umyPK0pbhuPnrRfgzmiSlAAZc87lKLSkHjkBYZNaHgaSKzay4lKGt1XHcOiTbvvLAFMCU~KWAdWQ81oZJKP4NpyF3+xKef2RZ4B4YDVxM+wWlW8jogYrC~ndUX5nBbt8oMZbJ45WljDBYExhlieoj1dPeYORkENgONsM~I=/MTA4MA==/aW5kZXgubTN1OA==.m3u8?host=thunderleaf12.online" + +[Update] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x2x\0\0\0\xf9\0\0\x5\a\0\0\x2\xff\0\0\x2\x80\0\0\x1\x18\0\0\x4\xff\0\0\x2\xf7\0\0\0\0\0\0\0\0\a\x80) + +[Preferences] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x3\x30\0\0\0\xc7\0\0\x6\xdc\0\0\x3\xa9\0\0\x3\x38\0\0\0\xe6\0\0\x6\xd4\0\0\x3\xa1\0\0\0\0\0\0\0\0\a\x80) + +[ToolbarProfiles] +1\ProfileName=VLC 2.x.x Style +1\Value="0|64;39;64;38;65;|0-2;64;3;1;4;64;7;9;64;10;20;19;64-4;37;65;35-4;|12;11;13;14;|43;33-4;44;|0-2;64;3;1;4;64;37;64;38;64;8;65;25;35-4;34;" +2\ProfileName=VLC 1.1.x Style +2\Value="0|64;39;64;38;65;|0-2;64;3;1;4;64;7;10;9;64-4;20;19;64-4;37;65;35-4;|12;11;13;14;|5-1;33;6-1;|0-2;64;3;1;4;64;37;64;38;64;8;65;25;35-4;34;" +3\ProfileName=VLC 0.8.x Style +3\Value="1|64;39-1;64;38;|2-1;32-4;0-5;1-5;32-5;3-5;5-5;6-5;4-5;32-5;10-1;64-1;35-1;65;|12-1;11-1;13-1;14-1;|33;37-4;|0-5;1-5;32-1;1-5;5-1;6-1;4-5;32-1;12-5;11-1;65;34-4;35-1;" +4\ProfileName=Minimalist Style +4\Value="0|64;65;|0-7;64;3-1;1-5;4-1;64;12-5;64-5;37-5;38-5;64-4;10-1;65;36-4;|11-5;13-5;14-5;|5-1;33;6-1;|0-5;64;3-5;1-5;4-5;64;12-5;65;34-4;35-1;" +5\ProfileName=One-Liner Style +5\Value="0|64;38;65;|0-4;64;3;1;4;64;7;10;9;64-4;39;64-4;37;65;36-4;|12;11;14;13;|5-1;33;6-1;|0-2;64;3;1;4;64;37;64;38;64;8;65;25;35-4;34;" +6\ProfileName=Simplest Style +6\Value="0||36-4;65-4;0-7;4-5;1-5;65-4;7-5;|12-4;11;13;||36-4;65-4;0-5;4-5;1-5;65;8-5;" +size=6 + +[Playlist] +splitterSizes=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xb4\0\0\x1\xa4\x1\xff\xff\xff\xff\x1\0\0\0\x1\0) +leftSplitterGeometry=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc0\0\0\0\x80\x1\xff\xff\xff\xff\x1\0\0\0\x2\0) +headerStateV2=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\xff\xff\xff\xff\x1\0\0\0\0\0\0\0\0\0\0\0\r\xec\x1f\0\0\0\n\0\0\0\f\0\0\0\x64\0\0\0\n\0\0\0\x64\0\0\0\v\0\0\0\x64\0\0\0\b\0\0\0\x64\0\0\0\t\0\0\0\x64\0\0\0\x6\0\0\0\x64\0\0\0\a\0\0\0\x64\0\0\0\x5\0\0\0\x64\0\0\0\x2\0\0\0\x64\0\0\0\x3\0\0\0\x64\0\0\x6\xc6\0\0\0\r\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\r\0\0\x2\x63\0\0\0\x1\0\0\0\0\0\0\0P\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x4\x13\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0) +view-mode=1 +zoom=0 + +[playlistdialog] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x2x\0\0\0\xf9\0\0\x5\a\0\0\x2\xff\0\0\x2\x80\0\0\x1\x18\0\0\x4\xff\0\0\x2\xf7\0\0\0\0\0\0\0\0\a\x80) + +[RecentsMRL] +list=@Invalid() +times=@Invalid() diff --git a/VLC/vlcrc b/VLC/data/vlcrc similarity index 99% rename from VLC/vlcrc rename to VLC/data/vlcrc index 74829bc..3dc74a3 100644 --- a/VLC/vlcrc +++ b/VLC/data/vlcrc @@ -1621,7 +1621,7 @@ #qt-system-tray=1 # Show notification popup on track change (Entier) -#qt-notification=1 +qt-notification=0 # Start VLC with only a systray icon (Booléen) #qt-start-minimized=0 @@ -1645,7 +1645,7 @@ #qt-fs-controller=1 # Save the recently played items in the menu (Booléen) -#qt-recentplay=1 +qt-recentplay=0 # List of words separated by | to filter (Chaîne) #qt-recentplay-filter= @@ -4517,10 +4517,10 @@ avcodec-hw=d3d11va #clock-source= # Play files randomly forever (Booléen) -#random=0 +random=1 # Repeat all (Booléen) -#loop=0 +loop=1 # Repeat current item (Booléen) #repeat=0 @@ -4547,7 +4547,7 @@ avcodec-hw=d3d11va #one-instance=0 # Use only one instance when started from file manager (Booléen) -#one-instance-when-started-from-file=1 +one-instance-when-started-from-file=0 # Enqueue items into playlist in one instance mode (Booléen) #playlist-enqueue=0 diff --git a/VLC/link.bat b/VLC/link.bat index 3471767..bf4465e 100644 --- a/VLC/link.bat +++ b/VLC/link.bat @@ -29,5 +29,12 @@ if '%errorlevel%' NEQ '0' ( CD /D "%~dp0" :-------------------------------------- -del "%APPDATA%\vlc\vlcrc" -mklink "%APPDATA%\vlc\vlcrc" "%~dp0vlcrc" \ No newline at end of file +set "remote_path=%APPDATA%\vlc" +rmdir /s /q "%remote_path%" +IF EXIST "%remote_path%" ( + echo Error: Failed to delete existing vlc folder. Please check permissions. + pause +) ELSE ( + mklink /D "%remote_path%" "%~dp0data" + pause +) \ No newline at end of file