mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-03 21:29:27 +00:00
[PR #624] [MERGED] Allow variables in output path #1069
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SabreTools/MPF/pull/624
Author: @Deterous
Created: 1/10/2024
Status: ✅ Merged
Merged: 1/11/2024
Merged by: @mnadareski
Base:
master← Head:det-patch-4📝 Commits (6)
00b9a71Allow variables in output path and default output path953c48eRemove angle brackets when normalising pathaffbc70Add tooltip hover text for default output path2ce6792Better tooltip formattingc6619d4Use percent sign rather than angle brackets as variable delimiter9e9ca6aRefactor📊 Changes
4 files changed (+52 additions, -3 deletions)
View changed files
📝
MPF.Core/Data/Drive.cs(+2 -0)📝
MPF.Core/InfoTool.cs(+3 -1)📝
MPF.Core/UI/ViewModels/MainViewModel.cs(+45 -1)📝
MPF.UI.Core/Windows/OptionsWindow.xaml(+2 -1)📄 Description
Attempts to provide a general solution/fix for #458
Type the following keywords into output path or default output path textboxes to use variables:
%SYSTEM%= Long name for system%SYS%= Short name for system%MEDIA%= Long name for media type%PROGRAM%= Long name for dumping program%PROG%= Short name for dumping program (currently only DiscImageCreator -> DIC)%LABEL%= Volume Label%DATE%= "YYYYMMDD" current date%DATETIME%= "YYYYMMDD-HHMMSS" current datetimeFor now, these are not documented anywhere, but are provided for advanced users.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.