NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
1 2 3 4 5 … 34 Next »
NextPVR can't open RAI (Italian main TV channels) links

 
  • 0 Vote(s) - 0 Average
NextPVR can't open RAI (Italian main TV channels) links
f2fg
Offline

Junior Member

Italy
Posts: 8
Threads: 1
Joined: Sep 2023
#1
2023-09-17, 07:22 PM
Hello, I can't view Rai Italian channels on NextPVR, but I made a test and I can view them with other software (for example they work on Kodi IPTV Simple Client).

An example stream address (Rai 1) is:

http://mediapolis.rai.it/relinker/relink...ozilla/5.0

This is the address of the original web stream:

https://www.raiplay.it/dirette/rai1

Does anybody have any suggestion on how to solve this issue?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2023-09-17, 07:24 PM
I can't open that stream. It's geo locked.

Post your logs though and I'll see if anything stands out.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#3
2023-09-17, 07:35 PM
Maybe share the Kodi debug log too.

Martin
f2fg
Offline

Junior Member

Italy
Posts: 8
Threads: 1
Joined: Sep 2023
#4
2023-09-18, 10:55 AM (This post was last modified: 2023-09-18, 10:56 AM by f2fg.)
(2023-09-17, 07:24 PM)sub Wrote: I can't open that stream. It's geo locked.

Post your logs though and I'll see if anything stands out.

Here you have the log, I just edited the IP address of the client with XX.YY.ZZ.GG, the rest is untouched.

Thank you very much for your help. I'll try to get the log from a working Kodi machine ASAP.


Attached Files
.zip   rai_italy_nextpvr_log.zip (Size: 14.05 KB / Downloads: 2)
f2fg
Offline

Junior Member

Italy
Posts: 8
Threads: 1
Joined: Sep 2023
#5
2023-09-18, 11:13 AM (This post was last modified: 2023-09-18, 11:15 AM by f2fg.)
(2023-09-17, 07:35 PM)mvallevand Wrote: Maybe share the Kodi debug log too.

Martin

Thank you Martin, this is the log from Kodi while streaming the channel correctly with IPTV Simple Client.


Attached Files
.zip   rai_italy_kodi_log.zip (Size: 8.61 KB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#6
2023-09-18, 12:37 PM (This post was last modified: 2023-09-18, 01:04 PM by mvallevand.)
NextPVR can't directly deal with split audio and video feeds and I don't think it passes the required user-agent forward to ffmpeg

You might want to ask if ciccio ever succeeded here https://forums.nextpvr.com/showthread.ph...pid=573496 I think the extra will be something like

Code:
<extras>
  <channel name="RAI">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&amp;output=16 -codec copy -f mpegts -</args>
  </channel>
</extras>

Edit I changed the extra to make it work on Linux

If not I would probably need to see the Kodi debug logs

Extras are discussed here https://github.com/sub3/NextPVR/wiki/Extras

Martin
f2fg
Offline

Junior Member

Italy
Posts: 8
Threads: 1
Joined: Sep 2023
#7
2023-09-18, 01:26 PM (This post was last modified: 2023-09-18, 01:27 PM by f2fg.)
Thank you Martin. I can't find where I should create/edit the extras-fm.xml on Ubuntu, then I should be able to experiment.

I forgot to mention that everything was working until a few days ago, I think they changed something in the way the link redirects.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#8
2023-09-18, 01:48 PM (This post was last modified: 2023-09-18, 01:48 PM by mvallevand.)
They may require headers now, in that previous example for ciccio they didn't

extras-rai.xml would go in /var/opt/nextpvr/ with the deb installer. You can add multiple channel block in there for the different cont= value RAI allow. I tested cont=1 the news channel since it isn't geo-blocked.

Martin
f2fg
Offline

Junior Member

Italy
Posts: 8
Threads: 1
Joined: Sep 2023
#9
2023-09-18, 01:59 PM
It works Martin! Let me test a few things and I'll come back with a full config for future reference. Thank you very much for your time!
f2fg
Offline

Junior Member

Italy
Posts: 8
Threads: 1
Joined: Sep 2023
#10
2023-09-18, 04:23 PM (This post was last modified: 2023-10-13, 04:35 PM by f2fg.)
Thank you for your help, extras are great! All the Rai channels work perfectly.

This is the full content of my /var/opt/nextpvr/extras-rai.xml file:


Code:
<extras>
  <channel name="Rai 1">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 2">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 3">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308709&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 4">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746966&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai 5">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=395276&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Movie">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=747002&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Premium">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746992&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai News 24">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Storia">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746990&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
   <channel name="Rai Scuola">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=747011&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
  <channel name="Rai Sport">
    <command>ffmpeg</command>
    <args>-user_agent "Mozilla/5.0" -http_seekable 0 -i  https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358025&amp;output=16 -codec copy -f mpegts - </args>
  </channel>
</extras>
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 1 86 2025-07-03, 12:12 AM
Last Post: mvallevand
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 0 55 2025-07-03, 12:02 AM
Last Post: Siftingice
  NextPVR on Ubuntu 24.04 Server Running, Web interface not so much JeffH 15 572 2025-06-11, 05:43 PM
Last Post: mvallevand
  No DVB-T channels found Steu851 3 502 2025-05-03, 04:37 PM
Last Post: Steu851
  Server crash changing channels VCR58 7 826 2025-03-27, 03:17 PM
Last Post: VCR58
  Guide data issue using NextPVR in a Proxmox LXC njc 10 1,318 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 691 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 2,123 2025-02-04, 05:23 PM
Last Post: mvallevand
  complete scanning of channels not possible evil666 84 4,976 2024-12-21, 05:58 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 1,147 2024-12-20, 03:23 AM
Last Post: ballfam

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

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

Linear Mode
Threaded Mode