Kodi Community Forum

Full Version: m3u + pls inside m3u not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I do my first steps with the IPTV Simple Client. The goal is to get some webradio stations working. I already failed to get it working properly in TV Headend. So IPTV Simple is the next approach.

What I've done:
On my webserver in the LAN I created a VHost to provide a managed m3u and a folder with the channel logos. That's working so far:
Code:
curl webradio.erz
#EXTM3U
#EXTINF:-1 tvg-name="RADIO BOB! BOBs Gothic Rock" group-title="Radio Bob" radio="true" tvg-logo="http://webradio.erz/logos/radiobob-streamicon_gothic-1.png",RADIO BOB! BOBs Gothic Rock
http://streams.radiobob.de/gothic/mp3-192/streams.radiobob.de/
#EXTINF:-1 tvg-name="Bayern 1 Mainfranken" group-title="BR Radio" radio="true" tvg-logo="",Bayern 1 Mainfranken
https://streams.br.de/bayern1main_2.m3u

In Kodi (v18.9 Leia, Libreelec):
Addons -> PVR Clients -> IPTV Simple Client
In Kodi -> PVR -> Radio the 2 channels are shown.

I can play the first channel (Radio Bob). They provide 3 Links:

http://streams.radiobob.de/deathmetal/mp...diobob.de/
http://streams.radiobob.de/deathmetal/mp...e/play.pls
http://streams.radiobob.de/deathmetal/mp...e/play.m3u

I can play all 3 links with mplayer on my Desktop PC. But Kodi accepts only the first one. Also with the 2nd channel (Bayern 1). Kodi doesn't start playing this channel. It works without any problems on my Desktop PC:
Code:
mpv https://streams.br.de/bayern1main_2.m3u

Playing: https://br-br1-mainfranken.cast.addradio.de/br/br1/mainfranken/mp3/mid
 (+) Audio --aid=1 (mp3 2ch 48000Hz)
AO: [pulse] 48000Hz stereo 2ch float
A: 00:00:00 / 00:00:04 (19%) Cache: 3.6s/132KB
File tags:
 icy-title: +++ Maas ist gegen Stopp aller Rüstungsexporte in die Türkei
A: 00:00:03 / 00:00:07 (50%) Cache: 3.6s/130KB


Exiting... (Quit)

What am I doing wrong?
The second stream is an M3U list and not a stream.
(2020-12-22, 19:49)phunkyfish Wrote: [ -> ]The second stream is an M3U list and not a stream.

Yes, I know. That's what I've written in the topic.

For my/your understanding:
In Simple IPTV you need to provide a m3u list with all the channels you want to have in the channel list.
But most of the channels are m3u lists itself, which provide streams with IDs or some additional meta information.

For example:
Code:
curl http://streams.radiobob.de/deathmetal/mp3-192/streams.radiobob.de/play.pls
[playlist]
numberofentries=1
File1=http://bob.hoerradar.de/radiobob-deathmetal-mp3-hq?sABC=5sr255q5%230%235npo261r105q728379n350724pp90730%23fgernzf.enqvbobo.qr&=&amsparams=playerid:streams.radiobob.de;skey:1608668629
Title1=Radio BOB Death Metal
Length1=-1
version=2
Of course I can take the link from inside the pls or m3u. But I'm not sure if this link will change from time to time. Also not sure, if all that parameter stuff after question tag isn't needed.
You would need to combine and convert these to the correct format. There is no support for embedded lists of any kind. Nor are there plans to add it.

I would keep anything after the question mark.