Skip to content

A windows shell extension that is used to update mp3's cover by dragging images and dropping to mp3 file.

Notifications You must be signed in to change notification settings

ah-shellext/Mp3CoverDroper

Repository files navigation

Mp3CoverDroper

  • A windows shell extension that is used to update mp3's cover by dragging images and dropping to mp3 file.
  • Development environment: .NET Framework 4.8 Windows 10 20H2 VS2019.

Dependencies

  • SharpShell 2.7.2
  • ID3 0.6.0

Compile

  • If you are using command line tool such as dotnet cli:
# Mp3CoverDroper.Extension project
cd Mp3CoverDroper.Extension
rm bin/ obj/ -rf
dotnet msbuild -property:Configuration=Release -property:Platform=x64
# -> Mp3CoverDroper.Extension\bin\x64\Release\Mp3CoverDroper.Extension.dll

# Mp3CoverDroper.Implementation project
cd Mp3CoverDroper.Implementation
rm bin/ obj/ -rf
dotnet msbuild -property:Configuration=Release -property:Platform=x64
# -> Mp3CoverDroper.Implementation\bin\x64\Release\Mp3CoverDroper.Implementation.exe
  • If you are using Visual Studio:
# You just need to open the sln file, build it in x64 platform with Release configuration.

Register

  • Note that you need to add the following into PATH.
    • sn.exe ildasm.exe (Program Files\Microsoft SDKs\Windows\vx.xA\bin\NETFX x.x Tools)
    • ilasm.exe regasm.exe (Windows\Microsoft.NET\Framework64\vx.x.x)
  • Open cmd as administrator, and you may need to restart explorer.exe.
Register.bat
# or execute the following commands

cd Mp3CoverDroper.Extension\bin\x64\Release
sn -k key.snk # generate key
ildasm Mp3CoverDroper.Extension.dll /OUTPUT=Mp3CoverDroper.Extension.il
ilasm Mp3CoverDroper.Extension.il /DLL /OUTPUT=Mp3CoverDroper.Extension.dll /KEY=key.snk # add key to dll
regasm /codebase Mp3CoverDroper.Extension.dll # register

# Note that before replace the dll, you need to unregister it first !!!
  • Finally, setup registry for Mp3CoverDroper.Implementation.
; Use RegisterImpl.reg

; Note to replace to your Mp3CoverDroper.Implementation.exe path.
[HKEY_CURRENT_USER\SOFTWARE\AoiHosizora\Mp3CoverDroper]
"Implementation"="\"E:\\Projects\\Mp3CoverDroper\\Mp3CoverDroper.Implementation\\bin\\x64\\Release\\Mp3CoverDroper.Implementation.exe\""

Unregister

  • Open cmd as administrator.
Unregister.bat
# or execute the following commands

cd Mp3CoverDroper.Extension\bin\x64\Release
regasm /u Mp3CoverDroper.Extension.dll # unregister

Screenshots

screenshot1 screenshot2 screenshot3

References

About

A windows shell extension that is used to update mp3's cover by dragging images and dropping to mp3 file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages