This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Microsoft.Xrm.Data.PowerShell.psm1 method signatures for better generated code | |
function Connect-CrmOnlineDiscovery{ | |
[CmdletBinding()] | |
PARAM( | |
[parameter(Mandatory=$false)] | |
[PSCredential]$Credential, | |
[Parameter(Mandatory=$false)] | |
[switch]$InteractiveMode | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
This script copies and renames subtitle files from the 'Subs' folder to the folder containing the media files. | |
It works recursively through all child folders. | |
The user can configure the languages, video formats, and subtitle formats to process. | |
Larger subtitle files are prioritized when multiple files are found for the same language. | |
#> | |
# Configuration | |
$languageMap = @{ | |
"English" = "en" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Open the browser developper console on the network tab | |
// 2. Start the video | |
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL | |
// 4. Run: node vimeo-downloader.js "<URL>" | |
// (done automatically now) 5. Combine the m4v and m4a files with mkvmerge | |
const fs = require('fs'); | |
const url = require('url'); | |
const https = require('https'); | |
const { exec } = require('child_process'); |