mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Cleaning up more the standard output
This commit is contained in:
parent
e100bb49d8
commit
634023834a
@ -104,7 +104,7 @@ namespace Kyoo.Controllers
|
||||
bool episodeSucess = long.TryParse(match.Groups["Episode"].Value, out long episodeNumber);
|
||||
long absoluteNumber = -1;
|
||||
|
||||
Console.WriteLine("&Registering episode at: " + path);
|
||||
Console.WriteLine("Registering episode at: " + path);
|
||||
if (!seasonSuccess || !episodeSucess)
|
||||
{
|
||||
//Considering that the episode is using absolute path.
|
||||
|
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using Kyoo.Models;
|
||||
using Kyoo.Models.Watch;
|
||||
@ -59,7 +60,7 @@ namespace Kyoo.Controllers.TranscoderLink
|
||||
tracks = new Track[0];
|
||||
|
||||
free(ptr);
|
||||
Console.WriteLine(tracks.Length + " tracks got at: " + path);
|
||||
Console.WriteLine($"\t {tracks.Length} non subtitles tracks got at: {path}");
|
||||
}
|
||||
|
||||
public static void ExtractSubtitles(string path, string outPath, out Track[] tracks)
|
||||
@ -85,10 +86,10 @@ namespace Kyoo.Controllers.TranscoderLink
|
||||
}
|
||||
}
|
||||
else
|
||||
tracks = null;
|
||||
tracks = new Track[0];
|
||||
|
||||
free(ptr);
|
||||
Console.WriteLine("&" + tracks?.Length + " tracks got at: " + path);
|
||||
Console.WriteLine($"\t{tracks.Count(x => x.Type == StreamType.Subtitle)} subtitles got at: {path}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user