SenexCrenshaw / StreamMaster

MIT License
159 stars 20 forks source link

Bug: Import xmltv doesnt show up #203

Open shaike1 opened 5 months ago

shaike1 commented 5 months ago

Describe the Bug import xmltv.gz from provider loaded but not shown

Stream Master Info

Link to logs (required)

x1ao4 commented 4 months ago

Same here.

ardoviniandrea commented 4 months ago

Same here I am on docker 0.8.1 and I cannot add any EPG/XML file. The UI seems to load correctly until the point of displaying "Uploaded EPG", but actually never save or store it.

ardoviniandrea commented 4 months ago

This seems to be fixed on 0.10.1.0

litio2001 commented 2 months ago

I have the same problem, I have tried with different XML/GZ format guides (compressed) according to the docker log:

Exception EPG From Form System.FormatException: String '2024040830000 +0000' was not recognized as a valid DateTime.

The version in docker is 0.14.4.0

pixel24 commented 2 months ago

have a similar or the same issue. I place my XMLTV file in the directory: config/PlayLists/EPG/. When I start SM, I see the log:

fail: StreamMaster.Infrastructure.Services.QueueService.QueuedHostedService[0]
      Error occurred executing task work item. ScanDirectoryForEPGFiles
      System.FormatException: The input string ' 100%' was not in a correct format.
         at System.Number.ThrowFormatException[TChar](ReadOnlySpan`1 value)
         at System.Int32.Parse(String s)
         at System.Linq.Enumerable.SelectArrayIterator`2.Fill(ReadOnlySpan`1 source, Span`1 destination, Func`2 func)
         at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
         at StreamMaster.Domain.Color.ColorHelper.GetColorHex(Int32 index) in /src/StreamMaster.Domain/Color/ColorHelper.cs:line 8
         at StreamMaster.Application.EPGFiles.Commands.ScanDirectoryForEPGFilesRequestHandler.CreateOrUpdateEPGFile(FileInfo epgFileInfo) in /src/StreamMaster.Application/EPGFiles/Commands/ScanDirectoryForEPGsRequest.cs:line 80
         at StreamMaster.Application.EPGFiles.Commands.ScanDirectoryForEPGFilesRequestHandler.ProcessEPGFile(FileInfo epgFileInfo, CancellationToken cancellationToken) in /src/StreamMaster.Application/EPGFiles/Commands/ScanDirectoryForEPGsRequest.cs:line 46
         at StreamMaster.Application.EPGFiles.Commands.ScanDirectoryForEPGFilesRequestHandler.Handle(ScanDirectoryForEPGFilesRequest command, CancellationToken cancellationToken) in /src/StreamMaster.Application/EPGFiles/Commands/ScanDirectoryForEPGsRequest.cs:line 19
         at StreamMaster.Application.Common.Behaviours.PerformanceBehaviour`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken) in /src/StreamMaster.Application/Common/Behaviours/PerformanceBehaviour.cs:line 37
         at StreamMaster.Infrastructure.Services.QueueService.QueuedHostedService.ProcessTaskQueueAsync(CancellationToken cancellationToken) in /src/StreamMaster.Infrastructure/Services/QueueService/QueuedHostedService.cs:line 110

When I upload the exact same file via the WebUI, it works.