Coder Social home page Coder Social logo

aldaviva / discogstagscanner Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 293 KB

๐Ÿ’ฟ Click a button on a Discogs release page to load that release in TagScanner's Online tab

License: Apache License 2.0

PowerShell 5.06% JavaScript 11.56% C# 83.38%
discogs tagscanner uiautomation native-messaging chrome-extension music-tagging music-metadata

discogstagscanner's Introduction

DiscogsTagScanner

Build status

Discogs is an online database of music release metadata. TagScanner is a program that edits music file metadata.

This browser extension and native program help you quickly load Discogs releases in TagScanner with one click, without having to manually copy and paste the release ID or name from your browser, or use TagScanner's limited search feature.

Screenshots

Discogs TagScanner

โ‡จ

Click the new Send to TagScanner button The release loads in the Online pane

Requirements

Installation

You must install both the browser extension and the native program.

Browser extension

  1. Download DiscogsTagScanner.crx from the latest release.
  2. In your browser, open the Extensions page by going to chrome://extensions/.
  3. Temporarily enable Developer mode.
  4. Drag and drop DiscogsTagScanner.crx into the Extensions page.
    • If drag and drop does not work, try entering chrome://extensions/ into the URL bar once again.
  5. Accept the confirmation prompt to install the extension.
  6. You can now delete DiscogsTagScanner.crx and turn off Developer mode if you wish.

Native program

  1. Download NativeMessagingHost.exe from the latest release and save it somewhere, such as C:\Program Files\DiscogsTagScanner\NativeMessagingHost.exe.
  2. Run NativeMessagingHost.exe once, which registers the native messaging host with Chromium-based browsers on your computer.

Usage

  1. Open TagScanner and highlight the files you want to edit.
  2. Go to the Discogs release page of the files' release in your browser.
  3. At the top of the right column, next to the Release heading, click Send to TagScanner.
    • TagScanner will load the Discogs release in the Online pane. You can click the Preview button to see the pending changes.
  4. Click the Save button to write the changes to the files.

Developing

The following steps are for developers only. You don't need to follow these steps to use this extension.

  1. Build the browser extension CRX by running the PowerShell script
    .\Extension\build.ps1
    The build script depends on Vivaldi for packing the CRX (you can replace this with Chrome) and a private key saved in Extension\PackExtensionPrivateKey.pem.
  2. Build the native messaging host by publishing NativeMessagingHost.csproj in Visual Studio Community 2022 or later, which produces NativeMessagingHost\bin\Release\net6.0-windows\publish\win-x64\NativeMessagingHost.exe. You can alternatively run
    dotnet publish -c Release -p:PublishSingleFile=true -r win-x64 --self-contained false .\NativeMessagingHost\NativeMessagingHost.csproj

discogstagscanner's People

Contributors

aldaviva avatar

Watchers

 avatar  avatar  avatar

discogstagscanner's Issues

Fails to activate Online tab starting in TagScanner 6.1.15

  • UI hierarchy seems to have changed, possibly as a consequence of the "Improved: On Windows10 and later program now use native border drawing" change in 6.1.15, so our UI descendent indices need to be updated now
  • When trying to get the nth child of an element that actually has no children, a divide by zero exception is thrown from NativeMessagingHost.TagScannerController.findDescendantElementByIndex, which does not show a useful error message and crashes the program

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.