A playlist (and shortcut) of italian IPTVs for IINA

IPTV made simple

Posted by Giulio Magnifico on Friday, July 8, 2022

When I’m working at the Mac I always want to listen/whatch something in background, and usually I want to listen news and informations about the world (not music) in order to be always informed, so my favourite TV channels became: Rai New 24, Sky TG24, La 7. But since I needed a way to listen/watch via internet, I created a simply playlist for the great IINA app for Mac:

IINA TV Copy-paste this code, save it as “TV.m3u8” and open with IINA. But there’s a catch in order to view the SkyTG24 channel, read below (because this URL doesn’t work as you can see)

#EXTINF: -1 ,Rai News 24 [48] 
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1&output=16
#EXTINF: -1,Sky TG24  [50] 
https://hlslive-web-gcdn-skycdn-it.akamaized.net/TACT/12221/web/master.m3u8?----yourID----
#EXTINF: -1, La 7 [7]
https://d15umi5iaezxgx.cloudfront.net/LA7/CLN/HLS-B/Live_1280x720_.m3u8

#EXTINF:-1 tvg-name="Rai 1" [1] 
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=16
#EXTINF:-1 tvg-name="Rai 2" [2] 
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&output=16
#EXTINF:-1 tvg-name="Rai 3" [3] 
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308709&output=16

#EXTINF:-1 tvg-name="Rai 4" 
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746966&output=16
#EXTINF:-1 tvg-name="Iris" 
https://live2-mediaset-it.akamaized.net/content/hls_h0_clr_vos/live/channel(ki)/index.m3u8
#EXTINF:-1 tvg-name="Rai 5" 
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=395276&output=16
#EXTINF:-1 tvg-name="Rai Movie"
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=747002&output=16
#EXTINF:-1 tvg-name="Rai Premium" 
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746992&output=16

#EXTINF:-1,VIRGIN RADIO [257] 
#EXTVLCOPT:http-user-agent=Mozilla/5.0
https://live2-radio-mediaset-it.akamaized.net/content/hls_h0_clr_vos/live/channel(ew)/index.m3u8
#EXTINF:-1,RADIOFRECCIA [258] 
https://dd782ed59e2a4e86aabf6fc508674b59.msvdn.net/live/S3160845/0tuSetc8UFkF/playlist_video.m3u8
#EXTINF: -1, Rete 4 [4]
https://live2.msf.cdn.mediaset.net/content/hls_h0_clr_vos/live/channel(r4)/index.m3u8
#EXTINF: -1, Canale 5 [5]
https://live2.msf.cdn.mediaset.net/content/hls_h0_clr_vos/live/channel(c5)/index.m3u8
#EXTINF: -1, Italia 1 [6]
https://live2.msf.cdn.mediaset.net/content/hls_h0_clr_vos/live/channel(i1)/index.m3u8

Since Sky TG24 generates a univoque ID for every session, you need a workaround to view it: Open this url in your browser: https://apid.sky.it/vdp/v1/getLivestream?id=1 &isMobile=false/?id=1 and it will generate your univoque ID:

SkyTG24 ID

Now you have to copy it and insert into the m3u8 playlist, the url in this case is: https://hlslive-web-gcdn-skycdn-it.akamaized.net/TACT/12221/web/master.m3u8?hdnea=st=1639498341~exp=1702463400~acl=/*~hmac=c3c4c2de19ff0df4b4bb20587ce59af5232eadab2995f445b7506525413805dd

And insert it in the URL below the La7 channel:

#EXTINF: -1 tvg-chno="50" tvg-name="Sky TG24" , Sky TG24
https://hlslive-web-gcdn-skycdn-it.akamaized.net/TACT/12221/web/master.m3u8?hdnea=st=1639498341~exp=1702463400~acl=/*~hmac=c3c4c2de19ff0df4b4bb20587ce59af5232eadab2995f445b7506525413805dd

Now you will be able to watch SkyTG24 Sky TG24

With IINA you can use the shortcut command-shift-p to open the channel list and command-right/left arrow to change the channels.

Final tip: you can also creates macOS shortcut to launch it with a keystroke, for example I use this:

Shortcut IINA

Then enable this shortcut in your favourite app launcher, I use Raycast with command-backslash to quick open it and view the TV on my Mac:

Raycast launcher

Let me know if this is useful and buona informazione!