Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

v3.0.0-beta7 (hotfix)

Pre-release
Pre-release
Compare
Choose a tag to compare
@awsr awsr released this 17 Jul 08:03

HOTFIX

  • Fix broken persistence function and loading. (If you somehow downloaded the earlier v3.0.0-beta6 version, update and run Disable-XRefPersistence -Remove) (73a2a32)

From 3.0.0-beta6

  • Results are now cached for Clip to Username lookups.
  • Added built-in functions for automatically persisting cached data to disk and auto-loading it upon module load (Enable-XRefPersistence and Disable-XRefPersistence). Note that, on load, any clip or video entries older than 60 days will be removed (which matches Twitch's default video retention period for broadcast archives).

Breaking Changes

  • All instances of "XRefLookupData" have been changed to "XRefData" (so something like Clear-XRefLookupData is now Clear-XRefData).
  • The Clear function now uses -Name to specify individual caches to clear.

You will need to have a valid API key (Client ID), which you can obtain from the Twitch Developer Dashboard.


Recommended Installation

Install the module from the PowerShell Gallery using Install-Module StreamXRef -AllowPreRelease.

For Windows PowerShell 5.1

You will probably need to update your PowerShellGet module, although I would strongly recommend installing the latest version of PowerShell instead.

Alternatively, you can download and extract the module manually from here for testing. Load it by using Import-Module ./path/to/directory/of/StreamXRef (make sure there's no ending slash if using PS 5.1). You will probably have to run Unblock-File on the files first.