Skip to content

About

Complete C# / WPF / .NET 10 rebuild of VidPlayer, including the updater, VPTheme Editor, Theme Environment Tester, and VPACDRipper.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VidPlayer C# Rebuild

VidPlayer v2.0.9.3 — Release | CS V1.1 is the second release of the C# / WPF rebuild of VidPlayer for Windows x64.

CS V1.1 adds a backwards-compatible codec plugin system, local and online plugin management, dynamic file-type registration, and routed playback through optional external codec plugins. The first official optional plugin adds MIDI playback without building MIDI code into VidPlayer itself.

The older Python/PySide6 edition remains a separate historical product line.

What is included

The main repository contains the source for:

Component Purpose
VidPlayer.exe Main portable audio player
VidPlayerUpdater.exe Update installation and rollback manager
VidPlayer.Plugin.SDK Stable public API used by codec plugins
VidPlayer.Plugin.Loader Plugin discovery, validation, loading, installation, updates, and removal
VidPlayer.Playback.Plugins Adapter and routing layer between VidPlayer and loaded codec plugins
VPTheme.Editor.exe VPTheme creation, editing, packaging, and previewing
VPTheme_ThemeEnvironmentTester.exe Protected VidPlayer UI test environment
VPACDRipper.exe Audio CD detection and WAV/FLAC/MP3 ripping through BASSCD

Optional codec plugin implementations are distributed separately. Their source projects are intentionally not part of the main VidPlayer source tree.

CS V1.1 highlights

Codec plugin system

  • Backwards-compatible Plugin API v1.
  • External plugins stored in bin\CODECSPlugins.
  • Safe plugin.json manifest validation.
  • Isolated dependency loading for each plugin.
  • Offline .vpcodec and ZIP installation.
  • Enable, disable, uninstall, reload, and restart-safe pending operations.
  • Plugin information, version, API, author, license, website, features, extensions, and compatibility status.
  • Online Codec Repository browser in Settings.
  • SHA-256 and package-size verification.
  • Restart-safe staged updates with rollback.
  • Dynamic Open File filters similar to Paint.NET.
  • Plugin extensions recognized by command-line opening, drag-and-drop, playlists, and bulk loading.
  • Automatic routing to a plugin when it claims a file.
  • Automatic LibVLC fallback for files not claimed by a plugin.

Optional MIDI Support plugin

The separately distributed MIDI Support plugin adds:

  • .mid and .midi opening.
  • SoundFont-based synthesis.
  • Play, pause, resume, stop, seek, position, duration, volume, and end-of-track handling.
  • Live PCM visualizer data.
  • MeltySynth sequencing and synthesis.
  • NAudio output.
  • Configurable SoundFont selection through midi-settings.json.

The MIDI package is not bundled with VidPlayer Standard because its licensed General MIDI SoundFont makes the package much larger than the core application.

Visualizer improvement

Codec plugins can provide live PCM directly. MIDI stereo synthesis is downmixed to mono before FFT analysis, preventing alternating left/right channel samples from creating an unnaturally flat bar display.

Main player features

  • Portable LibVLC playback for AAC, FLAC, M4A, MP3, OGG, WAV, and WMA.
  • Optional externally installed formats through codec plugins.
  • Play, pause/resume, stop, previous, next, seeking, autoplay-next, and session resume.
  • Normal 0–100% volume and optional 0–200% VLC boost.
  • Standalone or docked playlists with left, right, top, bottom, and visualizer-tab docking.
  • Playlist search, drag reordering, file drop, bulk loading, save/load, and Audio CD entries.
  • Embedded and external artwork, artwork mappings, and VPLogo fallback.
  • Full Screen Artwork, Full Screen Visualizer, Mini Visualizer, and Mini Mode.
  • Multi-file File Info with tags, technical details, artwork, and raw ffprobe output.
  • LRC, SRT, VTT, ASS, and SSA subtitles/lyrics.
  • Recent files, command-line opening, drag-and-drop, and remembered session state.
  • Discord Rich Presence.
  • Portable settings, themes, languages, logs, updater data, and rollback data.

The complete feature reference is in FEATURES.txt.

Repository layout

VidPlayer-CSharp-Rebuild\
├─ README.md
├─ RELEASEREADME.md
├─ RELEASE.md
├─ FEATURES.txt
├─ VidPlayer.sln
├─ Build-Release.cmd
├─ Build-Release.ps1
├─ build-assets\
├─ Docs\
├─ src\
│  ├─ VidPlayer.App\
│  ├─ VidPlayer.Core\
│  ├─ VidPlayer.Discord\
│  ├─ VidPlayer.Infrastructure\
│  ├─ VidPlayer.Localization\
│  ├─ VidPlayer.Media\
│  ├─ VidPlayer.Playback\
│  ├─ VidPlayer.Playback.LibVLC\
│  ├─ VidPlayer.Playback.Plugins\
│  ├─ VidPlayer.Playlists\
│  ├─ VidPlayer.Plugin.Loader\
│  ├─ VidPlayer.Plugin.SDK\
│  ├─ VidPlayer.Theming\
│  ├─ VidPlayer.Updater\
│  └─ VidPlayer.Visualizers\
└─ tools\
   └─ VidPlayer.Tools\
      ├─ VidPlayer.Tools.sln
      └─ src\
         ├─ VPTheme.Editor\
         ├─ VPTheme.ThemeEnvironmentTester\
         └─ VPACDRipper\

Installing the release

  1. Download VidPlayer-v2.0.9.3-CS-V1.1-win-x64.zip.
  2. Extract the complete ZIP into a writable folder.
  3. Do not run VidPlayer from inside the ZIP.
  4. Keep the complete bin, update, DLL, and documentation layout together.
  5. Launch VidPlayer.exe.

The precompiled Windows x64 release is self-contained and does not require a separate .NET runtime installation.

Recommended locations include:

C:\Apps\VidPlayer-CS\
D:\Portable Apps\VidPlayer-CS\

Installing codec plugins

Open:

Settings → Codec Plugins

Use Install Package... for a local .vpcodec file, or use the Online Codecs tab to browse the official repository.

Installed plugins are stored under:

bin\CODECSPlugins\

Restart VidPlayer when requested after installation, update, enable/disable, or uninstall operations.

Building from source

Requirements

  • Windows x64.
  • Visual Studio with the .NET desktop/WPF workload, or the matching .NET 10 SDK.
  • The matching full runtime-assets folder for a complete portable release.

Visual Studio build

  1. Place runtime-assets beside the repository root when building a full portable copy.
  2. Open VidPlayer.sln.
  3. Select Release | Any CPU.
  4. Rebuild the solution.

A source-only Visual Studio build can use the included fallback application icon, but VLC, FFmpeg, themes, languages, and companion tools still require the runtime assets.

Complete portable release build

Run:

Build-Release.cmd

The release script now publishes VidPlayer and the updater into isolated staging folders first. It does not publish directly into Release-Build, so a publish cleanup step cannot erase the assembled portable application.

After both publishes pass verification, the script:

  1. Preserves the previous working Release-Build.
  2. Recreates the final directory.
  3. Copies runtime-assets\bin.
  4. Copies runtime-assets\update.
  5. Copies the staged application and updater.
  6. Creates an empty bin\CODECSPlugins folder.
  7. Copies current documentation.
  8. Verifies the EXEs, VidPlayer component DLLs, VLC, FFmpeg, themes, languages, updater files, and single-file layout.
  9. Restores the previous release folder automatically if final assembly fails.

Output:

Release-Build\

Build-Release-After-Visual-Studio.cmd uses the existing Visual Studio restore cache and skips another restore.

Companion tools

Open:

tools\VidPlayer.Tools\VidPlayer.Tools.sln

The companion tools are still built separately and copied into the matching runtime-assets tree before the final main release build.

MIDI plugin distribution

Do not commit the large MIDI .vpcodec package into the normal Git repository. GitHub blocks regular repository files larger than 100 MiB.

Upload the package as a GitHub Release asset instead, then place the direct release-asset URL in the website codec repository index.json. A release asset may be much larger than a normal Git-tracked file, and VidPlayer can download it through the Online Codecs manager.

See Docs/MIDI-PLUGIN-DISTRIBUTION.md.

Diagnostics

Main logs:

Logs\vidplayer_startup.log
Logs\libvlc.log

Plugin loading, repository downloads, installs, updates, enable/disable state, and pending operations are written to vidplayer_startup.log.

Use Run-Diagnostic.cmd for an additional .NET host trace.

License and third-party components

Keep the repository's existing VidPlayer license file unchanged when merging this update.

Third-party libraries, runtimes, plugins, SoundFonts, and native components remain under their own licenses. Optional plugin packages must include their own notices and required attribution files.

Credits

  • Project owner and developer: sonic Fan Tech / sonic Fan Games
  • Default playback: VideoLAN LibVLC and LibVLCSharp
  • Media analysis: FFmpeg and ffprobe
  • Metadata: TagLibSharp
  • UI audio: NAudio
  • Discord Rich Presence: DiscordRichPresence
  • Optional MIDI plugin: MeltySynth, NAudio, and its separately licensed SoundFont
  • Audio CD ripping: BASS, BASSCD, BASSenc, BASSenc_FLAC, and BASSenc_MP3

Links

  • Repository: https://github.com/sonicFanTech/VidPlayer-CSharp-Rebuild
  • Releases: https://github.com/sonicFanTech/VidPlayer-CSharp-Rebuild/releases
  • Official codec repository: https://sonicfantech.org/Site/vidplayer/Edition/CS/PluginCODECS/index.json

About

Complete C# / WPF / .NET 10 rebuild of VidPlayer, including the updater, VPTheme Editor, Theme Environment Tester, and VPACDRipper.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages