Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change naming convention to that of Plex #5

Merged
merged 5 commits into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"projectName": "BulkRename",
"projectOwner": "Ramo-Y"
"projectName": "RAY.BulkRename",
"projectOwner": "Ramo-Y",
"files": [
"README.md"
]
}
Binary file modified .github/02-Series-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/03-Renamed-series-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/04-History.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Activity](https://img.shields.io/github/commit-activity/m/Ramo-Y/BulkRename)](https://github.com/Ramo-Y/BulkRename/pulse)
![ci](https://img.shields.io/github/actions/workflow/status/Ramo-Y/BulkRename/build-test.yml?label=ci)
![release](https://img.shields.io/github/actions/workflow/status/Ramo-Y/BulkRename/build-test-release.yml?label=release)
[![GitHub contributors](https://img.shields.io/github/all-contributors/Ramo-Y/BulkRename)](#Contributors)
[![GitHub contributors](https://img.shields.io/github/all-contributors/Ramo-Y/BulkRename)](#contributors-)
![GitHub Sponsors](https://img.shields.io/github/sponsors/Ramo-Y)
![GitHub Downloads](https://img.shields.io/github/downloads/Ramo-Y/BulkRename/total)
![Open Issues](https://img.shields.io/github/issues/Ramo-Y/BulkRename)
Expand Down
60 changes: 30 additions & 30 deletions src/BulkRename.IntegrationTests/Services/FileServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,44 +105,44 @@ public async Task CopyFilesToRenameToDockerMappedPort_SubmitRename_FilesAreRenam

var darkExpectedNames = new List<string>
{
"Dark - S01-E01.mkv",
"Dark - S01-E02.mkv",
"Dark - S01-E03.mkv",
"Dark - S01-E04.mkv",
"Dark - S01-E05.mkv",
"Dark - S01-E06.mkv",
"Dark - S01-E07.mkv",
"Dark - S01-E08.mkv",
"Dark - S01-E09.mkv",
"Dark - S01-E10.mkv"
"Dark - S01E01.mkv",
"Dark - S01E02.mkv",
"Dark - S01E03.mkv",
"Dark - S01E04.mkv",
"Dark - S01E05.mkv",
"Dark - S01E06.mkv",
"Dark - S01E07.mkv",
"Dark - S01E08.mkv",
"Dark - S01E09.mkv",
"Dark - S01E10.mkv"
};

var theWalkingDeadSeason01ExpectedNames = new List<string>
{
$"{THE_WALKING_DEAD} - S01-E01.mkv",
$"{THE_WALKING_DEAD} - S01-E02.mkv",
$"{THE_WALKING_DEAD} - S01-E03.mkv",
$"{THE_WALKING_DEAD} - S01-E04.mkv",
$"{THE_WALKING_DEAD} - S01-E05.mkv",
$"{THE_WALKING_DEAD} - S01-E06.mkv",
$"{THE_WALKING_DEAD} - S01-E07.mkv",
$"{THE_WALKING_DEAD} - S01-E08.mkv",
$"{THE_WALKING_DEAD} - S01-E09.mkv",
$"{THE_WALKING_DEAD} - S01-E10.mkv"
$"{THE_WALKING_DEAD} - S01E01.mkv",
$"{THE_WALKING_DEAD} - S01E02.mkv",
$"{THE_WALKING_DEAD} - S01E03.mkv",
$"{THE_WALKING_DEAD} - S01E04.mkv",
$"{THE_WALKING_DEAD} - S01E05.mkv",
$"{THE_WALKING_DEAD} - S01E06.mkv",
$"{THE_WALKING_DEAD} - S01E07.mkv",
$"{THE_WALKING_DEAD} - S01E08.mkv",
$"{THE_WALKING_DEAD} - S01E09.mkv",
$"{THE_WALKING_DEAD} - S01E10.mkv"
};

var theWalkingDeadSeason02ExpectedNames = new List<string>
{
$"{THE_WALKING_DEAD} - S02-E01.mkv",
$"{THE_WALKING_DEAD} - S02-E02.mkv",
$"{THE_WALKING_DEAD} - S02-E03.mkv",
$"{THE_WALKING_DEAD} - S02-E04.mkv",
$"{THE_WALKING_DEAD} - S02-E05.mkv",
$"{THE_WALKING_DEAD} - S02-E06.mkv",
$"{THE_WALKING_DEAD} - S02-E07.mkv",
$"{THE_WALKING_DEAD} - S02-E08.mkv",
$"{THE_WALKING_DEAD} - S02-E09.mkv",
$"{THE_WALKING_DEAD} - S02-E10.mkv"
$"{THE_WALKING_DEAD} - S02E01.mkv",
$"{THE_WALKING_DEAD} - S02E02.mkv",
$"{THE_WALKING_DEAD} - S02E03.mkv",
$"{THE_WALKING_DEAD} - S02E04.mkv",
$"{THE_WALKING_DEAD} - S02E05.mkv",
$"{THE_WALKING_DEAD} - S02E06.mkv",
$"{THE_WALKING_DEAD} - S02E07.mkv",
$"{THE_WALKING_DEAD} - S02E08.mkv",
$"{THE_WALKING_DEAD} - S02E09.mkv",
$"{THE_WALKING_DEAD} - S02E10.mkv"
};

// act
Expand Down
2 changes: 1 addition & 1 deletion src/BulkRename/Constants/RenamingConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ internal static class RenamingConstants

internal const string NAME_FIRST_PRAEFIX = " - S";

internal const string NAME_SECOND_PRAEFIX = "-E";
internal const string NAME_SECOND_PRAEFIX = "E";
}
}