I have an m3u file on my Windows laptop that I wanted to import. My NextPVR server is on a Linux machine. When I tried to import the file I entered "file:///D:/RMS/Downloads/hls.m3u" in the url field in settings. However, nothing happened. When I copied the file directly to my Linux server and enter the Linux file path then it works.
Here is a snippet of code. It looks like NextPVR is looking for the file in the wrong place.
Here is the full log.
Here is a snippet of code. It looks like NextPVR is looking for the file in the wrong place.
Code:
2022-02-17 18:34:30.591 [DEBUG][105] Downloading m3u [i6RRxv1ZsS7cm2gbrTAgk3GQOqIbHapIkeLgbODmZXTs6o5lp2IB0xccSYyeLw6dbxLHFll98SHxyJ0JYTl99rUvBLcrRxBBFyEGpDbn9g45FOlLmbUeMQJT+UMxeIIKCjorlB/Zd+A7fLrHBO/JPUX1rpvkb3cHgG7K6wFNFYavIf0ENWY4M/LcXvLQaEsYRQttq1HCjZfRPbXYHTpkRmXNUTK3K3SdTRcqBNVPfAXbSMODGE9+GqKPAzEB5dE/f94JupPxQHPjvBy6xHVhWpMPHp5XZ5hzc+7aORxZwgzObS2dXUIUqIWdti/w08CHafs8wJSSblYl+RfDHl2OxR90h2BXbsFavocghng7tajp42+p0sxKxw9vilzA1adrC1Umg4/8mpEQ/GSsj1SZlA==]
2022-02-17 18:34:30.592 [DEBUG][105] Failed to download channel list: System.IO.FileNotFoundException: Could not find file '/opt/nextpvr/system/D:\RMS\Downloads\hls.m3u8'.
File name: '/opt/nextpvr/system/D:\RMS\Downloads\hls.m3u8'
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
at System.IO.File.InternalReadAllText(String path, Encoding encoding)
at NShared.Recorders.IPTVScanner.WorkerThread()
Here is the full log.