Coder Social home page Coder Social logo

powershell-taglib's Introduction

powershell-taglib

A PowerShell module for manipulating metadata in media files with TagLibSharp

  1. Clone this repo to your PSModulePath (typically $Env:UserProfile\Documents\WindowsPowerShell\Modules)

        C:\cd cd $Env:PSModulePath.split(';')[0]
        C:\Users\illearth\Documents\WindowsPowerShell\Modules>git clone git@github.com:illearth/powershell-taglib.git taglib
  2. Import-Module taglib

Type: Filter

Parameter [string]: value to set as the artist

Description: Sets the ID tag artist

Example:

   C:\mp3\Fugazi\13 Songs> get-childitem *.mp3 | set-artist "Fugazi"

Type: Filter

Parameter [string]: Optional value to set as the title. If not passed the name of the file (less the extension) will be used (e.g. if the file is named "Waiting Room.mp3" then the title would be set at "Waiting Room")

Description: Sets the ID tag title

Example:

    C:\mp3\Fugazi\13 Songs> get-childitem WaitingRoom.mp3 | set-title "Waiting Room"

Type: Filter

Parameter [string]: value to set as the album

Description: Sets the ID tag album

Example:

    C:\mp3\Fugazi\13 Songs> get-childitem *.mp3 | set-album "13 Songs"

Type: Filter

Parameter [int]: value to set as the track

Description: Sets the ID tag track, or the track number on the album

Example:

    C:\mp3\Fugazi\13 Songs> get-childitem WaitingRoom.mp3 | set-track 1

Type: Filter

Parameter [int]: value to set as the disc

Description: Sets the ID tag disc, or the disc number for multi-disc sets

Example:

    C:\mp3\Fugazi\13 Songs> get-childitem *.mp3 | set-disc 1

Type: Filter

Parameter [string]: Optional regular expression to use to match the disc and track from the title. Defaults to "D(?[0-9]+)T(?[0-9]+)" which will match the disc and track from a pattern of DXXTXX. Disc and track need to be named expression groups.

Description: Sets the disc and track of a files from a mulit-disc set by extracting the disc and track from the filename. Useful for audio book sets where you have multiple discs of a single book in a single directory.

Example:

    C:\mp3\George R. R. Martin\A Clash of Kings> get-childitem *.mp3 | update-trackAndDisc

Distributed under the MIT License

powershell-taglib's People

Contributors

trpalmer avatar

Watchers

 avatar

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.