NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 5 6 7 8 9 … 34 Next »
IPTV device - reloading M3U

 
  • 0 Vote(s) - 0 Average
IPTV device - reloading M3U
amirlsm
Offline

Junior Member

Israel
Posts: 3
Threads: 1
Joined: Sep 2020
#1
2020-09-08, 03:37 PM
My IPTV provider frequently updates his M3U file, adding and removing channels and changing group assignment. All my IPTV client apps that download the m3U directly from the source (not via NPVR) get the new M3U and display the updated channel lists.

However, my NextPVR Linus server keeps providing the old saved channel list to all NPVR clients.  

The "Update M3U" button in the web administration console (at: localhost:8866/settings.html) does not seem to work. It opens a big black window but is not updating the channels.

If I add a second IPTV device with the same source it downloads the current m3u  and xmltv files but the channels are added to the existing ones. I can merge the files but what I'm looking for is an automatic refresh of the m3u file and sources, just like the timed refresh of the TV guide.


  1. Is there a linux command to force NPVR to reload m3u url's?
  2. What is the frequency of IPTV device source refresh?
  3. Is there a built-in timed refresh (for example every 24 hours)?
  4. If the only way is to add a new source, download the M3U file and auto merge the channels - will the old recording timers stay on and record from the correct chanels?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#2
2020-09-08, 03:56 PM (This post was last modified: 2020-09-08, 04:22 PM by mvallevand.)
If you are loading unmanaged lists consider a better provider or an app like xteve.  Static url's are much better for NextPVR.  1000's of channels in a PVR app is probably a bad idea too.

The command to update the list is

Code:
dotnet NScriptHelper.dll -service:setting.m3u.update

You do need this for linux too https://forums.nextpvr.com/showthread.ph...#pid532393  If you follow that thread sub may not have fixed the command but you can let us know.

I would probably issue this as part of the UpdateEPG logic which by default is daily but you pick hours .  Read the wiki on this.

The logic should update URL's if the id stays the same and add new one.  If the ID is ok the rule is ok and all channel rule should still also work but new stations won't have any EPG so really don't expect much there.

Martin
amirlsm
Offline

Junior Member

Israel
Posts: 3
Threads: 1
Joined: Sep 2020
#3
2020-09-08, 04:25 PM
Than you for the quick reply. I will try it (Currently changing the IPTV supplier is not an option).

Does the system delete all recording timers when I manually delete the channel list?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#4
2020-09-08, 04:36 PM
No but I am not sure how sub deal with channel id changes on a new channel list. You might need to import the recurring-backup.xml file.

Martin
amirlsm
Offline

Junior Member

Israel
Posts: 3
Threads: 1
Joined: Sep 2020
#5
2020-09-08, 04:40 PM
Thanks
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#6
2020-09-09, 04:24 AM
Actually it doesn't delete channels - it only ever adds new channels, since I didn't want people complaining to me that they can't find their channel or their recordings etc. Instead, you'll get a failed recording, with an error about connecting to the specified channel.

I could look into adding an option on this command in the future, which tells it to also delete channels that no longer exist.
Code:
dotnet NScriptHelper.dll -service:setting.m3u.update
Paulraysmith
Offline

Junior Member

UK
Posts: 1
Threads: 0
Joined: Sep 2020
#7
2020-09-20, 06:43 PM
(2020-09-09, 04:24 AM)sub Wrote: Actually it doesn't delete channels - it only ever adds new channels, since I didn't want people complaining to me that they can't find their channel or their recordings etc. Instead, you'll get a failed recording, with an error about connecting to the specified channel.

I could look into adding an option on this command in the future, which tells it to also delete channels that no longer exist.
Code:
dotnet NScriptHelper.dll -service:setting.m3u.update

I’m looking for this feature also as my iptv provider consistently changes their channels and I’m having to delete all & then reset up again
wheemer
Offline

Junior Member

Canada
Posts: 22
Threads: 6
Joined: Sep 2020
#8
2020-09-26, 04:01 AM
A sync feature would be really nice here. I notice the same issue where channels can come and go from my provider.
jleonard711
Offline

Junior Member

USA
Posts: 8
Threads: 1
Joined: Sep 2020
#9
2020-09-27, 03:40 PM
(2020-09-26, 04:01 AM)wheemer Wrote: A sync feature would be really nice here. I notice the same issue where channels can come and go from my provider.

I agree 100%! The major issue is with live events where a dedicated channel is constantly changing names for each event, i.e. NFL/MLB/NBA/NHL channels, PPV, etc. As long as someone is using an M3U editor of some sort before the list is imported (xTeVe, m3u4u, etc) then there shouldn't be any issues with updating the M3U daily, which not only adds the new channels/updates names but also deletes channels that no longer exist (whether removed by the provider, removed with the external M3U editor, etc).
mrnobody
Offline

Junior Member

България
Posts: 10
Threads: 0
Joined: Jul 2023
#10
2023-07-26, 12:22 PM (This post was last modified: 2023-07-26, 12:27 PM by mrnobody.)
Hello!
I'm very new in this.
I'm use Ubuntu 22.04.
I would like to make script to update m3u every 15 minutes.
On this command:

Code:
dotnet /opt/nextpvr/system/NScriptHelper.dll -service:setting.m3u.update


I'm got this:

Quote:Command 'dotnet' not found, but can be installed with:
sudo snap install dotnet-sdk      # version 7.0.306, or
sudo apt  install dotnet-host      # version 6.0.120-0ubuntu1~22.04.1
sudo apt  install dotnet-host-7.0  # version 7.0.109-0ubuntu1~22.04.1
See 'snap info dotnet-sdk' for additional versions.

What I should install to execute the command?

Also in             
Quote:/opt/nextpvr/system/NScriptHelper.runtimeconfig.json

I have:

Quote:{
  "runtimeOptions": {
    "tfm": "net6.0",
    "framework": {
      "name": "Microsoft.NETCore.App",
      "version": "6.0.0"
    },
    "configProperties": {
      "System.Reflection.Metadata.MetadataUpdater.IsSupported": false
    }
  }
}

 


Do I need to put in it this:
Quote:{
    "runtimeOptions": {
        "framework": {
            "name": "Microsoft.NETCore.App",
            "version": "3.1.0"
        },
        "additionalProbingPaths": [
            "/app/"
        ]
    }
}


Thank you very much!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  IPTV stops often SysAdminZ 17 525 2025-04-08, 01:04 AM
Last Post: mvallevand
  [Failed: No errors, but no data delivered. This is usually because the device failed Bobthegoldfish 3 272 2024-11-29, 12:49 AM
Last Post: mvallevand
  No device listed -- error saving capture source: SQLite Error 1: 'no such column: −1' skrottapple 46 3,902 2024-04-13, 10:27 PM
Last Post: skrottapple
  Adaptec avc-3610 device not listed, but detected by OS tryingtomakeitwork 1 452 2024-04-10, 12:29 PM
Last Post: mvallevand
  Australian IPTV Channel 10 refusing "VLC/2.2.6 LibVLC/2.2.6" header Leigh 1 727 2023-10-23, 11:46 AM
Last Post: mvallevand
  usb device doesn't appear in GUI j_yves 4 829 2023-05-29, 02:56 PM
Last Post: j_yves
  IPTV channels not working after network changes spagio 11 2,264 2022-10-19, 05:41 PM
Last Post: sub
  IPTV Stream 404 from NextPVR unless user-agent is changed bphillips09 4 1,489 2022-10-12, 05:19 AM
Last Post: bphillips09
  Device Scan isn't finding HDHR3-US Smithers 11 2,106 2022-09-27, 09:36 PM
Last Post: sub
  Several IPTV Channels Fail To Play yuljk 13 2,793 2022-07-02, 08:29 PM
Last Post: yuljk

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

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

Linear Mode
Threaded Mode