mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-27 18:10:54 +01:00
Fix EPG issues
This commit is contained in:
@@ -37,6 +37,12 @@ public interface ITunerHostManager
|
||||
/// <returns>The <see cref="TunerHostInfo"/>s.</returns>
|
||||
IAsyncEnumerable<TunerHostInfo> DiscoverTuners(bool newDevicesOnly);
|
||||
|
||||
/// <summary>
|
||||
/// Deletes a tuner host by id, cleans up associated caches, and triggers a guide refresh.
|
||||
/// </summary>
|
||||
/// <param name="id">The tuner host id to delete.</param>
|
||||
void DeleteTunerHost(string? id);
|
||||
|
||||
/// <summary>
|
||||
/// Scans for tuner devices that have changed URLs.
|
||||
/// </summary>
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
{
|
||||
if (double.TryParse(Number, CultureInfo.InvariantCulture, out double number))
|
||||
{
|
||||
return string.Format(CultureInfo.InvariantCulture, "{0:00000.0}", number) + "-" + (Name ?? string.Empty);
|
||||
return string.Format(CultureInfo.InvariantCulture, "{0:0000000000.00000}", number) + "-" + (Name ?? string.Empty);
|
||||
}
|
||||
|
||||
return (Number ?? string.Empty) + "-" + (Name ?? string.Empty);
|
||||
|
||||
Reference in New Issue
Block a user