diff --git a/.gitattributes b/.gitattributes index 9c9206392..94e287ce3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,7 +4,7 @@ # Explicitly set bash scripts to have unix endings *.sh text eol=lf distribution/debian/* text eol=lf -macOS/Lidarr text eol=lf +macOS/Readarr text eol=lf # Custom for Visual Studio *.cs diff=csharp diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 8988a141d..c4e0ee505 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -2,7 +2,7 @@ github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username -open_collective: lidarr +open_collective: readarr ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 87d054fc8..2b753fb61 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -18,7 +18,7 @@ Remove if not opening a bug report ### System Information/Logs -**Lidarr Version:** +**Readarr Version:** **Operating System:** diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 985b66efd..28669a337 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -24,7 +24,7 @@ If applicable, add screenshots to help explain your problem. Link to debug logs. **System info (please complete the following information):** - - Lidarr Version: [e.g. 0.3.0.430] + - Readarr Version: [e.g. 0.3.0.430] - Operating System [e.g. iOS] - .net Framework (Windows) or mono (macOS/Linux) Version: [e.g. 4.5 or 5.12] diff --git a/.gitignore b/.gitignore index 9626a75f0..9ecef86d9 100644 --- a/.gitignore +++ b/.gitignore @@ -104,7 +104,7 @@ App_Data/*.ldf _NCrunch_* _TeamCity* -# Lidarr +# Readarr config.xml nzbdrone.log*txt UpdateLogs/ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..05e6a9416 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.associations": { + "*.yaml": "home-assistant" + } +} \ No newline at end of file diff --git a/CLA.md b/CLA.md index 463c6c14c..df4d52219 100644 --- a/CLA.md +++ b/CLA.md @@ -1,6 +1,6 @@ -# Lidarr Individual Contributor License Agreement # +# Readarr Individual Contributor License Agreement # -Thank you for your interest in contributing to Lidarr ("We" or "Us"). +Thank you for your interest in contributing to Readarr ("We" or "Us"). This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please complete the form below. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us. ## 1. Definitions ## diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fa439931f..9d84ecb2b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # How to Contribute # -We're always looking for people to help make Lidarr even better, there are a number of ways to contribute. +We're always looking for people to help make Readarr even better, there are a number of ways to contribute. ## Documentation ## Setup guides, FAQ, the more information we have on the wiki the better. @@ -17,18 +17,18 @@ Setup guides, FAQ, the more information we have on the wiki the better. ### Getting started ### -1. Fork Lidarr +1. Fork Readarr 2. Clone the repository into your development machine. [*info*](https://help.github.com/articles/working-with-repositories) 3. Grab the submodules `git submodule init && git submodule update` 4. Install the required Node Packages `yarn install` 5. Start gulp to monitor your dev environment for any changes that need post processing using `yarn start` command. 6. Build the project in Visual Studio, Setting startup project to `NZBDrone.Console` 7. Debug the project in Visual Studio -8. Open http://localhost:8686 +8. Open http://localhost:8787 ### Contributing Code ### -- If you're adding a new, already requested feature, please comment on [Github Issues](https://github.com/lidarr/Lidarr/issues "Github Issues") so work is not duplicated (If you want to add something not already on there, please talk to us first) -- Rebase from Lidarr's develop branch, don't merge +- If you're adding a new, already requested feature, please comment on [Github Issues](https://github.com/readarr/Readarr/issues "Github Issues") so work is not duplicated (If you want to add something not already on there, please talk to us first) +- Rebase from Readarr's develop branch, don't merge - Make meaningful commits, or squash them - Feel free to make a pull request before work is complete, this will let us see where its at and make comments/suggest improvements - Reach out to us on the discord if you have any questions diff --git a/Logo/Lidarr.svg b/Logo/Lidarr.svg deleted file mode 100644 index 41c5fb58a..000000000 --- a/Logo/Lidarr.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/Logo/Readarr.svg b/Logo/Readarr.svg new file mode 100644 index 000000000..9e7fb48db --- /dev/null +++ b/Logo/Readarr.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 746516867..4901154d3 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# Lidarr +# Readarr -[![Build Status](https://dev.azure.com/Lidarr/Lidarr/_apis/build/status/lidarr.Lidarr?branchName=develop)](https://dev.azure.com/Lidarr/Lidarr/_build/latest?definitionId=1&branchName=develop) +[![Build Status](https://dev.azure.com/Readarr/Readarr/_apis/build/status/readarr.Readarr?branchName=develop)](https://dev.azure.com/Readarr/Readarr/_build/latest?definitionId=1&branchName=develop) [![BrowserStack Status](https://automate.browserstack.com/badge.svg?badge_key=Z1I4SVZOMitOdENIMHpkMlN3djJiRVJkTzBpdUJ5Q2ZtWVhnYTFvYS9qcz0tLTM5THJZRkVCZlk0blp5cXFBK1BDYWc9PQ==--67f41b00af03ab78148d3d711f22ca42ab348a52)](https://automate.browserstack.com/public-build/Z1I4SVZOMitOdENIMHpkMlN3djJiRVJkTzBpdUJ5Q2ZtWVhnYTFvYS9qcz0tLTM5THJZRkVCZlk0blp5cXFBK1BDYWc9PQ==--67f41b00af03ab78148d3d711f22ca42ab348a52) -[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/lidarr.svg)](https://github.com/lidarr/Lidarr/wiki/Docker) -![Github Downloads](https://img.shields.io/github/downloads/lidarr/lidarr/total.svg) -[![Backers on Open Collective](https://opencollective.com/lidarr/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/lidarr/sponsors/badge.svg)](#sponsors) +[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/readarr.svg)](https://github.com/readarr/Readarr/wiki/Docker) +![Github Downloads](https://img.shields.io/github/downloads/readarr/readarr/total.svg) +[![Backers on Open Collective](https://opencollective.com/readarr/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/readarr/sponsors/badge.svg)](#sponsors) -Lidarr is a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available. +Readarr is a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available. ## Major Features Include: @@ -24,42 +24,42 @@ Lidarr is a music collection manager for Usenet and BitTorrent users. It can mon ## Feature Requests -[![Feature Requests](http://feathub.com/lidarr/Lidarr?format=svg)](http://feathub.com/lidarr/Lidarr) +[![Feature Requests](http://feathub.com/readarr/Readarr?format=svg)](http://feathub.com/readarr/Readarr) ## Support [![Discord](https://img.shields.io/badge/discord-chat-7289DA.svg?maxAge=60)](https://discord.gg/8Y7rDc9) -[![Reddit](https://img.shields.io/badge/reddit-discussion-FF4500.svg?maxAge=60)](https://www.reddit.com/r/lidarr) -[![GitHub](https://img.shields.io/badge/github-issues-red.svg?maxAge=60)](https://github.com/Lidarr/Lidarr/issues) -[![GitHub Wiki](https://img.shields.io/badge/github-wiki-181717.svg?maxAge=60)](https://github.com/Lidarr/Lidarr/wiki) +[![Reddit](https://img.shields.io/badge/reddit-discussion-FF4500.svg?maxAge=60)](https://www.reddit.com/r/readarr) +[![GitHub](https://img.shields.io/badge/github-issues-red.svg?maxAge=60)](https://github.com/Readarr/Readarr/issues) +[![GitHub Wiki](https://img.shields.io/badge/github-wiki-181717.svg?maxAge=60)](https://github.com/Readarr/Readarr/wiki) ## Contributors This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. - + ## Backers -Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/lidarr#backer)] +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/readarr#backer)] - + ## Sponsors -Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/lidarr#sponsor)] - - - - - - - - - - - +Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/readarr#sponsor)] + + + + + + + + + + + ### License diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index a12a1e32f..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,3 +0,0 @@ -skip_commits: - files: - - '**/**' \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a38653a48..59a051159 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,10 +7,10 @@ variables: outputFolder: './_output' artifactsFolder: './_artifacts' testsFolder: './_tests' - majorVersion: '0.7.1' - minorVersion: $[counter('minorVersion', 1076)] - lidarrVersion: '$(majorVersion).$(minorVersion)' - buildName: '$(Build.SourceBranchName).$(lidarrVersion)' + majorVersion: '0.1.0' + minorVersion: $[counter('minorVersion', 1)] + readarrVersion: '$(majorVersion).$(minorVersion)' + buildName: '$(Build.SourceBranchName).$(readarrVersion)' sentryOrg: 'radarr' dotnetVersion: '3.1.102' @@ -45,7 +45,7 @@ stages: vmImage: $(imageName) steps: # Set the build name properly. The 'name' property won't recursively expand so hack here: - - powershell: Write-Host "##vso[build.updatebuildnumber]$($env:LIDARRVERSION)" + - powershell: Write-Host "##vso[build.updatebuildnumber]$($env:READARRVERSION)" displayName: Set Build Name - checkout: self submodules: true @@ -55,7 +55,7 @@ stages: inputs: version: $(dotnetVersion) - bash: ./build.sh --backend - displayName: Build Lidarr Backend + displayName: Build Readarr Backend - bash: | find ${OUTPUTFOLDER} -type f ! -path "*/publish/*" -exec rm -rf {} \; find ${OUTPUTFOLDER} -depth -empty -type d -exec rm -r "{}" \; @@ -112,7 +112,7 @@ stages: submodules: true fetchDepth: 1 - bash: ./build.sh --frontend - displayName: Build Lidarr Frontend + displayName: Build Readarr Frontend env: FORCE_COLOR: 0 - publish: $(outputFolder) @@ -147,8 +147,8 @@ stages: - bash: ./build.sh --packages displayName: Create Packages - bash: | - setup/inno/ISCC.exe setup/lidarr.iss //DFramework=netcoreapp3.1 - cp setup/output/Lidarr.*windows.netcoreapp3.1.exe ${BUILD_ARTIFACTSTAGINGDIRECTORY}/Lidarr.${BUILDNAME}.windows-core-x64-installer.exe + setup/inno/ISCC.exe setup/readarr.iss //DFramework=netcoreapp3.1 + cp setup/output/Readarr.*windows.netcoreapp3.1.exe ${BUILD_ARTIFACTSTAGINGDIRECTORY}/Readarr.${BUILDNAME}.windows-core-x64-installer.exe displayName: Create .NET Core Windows installer - publish: $(Build.ArtifactStagingDirectory) artifact: 'WindowsInstaller' @@ -182,27 +182,27 @@ stages: displayName: Create Packages - bash: | find . -name "fpcalc" -exec chmod a+x {} \; - find . -name "Lidarr" -exec chmod a+x {} \; - find . -name "Lidarr.Update" -exec chmod a+x {} \; + find . -name "Readarr" -exec chmod a+x {} \; + find . -name "Readarr.Update" -exec chmod a+x {} \; displayName: Set executable bits - task: ArchiveFiles@2 displayName: Create Windows Core zip inputs: - archiveFile: '$(Build.ArtifactStagingDirectory)/Lidarr.$(buildName).windows-core-x64.zip' + archiveFile: '$(Build.ArtifactStagingDirectory)/Readarr.$(buildName).windows-core-x64.zip' archiveType: 'zip' includeRootFolder: false rootFolderOrFile: $(artifactsFolder)/windows/netcoreapp3.1 - task: ArchiveFiles@2 displayName: Create MacOS Core app inputs: - archiveFile: '$(Build.ArtifactStagingDirectory)/Lidarr.$(buildName).osx-app-core-x64.zip' + archiveFile: '$(Build.ArtifactStagingDirectory)/Readarr.$(buildName).osx-app-core-x64.zip' archiveType: 'zip' includeRootFolder: false rootFolderOrFile: $(artifactsFolder)/macos-app/netcoreapp3.1 - task: ArchiveFiles@2 displayName: Create MacOS Core tar inputs: - archiveFile: '$(Build.ArtifactStagingDirectory)/Lidarr.$(buildName).osx-core-x64.tar.gz' + archiveFile: '$(Build.ArtifactStagingDirectory)/Readarr.$(buildName).osx-core-x64.tar.gz' archiveType: 'tar' tarCompression: 'gz' includeRootFolder: false @@ -210,7 +210,7 @@ stages: - task: ArchiveFiles@2 displayName: Create Linux Mono tar inputs: - archiveFile: '$(Build.ArtifactStagingDirectory)/Lidarr.$(buildName).linux.tar.gz' + archiveFile: '$(Build.ArtifactStagingDirectory)/Readarr.$(buildName).linux.tar.gz' archiveType: 'tar' tarCompression: 'gz' includeRootFolder: false @@ -218,7 +218,7 @@ stages: - task: ArchiveFiles@2 displayName: Create Linux Core tar inputs: - archiveFile: '$(Build.ArtifactStagingDirectory)/Lidarr.$(buildName).linux-core-x64.tar.gz' + archiveFile: '$(Build.ArtifactStagingDirectory)/Readarr.$(buildName).linux-core-x64.tar.gz' archiveType: 'tar' tarCompression: 'gz' includeRootFolder: false @@ -226,7 +226,7 @@ stages: - task: ArchiveFiles@2 displayName: Create ARM32 Core tar inputs: - archiveFile: '$(Build.ArtifactStagingDirectory)/Lidarr.$(buildName).linux-core-arm.tar.gz' + archiveFile: '$(Build.ArtifactStagingDirectory)/Readarr.$(buildName).linux-core-arm.tar.gz' archiveType: 'tar' tarCompression: 'gz' includeRootFolder: false @@ -234,7 +234,7 @@ stages: - task: ArchiveFiles@2 displayName: Create Linux Core tar inputs: - archiveFile: '$(Build.ArtifactStagingDirectory)/Lidarr.$(buildName).linux-core-arm64.tar.gz' + archiveFile: '$(Build.ArtifactStagingDirectory)/Readarr.$(buildName).linux-core-arm64.tar.gz' archiveType: 'tar' tarCompression: 'gz' includeRootFolder: false @@ -245,9 +245,9 @@ stages: - bash: | echo "Uploading source maps to sentry" curl -sL https://sentry.io/get-cli/ | bash - RELEASENAME="${LIDARRVERSION}-${BUILD_SOURCEBRANCHNAME}" - sentry-cli releases new --finalize -p lidarr -p lidarr-ui -p lidarr-update "${RELEASENAME}" - sentry-cli releases -p lidarr-ui files "${RELEASENAME}" upload-sourcemaps _output/UI/ --rewrite + RELEASENAME="${READARRVERSION}-${BUILD_SOURCEBRANCHNAME}" + sentry-cli releases new --finalize -p readarr -p readarr-ui -p readarr-update "${RELEASENAME}" + sentry-cli releases -p readarr-ui files "${RELEASENAME}" upload-sourcemaps _output/UI/ --rewrite sentry-cli releases set-commits --auto "${RELEASENAME}" if [[ ${BUILD_SOURCEBRANCH} == "refs/heads/develop" ]]; then sentry-cli releases deploys "${RELEASENAME}" new -e nightly @@ -287,7 +287,7 @@ stages: osName: 'Linux' testName: 'LinuxCore' imageName: 'ubuntu-18.04' - pattern: 'Lidarr.**.linux-core-x64.tar.gz' + pattern: 'Readarr.**.linux-core-x64.tar.gz' pool: vmImage: $(imageName) @@ -322,7 +322,7 @@ stages: chmod a+x _tests/fpcalc displayName: Set Mono Version and make fpcalc Executable condition: and(succeeded(), eq(variables['osName'], 'Mac')) - - bash: find ${TESTSFOLDER} -name "Lidarr.Test.Dummy" -exec chmod a+x {} \; + - bash: find ${TESTSFOLDER} -name "Readarr.Test.Dummy" -exec chmod a+x {} \; displayName: Make Test Dummy Executable condition: and(succeeded(), ne(variables['osName'], 'Windows')) - task: Bash@3 @@ -347,16 +347,16 @@ stages: matrix: mono508: testName: 'Mono 5.8' - containerImage: lidarr/testimages:mono-5.8 + containerImage: readarr/testimages:mono-5.8 mono520: testName: 'Mono 5.20' - containerImage: lidarr/testimages:mono-5.20 + containerImage: readarr/testimages:mono-5.20 mono608: testName: 'Mono 6.8' - containerImage: lidarr/testimages:mono-6.8 + containerImage: readarr/testimages:mono-6.8 mono610: testName: 'Mono 6.10' - containerImage: lidarr/testimages:mono-6.10 + containerImage: readarr/testimages:mono-6.10 pool: vmImage: 'ubuntu-18.04' @@ -406,17 +406,17 @@ stages: osName: 'Mac' testName: 'MacCore' imageName: 'macos-10.14' - pattern: 'Lidarr.**.osx-core-x64.tar.gz' + pattern: 'Readarr.**.osx-core-x64.tar.gz' WindowsCore: osName: 'Windows' testName: 'WindowsCore' imageName: 'windows-2019' - pattern: 'Lidarr.**.windows-core-x64.zip' + pattern: 'Readarr.**.windows-core-x64.zip' LinuxCore: osName: 'Linux' testName: 'LinuxCore' imageName: 'ubuntu-18.04' - pattern: 'Lidarr.**.linux-core-x64.tar.gz' + pattern: 'Readarr.**.linux-core-x64.tar.gz' pool: vmImage: $(imageName) @@ -455,7 +455,7 @@ stages: displayName: Extract Package - bash: | mkdir -p ./bin/ - cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Lidarr/. ./bin/ + cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Readarr/. ./bin/ displayName: Move Package Contents - task: Bash@3 displayName: Run Integration Tests @@ -477,19 +477,19 @@ stages: matrix: mono508: testName: 'Mono 5.8' - containerImage: lidarr/testimages:mono-5.8 + containerImage: readarr/testimages:mono-5.8 mono520: testName: 'Mono 5.20' - containerImage: lidarr/testimages:mono-5.20 + containerImage: readarr/testimages:mono-5.20 mono608: testName: 'Mono 6.8' - containerImage: lidarr/testimages:mono-6.8 + containerImage: readarr/testimages:mono-6.8 mono610: testName: 'Mono 6.10' - containerImage: lidarr/testimages:mono-6.10 + containerImage: readarr/testimages:mono-6.10 variables: - pattern: 'Lidarr.**.linux.tar.gz' + pattern: 'Readarr.**.linux.tar.gz' pool: vmImage: 'ubuntu-18.04' @@ -526,7 +526,7 @@ stages: displayName: Extract Package - bash: | mkdir -p ./bin/ - cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Lidarr/. ./bin/ + cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Readarr/. ./bin/ displayName: Move Package Contents - task: Bash@3 displayName: Run Integration Tests @@ -553,17 +553,17 @@ stages: Linux: osName: 'Linux' imageName: 'ubuntu-18.04' - pattern: 'Lidarr.**.linux-core-x64.tar.gz' + pattern: 'Readarr.**.linux-core-x64.tar.gz' failBuild: true Mac: osName: 'Mac' imageName: 'macos-10.14' # Fails due to firefox not being installed on image - pattern: 'Lidarr.**.osx-core-x64.tar.gz' + pattern: 'Readarr.**.osx-core-x64.tar.gz' failBuild: false Windows: osName: 'Windows' imageName: 'windows-2019' - pattern: 'Lidarr.**.windows-core-x64.zip' + pattern: 'Readarr.**.windows-core-x64.zip' failBuild: true pool: @@ -595,7 +595,7 @@ stages: displayName: Extract Package - bash: | mkdir -p ./bin/ - cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Lidarr/. ./bin/ + cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Readarr/. ./bin/ displayName: Move Package Contents - bash: | if [[ $OSNAME == "Mac" ]]; then @@ -652,7 +652,7 @@ stages: submodules: true fetchDepth: 1 - bash: ./build.sh --lint - displayName: Lint Lidarr Frontend + displayName: Lint Readarr Frontend env: FORCE_COLOR: 0 @@ -667,12 +667,12 @@ stages: SONAR_SCANNER_OPTS: '' inputs: SonarCloud: 'SonarCloud' - organization: 'lidarr' + organization: 'readarr' scannerMode: 'CLI' configMode: 'manual' - cliProjectKey: 'lidarr_Lidarr.UI' - cliProjectName: 'LidarrUI' - cliProjectVersion: '$(lidarrVersion)' + cliProjectKey: 'readarr_Readarr.UI' + cliProjectName: 'ReadarrUI' + cliProjectVersion: '$(readarrVersion)' cliSources: './frontend' - task: SonarCloudAnalyze@1 @@ -694,14 +694,14 @@ stages: - task: SonarCloudPrepare@1 inputs: SonarCloud: 'SonarCloud' - organization: 'lidarr' + organization: 'readarr' scannerMode: 'MSBuild' - projectKey: 'lidarr_Lidarr' - projectName: 'Lidarr' - projectVersion: '$(lidarrVersion)' + projectKey: 'readarr_Readarr' + projectName: 'Readarr' + projectVersion: '$(readarrVersion)' extraProperties: | sonar.exclusions=**/obj/**,**/*.dll,**/NzbDrone.Core.Test/Files/**/*,./frontend/**,**/ExternalModules/**,./src/Libraries/** - sonar.coverage.exclusions=**/Lidarr.Api.V1/**/*,**/MonoTorrent/**/*,**/Marr.Data/**/* + sonar.coverage.exclusions=**/Readarr.Api.V1/**/*,**/MonoTorrent/**/*,**/Marr.Data/**/* sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)/CoverageResults/**/coverage.opencover.xml sonar.cs.nunit.reportsPaths=$(Build.SourcesDirectory)/TestResult.xml - bash: | diff --git a/build.sh b/build.sh index 48ebfa76c..2cb380c1b 100755 --- a/build.sh +++ b/build.sh @@ -19,11 +19,11 @@ ProgressEnd() UpdateVersionNumber() { - if [ "$LIDARRVERSION" != "" ]; then + if [ "$READARRVERSION" != "" ]; then echo "Updating Version Info" - sed -i'' -e "s/[0-9.*]\+<\/AssemblyVersion>/$LIDARRVERSION<\/AssemblyVersion>/g" src/Directory.Build.props + sed -i'' -e "s/[0-9.*]\+<\/AssemblyVersion>/$READARRVERSION<\/AssemblyVersion>/g" src/Directory.Build.props sed -i'' -e "s/[\$()A-Za-z-]\+<\/AssemblyConfiguration>/${BUILD_SOURCEBRANCHNAME}<\/AssemblyConfiguration>/g" src/Directory.Build.props - sed -i'' -e "s/10.0.0.0<\/string>/$LIDARRVERSION<\/string>/g" macOS/Lidarr.app/Contents/Info.plist + sed -i'' -e "s/10.0.0.0<\/string>/$READARRVERSION<\/string>/g" macOS/Readarr.app/Contents/Info.plist fi } @@ -49,7 +49,7 @@ Build() rm -rf $outputFolder rm -rf $testPackageFolder - slnFile=src/Lidarr.sln + slnFile=src/Readarr.sln if [ $os = "windows" ]; then platform=Windows @@ -93,7 +93,7 @@ PackageFiles() rm -rf $folder mkdir -p $folder cp -r $outputFolder/$framework/$runtime/publish/* $folder - cp -r $outputFolder/Lidarr.Update/$framework/$runtime/publish $folder/Lidarr.Update + cp -r $outputFolder/Readarr.Update/$framework/$runtime/publish $folder/Readarr.Update cp -r $outputFolder/UI $folder echo "Adding LICENSE" @@ -107,7 +107,7 @@ PackageLinux() ProgressStart "Creating $runtime Package for $framework" - local folder=$artifactsFolder/$runtime/$framework/Lidarr + local folder=$artifactsFolder/$runtime/$framework/Readarr PackageFiles "$folder" "$framework" "$runtime" @@ -115,14 +115,14 @@ PackageLinux() rm -f $folder/ServiceUninstall.* rm -f $folder/ServiceInstall.* - echo "Removing Lidarr.Windows" - rm $folder/Lidarr.Windows.* + echo "Removing Readarr.Windows" + rm $folder/Readarr.Windows.* - echo "Adding Lidarr.Mono to UpdatePackage" - cp $folder/Lidarr.Mono.* $folder/Lidarr.Update + echo "Adding Readarr.Mono to UpdatePackage" + cp $folder/Readarr.Mono.* $folder/Readarr.Update if [ "$framework" = "netcoreapp3.1" ]; then - cp $folder/Mono.Posix.NETStandard.* $folder/Lidarr.Update - cp $folder/libMonoPosixHelper.* $folder/Lidarr.Update + cp $folder/Mono.Posix.NETStandard.* $folder/Readarr.Update + cp $folder/libMonoPosixHelper.* $folder/Readarr.Update fi ProgressEnd "Creating $runtime Package for $framework" @@ -134,27 +134,27 @@ PackageMacOS() ProgressStart "Creating MacOS Package for $framework" - local folder=$artifactsFolder/macos/$framework/Lidarr + local folder=$artifactsFolder/macos/$framework/Readarr PackageFiles "$folder" "$framework" "osx-x64" if [ "$framework" = "net462" ]; then echo "Adding Startup script" - cp macOS/Lidarr $folder + cp macOS/Readarr $folder fi echo "Removing Service helpers" rm -f $folder/ServiceUninstall.* rm -f $folder/ServiceInstall.* - echo "Removing Lidarr.Windows" - rm $folder/Lidarr.Windows.* + echo "Removing Readarr.Windows" + rm $folder/Readarr.Windows.* - echo "Adding Lidarr.Mono to UpdatePackage" - cp $folder/Lidarr.Mono.* $folder/Lidarr.Update + echo "Adding Readarr.Mono to UpdatePackage" + cp $folder/Readarr.Mono.* $folder/Readarr.Update if [ "$framework" = "netcoreapp3.1" ]; then - cp $folder/Mono.Posix.NETStandard.* $folder/Lidarr.Update - cp $folder/libMonoPosixHelper.* $folder/Lidarr.Update + cp $folder/Mono.Posix.NETStandard.* $folder/Readarr.Update + cp $folder/libMonoPosixHelper.* $folder/Readarr.Update fi ProgressEnd 'Creating MacOS Package' @@ -170,14 +170,14 @@ PackageMacOSApp() rm -rf $folder mkdir -p $folder - cp -r macOS/Lidarr.app $folder - mkdir -p $folder/Lidarr.app/Contents/MacOS + cp -r macOS/Readarr.app $folder + mkdir -p $folder/Readarr.app/Contents/MacOS echo "Copying Binaries" - cp -r $artifactsFolder/macos/$framework/Lidarr/* $folder/Lidarr.app/Contents/MacOS + cp -r $artifactsFolder/macos/$framework/Readarr/* $folder/Readarr.app/Contents/MacOS echo "Removing Update Folder" - rm -r $folder/Lidarr.app/Contents/MacOS/Lidarr.Update + rm -r $folder/Readarr.app/Contents/MacOS/Readarr.Update ProgressEnd 'Creating macOS App Package' } @@ -188,17 +188,17 @@ PackageWindows() ProgressStart "Creating Windows Package for $framework" - local folder=$artifactsFolder/windows/$framework/Lidarr + local folder=$artifactsFolder/windows/$framework/Readarr PackageFiles "$folder" "$framework" "win-x64" - echo "Removing Lidarr.Mono" - rm -f $folder/Lidarr.Mono.* + echo "Removing Readarr.Mono" + rm -f $folder/Readarr.Mono.* rm -f $folder/Mono.Posix.NETStandard.* rm -f $folder/libMonoPosixHelper.* - echo "Adding Lidarr.Windows to UpdatePackage" - cp $folder/Lidarr.Windows.* $folder/Lidarr.Update + echo "Adding Readarr.Windows to UpdatePackage" + cp $folder/Readarr.Windows.* $folder/Readarr.Update ProgressEnd 'Creating Windows Package' } diff --git a/debian/control b/debian/control index 34586f51d..6ec884247 100644 --- a/debian/control +++ b/debian/control @@ -2,11 +2,11 @@ Section: web Priority: optional Maintainer: Sonarr Source: nzbdrone -Homepage: https://lidarr.audio -Vcs-Git: git@github.com:lidarr/Lidarr.git -Vcs-Browser: https://github.com/lidarr/Lidarr +Homepage: https://readarr.audio +Vcs-Git: git@github.com:readarr/Readarr.git +Vcs-Browser: https://github.com/readarr/Readarr Package: nzbdrone Architecture: all Depends: libmono-cil-dev (>= 3.2), sqlite3 (>= 3.7), mediainfo (>= 0.7.52) -Description: Lidarr is a music collection manager +Description: Readarr is a music collection manager diff --git a/debian/copyright b/debian/copyright index b8fac1d7e..74ee78887 100755 --- a/debian/copyright +++ b/debian/copyright @@ -1,9 +1,9 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: nzbdrone -Source: https://github.com/lidarr/Lidarr +Source: https://github.com/readarr/Readarr Files: * -Copyright: 2010-2016 Lidarr +Copyright: 2010-2016 Readarr License: GPL-3.0+ diff --git a/frontend/src/Activity/History/Details/HistoryDetails.js b/frontend/src/Activity/History/Details/HistoryDetails.js index 28e510145..3088f3693 100644 --- a/frontend/src/Activity/History/Details/HistoryDetails.js +++ b/frontend/src/Activity/History/Details/HistoryDetails.js @@ -217,7 +217,7 @@ function HistoryDetails(props) { reasonMessage = 'File was deleted by via UI'; break; case 'MissingFromDisk': - reasonMessage = 'Lidarr was unable to find the file on disk so it was removed'; + reasonMessage = 'Readarr was unable to find the file on disk so it was removed'; break; case 'Upgrade': reasonMessage = 'File was deleted to import an upgrade'; diff --git a/frontend/src/Activity/Queue/QueueOptions.js b/frontend/src/Activity/Queue/QueueOptions.js index 835be52b3..dd4b391b1 100644 --- a/frontend/src/Activity/Queue/QueueOptions.js +++ b/frontend/src/Activity/Queue/QueueOptions.js @@ -60,7 +60,7 @@ class QueueOptions extends Component { type={inputTypes.CHECK} name="includeUnknownArtistItems" value={includeUnknownArtistItems} - helpText="Show items without a artist in the queue, this could include removed artists, movies or anything else in Lidarr's category" + helpText="Show items without a artist in the queue, this could include removed artists, movies or anything else in Readarr's category" onChange={this.onOptionChange} /> diff --git a/frontend/src/Activity/Queue/RemoveQueueItemModal.js b/frontend/src/Activity/Queue/RemoveQueueItemModal.js index d0686eba2..3167ea8f3 100644 --- a/frontend/src/Activity/Queue/RemoveQueueItemModal.js +++ b/frontend/src/Activity/Queue/RemoveQueueItemModal.js @@ -114,7 +114,7 @@ class RemoveQueueItemModal extends Component { type={inputTypes.CHECK} name="blacklist" value={blacklist} - helpText="Prevents Lidarr from automatically grabbing this release again" + helpText="Prevents Readarr from automatically grabbing this release again" onChange={this.onBlacklistChange} /> @@ -127,7 +127,7 @@ class RemoveQueueItemModal extends Component { type={inputTypes.CHECK} name="skipredownload" value={skipredownload} - helpText="Prevents Lidarr from trying download an alternative release for this item" + helpText="Prevents Readarr from trying download an alternative release for this item" onChange={this.onSkipReDownloadChange} /> diff --git a/frontend/src/Activity/Queue/RemoveQueueItemsModal.js b/frontend/src/Activity/Queue/RemoveQueueItemsModal.js index e1c88d078..f6efb1b73 100644 --- a/frontend/src/Activity/Queue/RemoveQueueItemsModal.js +++ b/frontend/src/Activity/Queue/RemoveQueueItemsModal.js @@ -117,7 +117,7 @@ class RemoveQueueItemsModal extends Component { type={inputTypes.CHECK} name="blacklist" value={blacklist} - helpText="Prevents Lidarr from automatically grabbing these files again" + helpText="Prevents Readarr from automatically grabbing these files again" onChange={this.onBlacklistChange} /> @@ -130,7 +130,7 @@ class RemoveQueueItemsModal extends Component { type={inputTypes.CHECK} name="skipredownload" value={skipredownload} - helpText="Prevents Lidarr from trying download alternative releases for the removed items" + helpText="Prevents Readarr from trying download alternative releases for the removed items" onChange={this.onSkipReDownloadChange} /> diff --git a/frontend/src/Album/Delete/DeleteAlbumModalContent.js b/frontend/src/Album/Delete/DeleteAlbumModalContent.js index b6bd215fe..eb2ca2dd9 100644 --- a/frontend/src/Album/Delete/DeleteAlbumModalContent.js +++ b/frontend/src/Album/Delete/DeleteAlbumModalContent.js @@ -97,7 +97,7 @@ class DeleteAlbumModalContent extends Component { type={inputTypes.CHECK} name="addImportListExclusion" value={addImportListExclusion} - helpText="Prevent album from being added to Lidarr by Import Lists or Artist Refresh" + helpText="Prevent album from being added to Readarr by Import Lists or Artist Refresh" kind={kinds.DANGER} onChange={this.onAddImportListExclusionChange} /> diff --git a/frontend/src/Album/Delete/DeleteAlbumModalContentConnector.js b/frontend/src/Album/Delete/DeleteAlbumModalContentConnector.js index f31b4ac65..ce4bdbef0 100644 --- a/frontend/src/Album/Delete/DeleteAlbumModalContentConnector.js +++ b/frontend/src/Album/Delete/DeleteAlbumModalContentConnector.js @@ -35,7 +35,7 @@ class DeleteAlbumModalContentConnector extends Component { this.props.onModalClose(true); - this.props.push(`${window.Lidarr.urlBase}/artist/${this.props.foreignArtistId}`); + this.props.push(`${window.Readarr.urlBase}/artist/${this.props.foreignArtistId}`); } // diff --git a/frontend/src/Album/Edit/EditAlbumModalContent.js b/frontend/src/Album/Edit/EditAlbumModalContent.js index 949feee08..5c70da199 100644 --- a/frontend/src/Album/Edit/EditAlbumModalContent.js +++ b/frontend/src/Album/Edit/EditAlbumModalContent.js @@ -64,7 +64,7 @@ class EditAlbumModalContent extends Component { @@ -76,7 +76,7 @@ class EditAlbumModalContent extends Component { diff --git a/frontend/src/App/App.js b/frontend/src/App/App.js index ecd3ea533..38cc30a57 100644 --- a/frontend/src/App/App.js +++ b/frontend/src/App/App.js @@ -8,7 +8,7 @@ import AppRoutes from './AppRoutes'; function App({ store, history }) { return ( - + diff --git a/frontend/src/App/AppRoutes.js b/frontend/src/App/AppRoutes.js index aacd16b06..c20a591a0 100644 --- a/frontend/src/App/AppRoutes.js +++ b/frontend/src/App/AppRoutes.js @@ -54,7 +54,7 @@ function AppRoutes(props) { /> { - window.Lidarr.urlBase && + window.Readarr.urlBase && - Lidarr Updated + Readarr Updated
- Version {version} of Lidarr has been installed, in order to get the latest changes you'll need to reload Lidarr. + Version {version} of Readarr has been installed, in order to get the latest changes you'll need to reload Readarr.
{ diff --git a/frontend/src/App/AppUpdatedModalContentConnector.js b/frontend/src/App/AppUpdatedModalContentConnector.js index 7cf649b65..5a91e1f0e 100644 --- a/frontend/src/App/AppUpdatedModalContentConnector.js +++ b/frontend/src/App/AppUpdatedModalContentConnector.js @@ -33,7 +33,7 @@ function createMapDispatchToProps(dispatch, props) { }, onSeeChangesPress() { - window.location = `${window.Lidarr.urlBase}/system/updates`; + window.location = `${window.Readarr.urlBase}/system/updates`; } }; } diff --git a/frontend/src/App/ConnectionLostModal.js b/frontend/src/App/ConnectionLostModal.js index 9d18599ae..310b1c6f5 100644 --- a/frontend/src/App/ConnectionLostModal.js +++ b/frontend/src/App/ConnectionLostModal.js @@ -27,11 +27,11 @@ function ConnectionLostModal(props) {
- Lidarr has lost its connection to the backend and will need to be reloaded to restore functionality. + Readarr has lost its connection to the backend and will need to be reloaded to restore functionality.
- Lidarr will try to connect automatically, or you can click reload below. + Readarr will try to connect automatically, or you can click reload below.
diff --git a/frontend/src/Artist/Delete/DeleteArtistModalContent.js b/frontend/src/Artist/Delete/DeleteArtistModalContent.js index a242a1e20..fe32e25aa 100644 --- a/frontend/src/Artist/Delete/DeleteArtistModalContent.js +++ b/frontend/src/Artist/Delete/DeleteArtistModalContent.js @@ -112,7 +112,7 @@ class DeleteArtistModalContent extends Component { type={inputTypes.CHECK} name="addImportListExclusion" value={addImportListExclusion} - helpText="Prevent artist from being added to Lidarr by Import lists" + helpText="Prevent artist from being added to Readarr by Import lists" kind={kinds.DANGER} onChange={this.onAddImportListExclusionChange} /> diff --git a/frontend/src/Artist/Details/ArtistDetailsPageConnector.js b/frontend/src/Artist/Details/ArtistDetailsPageConnector.js index 61b1a0f4c..cdf722161 100644 --- a/frontend/src/Artist/Details/ArtistDetailsPageConnector.js +++ b/frontend/src/Artist/Details/ArtistDetailsPageConnector.js @@ -55,7 +55,7 @@ class ArtistDetailsPageConnector extends Component { componentDidUpdate(prevProps) { if (!this.props.foreignArtistId) { - this.props.push(`${window.Lidarr.urlBase}/`); + this.props.push(`${window.Readarr.urlBase}/`); return; } } diff --git a/frontend/src/Artist/Editor/ArtistEditorFooter.js b/frontend/src/Artist/Editor/ArtistEditorFooter.js index 59bdcd056..0a94e6bbb 100644 --- a/frontend/src/Artist/Editor/ArtistEditorFooter.js +++ b/frontend/src/Artist/Editor/ArtistEditorFooter.js @@ -290,7 +290,7 @@ class ArtistEditorFooter extends Component { isDisabled={!selectedCount || isOrganizingArtist || isRetaggingArtist} onPress={this.onTagsPress} > - Set Lidarr Tags + Set Readarr Tags diff --git a/frontend/src/Calendar/iCal/CalendarLinkModalContent.js b/frontend/src/Calendar/iCal/CalendarLinkModalContent.js index 074c66516..522b78fb1 100644 --- a/frontend/src/Calendar/iCal/CalendarLinkModalContent.js +++ b/frontend/src/Calendar/iCal/CalendarLinkModalContent.js @@ -22,7 +22,7 @@ function getUrls(state) { tags } = state; - let icalUrl = `${window.location.host}${window.Lidarr.urlBase}/feed/v1/calendar/Lidarr.ics?`; + let icalUrl = `${window.location.host}${window.Readarr.urlBase}/feed/v1/calendar/Readarr.ics?`; if (unmonitored) { icalUrl += 'unmonitored=true&'; @@ -32,7 +32,7 @@ function getUrls(state) { icalUrl += `tags=${tags.toString()}&`; } - icalUrl += `pastDays=${pastDays}&futureDays=${futureDays}&apikey=${window.Lidarr.apiKey}`; + icalUrl += `pastDays=${pastDays}&futureDays=${futureDays}&apikey=${window.Readarr.apiKey}`; const iCalHttpUrl = `${window.location.protocol}//${icalUrl}`; const iCalWebCalUrl = `webcal://${icalUrl}`; @@ -107,7 +107,7 @@ class CalendarLinkModalContent extends Component { return ( - Lidarr Calendar Feed + Readarr Calendar Feed diff --git a/frontend/src/Components/CircularProgressBar.js b/frontend/src/Components/CircularProgressBar.js index f373de1d6..9ee12d0a1 100644 --- a/frontend/src/Components/CircularProgressBar.js +++ b/frontend/src/Components/CircularProgressBar.js @@ -132,7 +132,7 @@ CircularProgressBar.defaultProps = { containerClassName: styles.circularProgressBarContainer, size: 60, strokeWidth: 5, - strokeColor: colors.lidarrGreen, + strokeColor: colors.readarrGreen, showProgressText: false }; diff --git a/frontend/src/Components/Error/ErrorBoundaryError.js b/frontend/src/Components/Error/ErrorBoundaryError.js index f99930437..68587135f 100644 --- a/frontend/src/Components/Error/ErrorBoundaryError.js +++ b/frontend/src/Components/Error/ErrorBoundaryError.js @@ -21,7 +21,7 @@ function ErrorBoundaryError(props) {
diff --git a/frontend/src/Components/FileBrowser/FileBrowserModalContent.js b/frontend/src/Components/FileBrowser/FileBrowserModalContent.js index ca84ac078..207fd1b6c 100644 --- a/frontend/src/Components/FileBrowser/FileBrowserModalContent.js +++ b/frontend/src/Components/FileBrowser/FileBrowserModalContent.js @@ -128,7 +128,7 @@ class FileBrowserModalContent extends Component { className={styles.mappedDrivesWarning} kind={kinds.WARNING} > - Mapped network drives are not available when running as a Windows Service, see the FAQ for more information. + Mapped network drives are not available when running as a Windows Service, see the FAQ for more information. } diff --git a/frontend/src/Components/Link/Link.js b/frontend/src/Components/Link/Link.js index b7487545c..c5556b3af 100644 --- a/frontend/src/Components/Link/Link.js +++ b/frontend/src/Components/Link/Link.js @@ -47,13 +47,13 @@ class Link extends Component { el = 'a'; linkProps.href = to; linkProps.target = target || '_self'; - } else if (to.startsWith(`${window.Lidarr.urlBase}/`)) { + } else if (to.startsWith(`${window.Readarr.urlBase}/`)) { el = RouterLink; linkProps.to = to; linkProps.target = target; } else { el = RouterLink; - linkProps.to = `${window.Lidarr.urlBase}/${to.replace(/^\//, '')}`; + linkProps.to = `${window.Readarr.urlBase}/${to.replace(/^\//, '')}`; linkProps.target = target; } } diff --git a/frontend/src/Components/Loading/LoadingMessage.js b/frontend/src/Components/Loading/LoadingMessage.js index a4ca95beb..3483708d9 100644 --- a/frontend/src/Components/Loading/LoadingMessage.js +++ b/frontend/src/Components/Loading/LoadingMessage.js @@ -4,7 +4,7 @@ import styles from './LoadingMessage.css'; const messages = [ 'Downloading more RAM', 'Now in Technicolor', - 'Previously on Lidarr...', + 'Previously on Readarr...', 'Bleep Bloop.', 'Locating the required gigapixels to render...', 'Spinning up the hamster wheel...', diff --git a/frontend/src/Components/NotFound.js b/frontend/src/Components/NotFound.js index ad982df8a..4419a8dad 100644 --- a/frontend/src/Components/NotFound.js +++ b/frontend/src/Components/NotFound.js @@ -13,7 +13,7 @@ function NotFound({ message }) { diff --git a/frontend/src/Components/Page/ErrorPage.js b/frontend/src/Components/Page/ErrorPage.js index 4440cf3be..d981f8988 100644 --- a/frontend/src/Components/Page/ErrorPage.js +++ b/frontend/src/Components/Page/ErrorPage.js @@ -16,7 +16,7 @@ function ErrorPage(props) { systemStatusError } = props; - let errorMessage = 'Failed to load Lidarr'; + let errorMessage = 'Failed to load Readarr'; if (!isLocalStorageSupported) { errorMessage = 'Local Storage is not supported or disabled. A plugin or private browsing may have disabled it.'; diff --git a/frontend/src/Components/Page/Header/ArtistSearchInputConnector.js b/frontend/src/Components/Page/Header/ArtistSearchInputConnector.js index 3ac4ff6c6..dd1102725 100644 --- a/frontend/src/Components/Page/Header/ArtistSearchInputConnector.js +++ b/frontend/src/Components/Page/Header/ArtistSearchInputConnector.js @@ -54,11 +54,11 @@ function createMapStateToProps() { function createMapDispatchToProps(dispatch, props) { return { onGoToArtist(foreignArtistId) { - dispatch(push(`${window.Lidarr.urlBase}/artist/${foreignArtistId}`)); + dispatch(push(`${window.Readarr.urlBase}/artist/${foreignArtistId}`)); }, onGoToAddNewArtist(query) { - dispatch(push(`${window.Lidarr.urlBase}/add/search?term=${encodeURIComponent(query)}`)); + dispatch(push(`${window.Readarr.urlBase}/add/search?term=${encodeURIComponent(query)}`)); } }; } diff --git a/frontend/src/Components/Page/Header/PageHeader.js b/frontend/src/Components/Page/Header/PageHeader.js index 87cf317b3..e4b9e59f4 100644 --- a/frontend/src/Components/Page/Header/PageHeader.js +++ b/frontend/src/Components/Page/Header/PageHeader.js @@ -53,11 +53,11 @@ class PageHeader extends Component {
@@ -76,7 +76,7 @@ class PageHeader extends Component { - +
{children}
diff --git a/frontend/src/Components/Page/Sidebar/PageSidebar.js b/frontend/src/Components/Page/Sidebar/PageSidebar.js index cb27587df..dd9e27788 100644 --- a/frontend/src/Components/Page/Sidebar/PageSidebar.js +++ b/frontend/src/Components/Page/Sidebar/PageSidebar.js @@ -430,7 +430,7 @@ class PageSidebar extends Component { transform } = this.state; - const urlBase = window.Lidarr.urlBase; + const urlBase = window.Readarr.urlBase; const pathname = urlBase ? location.pathname.substr(urlBase.length) || '/' : location.pathname; const activeParent = getActiveParent(pathname); diff --git a/frontend/src/Components/SignalRConnector.js b/frontend/src/Components/SignalRConnector.js index 37961e519..a5223eb31 100644 --- a/frontend/src/Components/SignalRConnector.js +++ b/frontend/src/Components/SignalRConnector.js @@ -59,7 +59,7 @@ function Logger(minimumLogLevel) { } Logger.prototype.cleanse = function(message) { - const apikey = new RegExp(`access_token=${window.Lidarr.apiKey}`, 'g'); + const apikey = new RegExp(`access_token=${window.Readarr.apiKey}`, 'g'); return message.replace(apikey, 'access_token=(removed)'); }; @@ -99,11 +99,11 @@ class SignalRConnector extends Component { componentDidMount() { console.log('[signalR] starting'); - const url = `${window.Lidarr.urlBase}/signalr/messages`; + const url = `${window.Readarr.urlBase}/signalr/messages`; this.connection = new signalR.HubConnectionBuilder() .configureLogging(new Logger(signalR.LogLevel.Information)) - .withUrl(`${url}?access_token=${window.Lidarr.apiKey}`) + .withUrl(`${url}?access_token=${window.Readarr.apiKey}`) .withAutomaticReconnect({ nextRetryDelayInMilliseconds: (retryContext) => { if (retryContext.elapsedMilliseconds > 180000) { diff --git a/frontend/src/InteractiveSearch/InteractiveSearchRow.js b/frontend/src/InteractiveSearch/InteractiveSearchRow.js index 055054f70..0f3c11757 100644 --- a/frontend/src/InteractiveSearch/InteractiveSearchRow.js +++ b/frontend/src/InteractiveSearch/InteractiveSearchRow.js @@ -214,7 +214,7 @@ class InteractiveSearchRow extends Component { isOpen={this.state.isConfirmGrabModalOpen} kind={kinds.WARNING} title="Grab Release" - message={`Lidarr was unable to determine which artist and album this release was for. Lidarr may be unable to automatically import this release. Do you want to grab '${title}'?`} + message={`Readarr was unable to determine which artist and album this release was for. Readarr may be unable to automatically import this release. Do you want to grab '${title}'?`} confirmLabel="Grab" onConfirm={this.onGrabConfirm} onCancel={this.onGrabCancel} diff --git a/frontend/src/Search/AddNewItem.js b/frontend/src/Search/AddNewItem.js index edee654c2..46008b6a3 100644 --- a/frontend/src/Search/AddNewItem.js +++ b/frontend/src/Search/AddNewItem.js @@ -100,7 +100,7 @@ class AddNewItem extends Component { className={styles.searchInput} name="searchBox" value={term} - placeholder="eg. Breaking Benjamin, lidarr:854a1807-025b-42a8-ba8c-2a39717f1d25" + placeholder="eg. Breaking Benjamin, readarr:854a1807-025b-42a8-ba8c-2a39717f1d25" autoFocus={true} onChange={this.onSearchInputChange} /> @@ -163,7 +163,7 @@ class AddNewItem extends Component {
You can also search using the MusicBrainz ID - of an artist e.g. lidarr:cc197bad-dc9c-440d-a5b5-d52ba2e14234 + of an artist e.g. readarr:cc197bad-dc9c-440d-a5b5-d52ba2e14234
} @@ -175,7 +175,7 @@ class AddNewItem extends Component {
You can also search using the MusicBrainz ID - of an artist e.g. lidarr:cc197bad-dc9c-440d-a5b5-d52ba2e14234 + of an artist e.g. readarr:cc197bad-dc9c-440d-a5b5-d52ba2e14234
} diff --git a/frontend/src/Settings/DownloadClients/DownloadClients/AddDownloadClientModalContent.js b/frontend/src/Settings/DownloadClients/DownloadClients/AddDownloadClientModalContent.js index 5da3e34dc..158ec58e5 100644 --- a/frontend/src/Settings/DownloadClients/DownloadClients/AddDownloadClientModalContent.js +++ b/frontend/src/Settings/DownloadClients/DownloadClients/AddDownloadClientModalContent.js @@ -50,7 +50,7 @@ class AddDownloadClientModalContent extends Component {
-
Lidarr supports any downloadClient that uses the Newznab standard, as well as other downloadClients listed below.
+
Readarr supports any downloadClient that uses the Newznab standard, as well as other downloadClients listed below.
For more information on the individual downloadClients, click on the info buttons.
diff --git a/frontend/src/Settings/DownloadClients/RemotePathMappings/EditRemotePathMappingModalContent.js b/frontend/src/Settings/DownloadClients/RemotePathMappings/EditRemotePathMappingModalContent.js index afb891e0f..b356d564a 100644 --- a/frontend/src/Settings/DownloadClients/RemotePathMappings/EditRemotePathMappingModalContent.js +++ b/frontend/src/Settings/DownloadClients/RemotePathMappings/EditRemotePathMappingModalContent.js @@ -88,7 +88,7 @@ function EditRemotePathMappingModalContent(props) { diff --git a/frontend/src/Settings/General/AnalyticSettings.js b/frontend/src/Settings/General/AnalyticSettings.js index 6854e6d62..d087a6d1a 100644 --- a/frontend/src/Settings/General/AnalyticSettings.js +++ b/frontend/src/Settings/General/AnalyticSettings.js @@ -24,7 +24,7 @@ function AnalyticSettings(props) { @@ -50,7 +50,7 @@ function BackupSettings(props) { type={inputTypes.NUMBER} name="backupInterval" unit="days" - helpText="Interval to backup the Lidarr DB and settings" + helpText="Interval to backup the Readarr DB and settings" onChange={onInputChange} {...backupInterval} /> diff --git a/frontend/src/Settings/General/GeneralSettings.js b/frontend/src/Settings/General/GeneralSettings.js index da381420c..ff315cadd 100644 --- a/frontend/src/Settings/General/GeneralSettings.js +++ b/frontend/src/Settings/General/GeneralSettings.js @@ -179,9 +179,9 @@ class GeneralSettings extends Component { diff --git a/frontend/src/Settings/General/SecuritySettings.js b/frontend/src/Settings/General/SecuritySettings.js index d7a2009a8..bbcf7194e 100644 --- a/frontend/src/Settings/General/SecuritySettings.js +++ b/frontend/src/Settings/General/SecuritySettings.js @@ -84,7 +84,7 @@ class SecuritySettings extends Component { type={inputTypes.SELECT} name="authenticationMethod" values={authenticationMethodOptions} - helpText="Require Username and Password to access Lidarr" + helpText="Require Username and Password to access Readarr" helpTextWarning="Requires restart to take effect" onChange={onInputChange} {...authenticationMethod} diff --git a/frontend/src/Settings/General/UpdateSettings.js b/frontend/src/Settings/General/UpdateSettings.js index 590eb9647..201ad97ce 100644 --- a/frontend/src/Settings/General/UpdateSettings.js +++ b/frontend/src/Settings/General/UpdateSettings.js @@ -55,8 +55,8 @@ function UpdateSettings(props) { diff --git a/frontend/src/Settings/ImportLists/ImportLists/AddImportListModalContent.js b/frontend/src/Settings/ImportLists/ImportLists/AddImportListModalContent.js index 04700237f..d5879d043 100644 --- a/frontend/src/Settings/ImportLists/ImportLists/AddImportListModalContent.js +++ b/frontend/src/Settings/ImportLists/ImportLists/AddImportListModalContent.js @@ -50,7 +50,7 @@ class AddImportListModalContent extends Component {
-
Lidarr supports multiple lists for importing Albums and Artists into the database.
+
Readarr supports multiple lists for importing Albums and Artists into the database.
For more information on the individual lists, click on the info buttons.
{ diff --git a/frontend/src/Settings/ImportLists/ImportLists/EditImportListModalContent.js b/frontend/src/Settings/ImportLists/ImportLists/EditImportListModalContent.js index 401f71d61..d348b2ca1 100644 --- a/frontend/src/Settings/ImportLists/ImportLists/EditImportListModalContent.js +++ b/frontend/src/Settings/ImportLists/ImportLists/EditImportListModalContent.js @@ -115,7 +115,7 @@ function EditImportListModalContent(props) { @@ -186,7 +186,7 @@ function EditImportListModalContent(props) { - Lidarr Tags + Readarr Tags -
Lidarr supports any indexer that uses the Newznab standard, as well as other indexers listed below.
+
Readarr supports any indexer that uses the Newznab standard, as well as other indexers listed below.
For more information on the individual indexers, click on the info buttons.
diff --git a/frontend/src/Settings/Indexers/Indexers/EditIndexerModalContent.js b/frontend/src/Settings/Indexers/Indexers/EditIndexerModalContent.js index e2621e57f..218507a65 100644 --- a/frontend/src/Settings/Indexers/Indexers/EditIndexerModalContent.js +++ b/frontend/src/Settings/Indexers/Indexers/EditIndexerModalContent.js @@ -95,7 +95,7 @@ function EditIndexerModalContent(props) { diff --git a/frontend/src/Settings/MediaManagement/MediaManagement.js b/frontend/src/Settings/MediaManagement/MediaManagement.js index f3dcfedf5..11e4fea89 100644 --- a/frontend/src/Settings/MediaManagement/MediaManagement.js +++ b/frontend/src/Settings/MediaManagement/MediaManagement.js @@ -140,7 +140,7 @@ class MediaManagement extends Component { @@ -175,7 +175,7 @@ class MediaManagement extends Component { type={inputTypes.CHECK} name="copyUsingHardlinks" helpText="Use Hardlinks when trying to copy files from torrents that are still being seeded" - helpTextWarning="Occasionally, file locks may prevent renaming files that are being seeded. You may temporarily disable seeding and use Lidarr's rename function as a work around." + helpTextWarning="Occasionally, file locks may prevent renaming files that are being seeded. You may temporarily disable seeding and use Readarr's rename function as a work around." onChange={onInputChange} {...settings.copyUsingHardlinks} /> @@ -225,7 +225,7 @@ class MediaManagement extends Component { @@ -282,7 +282,7 @@ class MediaManagement extends Component { type={inputTypes.SELECT} name="rescanAfterRefresh" helpText="Rescan the artist folder after refreshing the artist" - helpTextWarning="Lidarr will not automatically detect changes to files when not set to 'Always'" + helpTextWarning="Readarr will not automatically detect changes to files when not set to 'Always'" values={rescanAfterRefreshOptions} onChange={onInputChange} {...settings.rescanAfterRefresh} @@ -299,7 +299,7 @@ class MediaManagement extends Component { type={inputTypes.SELECT} name="allowFingerprinting" helpText="Use fingerprinting to improve accuracy of track matching" - helpTextWarning="This requires Lidarr to read parts of the file which will slow down scans and may cause high disk or network activity." + helpTextWarning="This requires Readarr to read parts of the file which will slow down scans and may cause high disk or network activity." values={allowFingerprintingOptions} onChange={onInputChange} {...settings.allowFingerprinting} @@ -386,7 +386,7 @@ class MediaManagement extends Component { @@ -401,7 +401,7 @@ class MediaManagement extends Component { diff --git a/frontend/src/Settings/MediaManagement/RootFolder/EditRootFolderModalContent.js b/frontend/src/Settings/MediaManagement/RootFolder/EditRootFolderModalContent.js index 6b015f8cc..ee664a96b 100644 --- a/frontend/src/Settings/MediaManagement/RootFolder/EditRootFolderModalContent.js +++ b/frontend/src/Settings/MediaManagement/RootFolder/EditRootFolderModalContent.js @@ -156,12 +156,12 @@ function EditRootFolderModalContent(props) {
- Default Lidarr Tags + Default Readarr Tags diff --git a/frontend/src/Settings/Metadata/MetadataProvider/MetadataProvider.js b/frontend/src/Settings/Metadata/MetadataProvider/MetadataProvider.js index f58a8ec49..ee8eb8004 100644 --- a/frontend/src/Settings/Metadata/MetadataProvider/MetadataProvider.js +++ b/frontend/src/Settings/Metadata/MetadataProvider/MetadataProvider.js @@ -54,7 +54,7 @@ function MetadataProvider(props) { type={inputTypes.TEXT} name="metadataSource" helpText="Alternative Metadata Source (Leave blank for default)" - helpLink="https://github.com/Lidarr/Lidarr/wiki/Metadata-Source" + helpLink="https://github.com/Readarr/Readarr/wiki/Metadata-Source" onChange={onInputChange} {...settings.metadataSource} /> @@ -70,7 +70,7 @@ function MetadataProvider(props) { type={inputTypes.SELECT} name="writeAudioTags" helpTextWarning="Selecting 'All files' will alter existing files when they are imported." - helpLink="https://github.com/Lidarr/Lidarr/wiki/Write-Tags" + helpLink="https://github.com/Readarr/Readarr/wiki/Write-Tags" values={writeAudioTagOptions} onChange={onInputChange} {...settings.writeAudioTags} @@ -83,7 +83,7 @@ function MetadataProvider(props) { diff --git a/frontend/src/Settings/Notifications/Notifications/NotificationEventItems.js b/frontend/src/Settings/Notifications/Notifications/NotificationEventItems.js index e79369b92..1ebf12c67 100644 --- a/frontend/src/Settings/Notifications/Notifications/NotificationEventItems.js +++ b/frontend/src/Settings/Notifications/Notifications/NotificationEventItems.js @@ -39,7 +39,7 @@ function NotificationEventItems(props) {
diff --git a/frontend/src/Settings/Profiles/Quality/EditQualityProfileModalContent.js b/frontend/src/Settings/Profiles/Quality/EditQualityProfileModalContent.js index b967b27e9..655ceef83 100644 --- a/frontend/src/Settings/Profiles/Quality/EditQualityProfileModalContent.js +++ b/frontend/src/Settings/Profiles/Quality/EditQualityProfileModalContent.js @@ -182,7 +182,7 @@ class EditQualityProfileModalContent extends Component { name="cutoff" {...cutoff} values={qualities} - helpText="Once this quality is reached Lidarr will no longer download albums" + helpText="Once this quality is reached Readarr will no longer download albums" onChange={onCutoffChange} /> diff --git a/frontend/src/Settings/Tags/Tags.js b/frontend/src/Settings/Tags/Tags.js index 8aed3c0a9..98a9d75f2 100644 --- a/frontend/src/Settings/Tags/Tags.js +++ b/frontend/src/Settings/Tags/Tags.js @@ -14,7 +14,7 @@ function Tags(props) { if (!items.length) { return ( -
No tags have been added yet. Add tags to link artists with delay profiles, restrictions, or notifications. Click here to find out more about tags in Lidarr.
+
No tags have been added yet. Add tags to link artists with delay profiles, restrictions, or notifications. Click here to find out more about tags in Readarr.
); } diff --git a/frontend/src/Shared/piwikCheck.js b/frontend/src/Shared/piwikCheck.js index 9fcc84361..067f84b29 100644 --- a/frontend/src/Shared/piwikCheck.js +++ b/frontend/src/Shared/piwikCheck.js @@ -1,4 +1,4 @@ -if (window.Lidarr.analytics) { +if (window.Readarr.analytics) { const d = document; const g = d.createElement('script'); const s = d.getElementsByTagName('script')[0]; diff --git a/frontend/src/Store/Actions/appActions.js b/frontend/src/Store/Actions/appActions.js index b4b84a455..dc70053f0 100644 --- a/frontend/src/Store/Actions/appActions.js +++ b/frontend/src/Store/Actions/appActions.js @@ -31,7 +31,7 @@ export const defaultState = { messages: { items: [] }, - version: window.Lidarr.version, + version: window.Readarr.version, isUpdated: false, isConnected: true, isReconnecting: false, diff --git a/frontend/src/Store/Actions/oAuthActions.js b/frontend/src/Store/Actions/oAuthActions.js index 07ada4a90..8aae7c71b 100644 --- a/frontend/src/Store/Actions/oAuthActions.js +++ b/frontend/src/Store/Actions/oAuthActions.js @@ -13,7 +13,7 @@ import createHandleActions from './Creators/createHandleActions'; // Variables export const section = 'oAuth'; -const callbackUrl = `${window.location.origin}${window.Lidarr.urlBase}/oauth.html`; +const callbackUrl = `${window.location.origin}${window.Readarr.urlBase}/oauth.html`; // // State diff --git a/frontend/src/Store/Middleware/createPersistState.js b/frontend/src/Store/Middleware/createPersistState.js index 407044d56..c034a3ea3 100644 --- a/frontend/src/Store/Middleware/createPersistState.js +++ b/frontend/src/Store/Middleware/createPersistState.js @@ -88,7 +88,7 @@ const config = { slicer, serialize, merge, - key: 'lidarr' + key: 'readarr' }; export default function createPersistState() { diff --git a/frontend/src/Store/Middleware/createSentryMiddleware.js b/frontend/src/Store/Middleware/createSentryMiddleware.js index c9fad5979..f054e95c9 100644 --- a/frontend/src/Store/Middleware/createSentryMiddleware.js +++ b/frontend/src/Store/Middleware/createSentryMiddleware.js @@ -37,7 +37,7 @@ function identity(stuff) { function stripUrlBase(frame) { if (frame.filename && window.Radarr.urlBase) { - frame.filename = frame.filename.replace(window.Lidarr.urlBase, ''); + frame.filename = frame.filename.replace(window.Readarr.urlBase, ''); } return frame; } @@ -74,14 +74,14 @@ export default function createSentryMiddleware() { release, userHash, isProduction - } = window.Lidarr; + } = window.Readarr; if (!analytics) { return; } - const dsn = isProduction ? 'https://3639f9e2e2ae4872846b1c30d3122106@sentry.radarr.video/12' : - 'https://099b1f21a5794acebd3160859035bda7@sentry.radarr.video/14'; + const dsn = isProduction ? 'https://c2c8e08845994dbfb7eddb158b408172@sentry.radarr.video/18' : + 'https://c2c8e08845994dbfb7eddb158b408172@sentry.radarr.video/18'; sentry.init({ dsn, diff --git a/frontend/src/Styles/Variables/colors.js b/frontend/src/Styles/Variables/colors.js index b16d7b00f..ef4745f6a 100644 --- a/frontend/src/Styles/Variables/colors.js +++ b/frontend/src/Styles/Variables/colors.js @@ -1,4 +1,4 @@ -const lidarrGreen = '#00A65B'; +const readarrGreen = '#00A65B'; module.exports = { textColor: '#515253', @@ -15,10 +15,10 @@ module.exports = { successColor: '#27c24c', dangerColor: '#f05050', warningColor: '#ffa500', - infoColor: lidarrGreen, + infoColor: readarrGreen, purple: '#7a43b6', pink: '#ff69b4', - lidarrGreen, + readarrGreen, helpTextColor: '#909293', darkGray: '#888', gray: '#adadad', @@ -27,7 +27,7 @@ module.exports = { // Theme Colors - themeBlue: lidarrGreen, + themeBlue: readarrGreen, themeAlternateBlue: '#00a65b', themeRed: '#c4273c', themeDarkColor: '#353535', diff --git a/frontend/src/System/Backup/BackupRow.js b/frontend/src/System/Backup/BackupRow.js index 82113490e..578d5a018 100644 --- a/frontend/src/System/Backup/BackupRow.js +++ b/frontend/src/System/Backup/BackupRow.js @@ -96,7 +96,7 @@ class BackupRow extends Component { {name} diff --git a/frontend/src/System/Backup/RestoreBackupModalContent.js b/frontend/src/System/Backup/RestoreBackupModalContent.js index 07dbde1c6..62db3e62c 100644 --- a/frontend/src/System/Backup/RestoreBackupModalContent.js +++ b/frontend/src/System/Backup/RestoreBackupModalContent.js @@ -196,7 +196,7 @@ class RestoreBackupModalContent extends Component {
- Note: Lidarr will automatically restart and reload the UI during the restore process. + Note: Readarr will automatically restart and reload the UI during the restore process.
- This cannot be cancelled once started without restarting Lidarr. + This cannot be cancelled once started without restarting Readarr.
} diff --git a/frontend/src/Wanted/Missing/Missing.js b/frontend/src/Wanted/Missing/Missing.js index 56850b67b..78de231a6 100644 --- a/frontend/src/Wanted/Missing/Missing.js +++ b/frontend/src/Wanted/Missing/Missing.js @@ -257,7 +257,7 @@ class Missing extends Component { Are you sure you want to search for all {totalRecords} missing albums?
- This cannot be cancelled once started without restarting Lidarr. + This cannot be cancelled once started without restarting Readarr.
} diff --git a/frontend/src/index.html b/frontend/src/index.html index de11afe3d..141ba046f 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -11,7 +11,7 @@ - + - Lidarr + Readarr - + - Login - Lidarr + Login - Readarr