NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Android v
« Previous 1 2 3
Import m3u from file

 
  • 0 Vote(s) - 0 Average
Import m3u from file
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#1
2022-02-18, 02:12 AM (This post was last modified: 2022-02-18, 02:13 AM by VCR58.)
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.
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.


Attached Files
.zip   logs-20220217-1949.zip (Size: 1.26 MB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,103
Threads: 957
Joined: May 2006
#2
2022-02-18, 02:18 AM
It looks like you used a Windows name on linux for the input file.

Try a linux name and for good measure name the playlist m3u not m3u8

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#3
2022-02-18, 02:30 AM
Yes, the file is on my Windows laptop and I'm accessing the Linux NextPVR server settings with the browser from my laptop.

I guess I don't know how I can enter a Linux name to import the file.

Rex
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,103
Threads: 957
Joined: May 2006
#4
2022-02-18, 02:38 AM
Just copy the m3u file to your Linux file system. In a pinch you could put it in the wwwroot folder on Windows and use an http load.

If NextPVR is seeing the file data this could be an enhancement request

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  UIDroid config file Brucek2839 1 869 2023-05-21, 01:31 PM
Last Post: mvallevand
  Media file playback problems mvallevand 6 2,093 2021-10-22, 06:29 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode