2021-06-23, 04:28 AM (This post was last modified: 2021-06-23, 04:46 AM by dayvboy.)
In the windows version, I import a local m3u file by specifying it as: c:\temp\temp.m3u. I then have to update npvr.db3 database in c:\users\public\npvr-data. I use DB Browser and a SQL lite script to change "c:\temp\temp.m3u" back into the m3u string given to me by my IPTV provider. But you have to escape any "&" in the string with "&". As a hypothetical example, if the m3u string from my IPTV provider is:
Then my SQL script would look like ... (note the escaped &'s)
UPDATE CHANNEL_MAPPING
SET tuning = REPLACE(tuning,'c:\temp\temp.m3u','https://someiptv.tv:826/get.php?username=12345678&password=24681357&type=m3u_plus&output=mpegts')
WHERE
tuning IS NOT NULL;
Don't worry, it will only update rows containing c:\temp\temp.m3u.
You have to stop the nextpvr service before you run the script. open command prompt as admin and run
C:\Windows\System32\net.exe STOP "NEXTPVR Service" or stop it from the computer management screen.
It would be a good idea to backup npvr.db3 before you run the script as a fallback should things go wrong.
I find it very useful. I get my iptv provider's m3u file, delete thousands of channels that are useless to me and end up only adding the channels I want to watch.