mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-04 03:27:14 -05:00 
			
		
		
		
	Fixing regexs for windows
This commit is contained in:
		
							parent
							
								
									b00ce6e585
								
							
						
					
					
						commit
						79a2cd810b
					
				@ -1 +1 @@
 | 
				
			|||||||
Subproject commit 75b49dcd25aed20eda7454faa4bc016a12c51680
 | 
					Subproject commit 3315700b84e8aaa8cd66edcd35257ec06bff5efc
 | 
				
			||||||
@ -65,6 +65,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	<Target Name="SymlinkViews" AfterTargets="Build" Condition="'$(SkipWebApp)' != 'true' And $(Configuration) == 'Debug'">
 | 
						<Target Name="SymlinkViews" AfterTargets="Build" Condition="'$(SkipWebApp)' != 'true' And $(Configuration) == 'Debug'">
 | 
				
			||||||
		<Exec WorkingDirectory="$(ProjectDir)../Kyoo" Command="ln -fs '$(ProjectDir)' $(OutDir)" Condition="$(OS) == 'Unix'" />
 | 
							<Exec WorkingDirectory="$(ProjectDir)../Kyoo" Command="ln -fs '$(ProjectDir)' $(OutDir)" Condition="$(OS) == 'Unix'" />
 | 
				
			||||||
		<Exec WorkingDirectory="$(ProjectDir)../Kyoo" Command="mklink /D '$(OutDir)$(ProjectName)' '$(ProjectDir)'" Condition="$(OS) != 'Unix'" />
 | 
							<Exec WorkingDirectory="$(ProjectDir)../Kyoo" Command="if not exist  %22$(OutDir)$(ProjectName)%22 mklink /D %22$(OutDir)$(ProjectName)%22 %22$(ProjectDir)%22" Condition="$(OS) != 'Unix'" />
 | 
				
			||||||
	</Target>
 | 
						</Target>
 | 
				
			||||||
</Project>
 | 
					</Project>
 | 
				
			||||||
 | 
				
			|||||||
@ -35,7 +35,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	<ItemGroup>
 | 
						<ItemGroup>
 | 
				
			||||||
		<ProjectReference Include="../Kyoo.Abstractions/Kyoo.Abstractions.csproj" />
 | 
							<ProjectReference Include="../Kyoo.Abstractions/Kyoo.Abstractions.csproj" />
 | 
				
			||||||
		<ProjectReference Include="..\Kyoo.Database\Kyoo.Database.csproj" />
 | 
							<ProjectReference Include="../Kyoo.Database/Kyoo.Database.csproj" />
 | 
				
			||||||
		<ProjectReference Include="../Kyoo.TheMovieDb/Kyoo.TheMovieDb.csproj" />
 | 
							<ProjectReference Include="../Kyoo.TheMovieDb/Kyoo.TheMovieDb.csproj" />
 | 
				
			||||||
		<ProjectReference Include="../Kyoo.TheTvdb/Kyoo.TheTvdb.csproj" />
 | 
							<ProjectReference Include="../Kyoo.TheTvdb/Kyoo.TheTvdb.csproj" />
 | 
				
			||||||
		<ProjectReference Include="../Kyoo.Postgresql/Kyoo.Postgresql.csproj" />
 | 
							<ProjectReference Include="../Kyoo.Postgresql/Kyoo.Postgresql.csproj" />
 | 
				
			||||||
 | 
				
			|||||||
@ -48,9 +48,9 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  "media": {
 | 
					  "media": {
 | 
				
			||||||
    "regex": [
 | 
					    "regex": [
 | 
				
			||||||
      "^\\/?(?<Collection>.+)?\\/(?<Show>.+?)(?: \\((?<StartYear>\\d+)\\))?\\/\\k<Show>(?: \\(\\d+\\))? S(?<Season>\\d+)E(?<Episode>\\d+)\\..*$",
 | 
					      "^[\\/\\\\]*(?<Collection>.+)?[\\/\\\\]+(?<Show>.+?)(?: \\((?<StartYear>\\d+)\\))?[\\/\\\\]+\\k<Show>(?: \\(\\d+\\))? S(?<Season>\\d+)E(?<Episode>\\d+)\\..*$",
 | 
				
			||||||
      "^\\/?(?<Collection>.+)?\\/(?<Show>.+?)(?: \\((?<StartYear>\\d+)\\))?\\/\\k<Show>(?: \\(\\d+\\))? (?<Absolute>\\d+)\\..*$",
 | 
					      "^[\\/\\\\]*(?<Collection>.+)?[\\/\\\\]+(?<Show>.+?)(?: \\((?<StartYear>\\d+)\\))?[\\/\\\\]+\\k<Show>(?: \\(\\d+\\))? (?<Absolute>\\d+)\\..*$",
 | 
				
			||||||
      "^\\/?(?<Collection>.+)?\\/(?<Show>.+?)(?: \\((?<StartYear>\\d+)\\))?\\/\\k<Show>(?: \\(\\d+\\))?\\..*$"
 | 
					      "^[\\/\\\\]*(?<Collection>.+)?[\\/\\\\]+(?<Show>.+?)(?: \\((?<StartYear>\\d+)\\))?[\\/\\\\]+\\k<Show>(?: \\(\\d+\\))?\\..*$"
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "subtitleRegex": [
 | 
					    "subtitleRegex": [
 | 
				
			||||||
      "^(?<Episode>.+)\\.(?<Language>\\w{1,3})\\.(?<Default>default\\.)?(?<Forced>forced\\.)?.*$"
 | 
					      "^(?<Episode>.+)\\.(?<Language>\\w{1,3})\\.(?<Default>default\\.)?(?<Forced>forced\\.)?.*$"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user