Jump to content

IPTV stream to kodi


StarWing

Recommended Posts

StarWing

Hi all,

I'm completely new to Emby, so please give me some credit should this be a stupid question.

I have 2 OSMC boxes and some phones, I came up with the idea to have a central DB. I managed to install/setup Emby on a virtual Ubuntu machine, and more or less everything works.

I am able to see the content on a browser accessing Emby, I setup a reverse proxy to access Emby from outside and I was able to attach both my kodi boxes to emby, sharing my audio, movie & tv db's.

However, I would like to add some radio stations to kodi, instead of using the radio plugin in Kodi. Therefore I added the IPTV plugin (1.2.1.0) in Emby and added some mp3 streams, which are working fine accessing them from a browser. But I am not able to access these streams through Kodi. I have enabled the IPTV simple client in Kodi and I can see that the config is beeing populated by the kodi-next-gen addon.

The Kodi install is fresh, installed with the OSMC installer prior to swapping over to Emby.

Below is a snippet from the kodi log.

osmc@osmc:~$ cat /home/osmc/.kodi/temp/kodi.log |grep iptv
2023-11-23 15:57:11.594 T:4648     info <general>: CAddonMgr::FindAddons: pvr.iptvsimple v20.11.0 installed
2023-11-23 15:57:15.810 T:4670     info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - Create starting IPTV Simple PVR client...
2023-11-23 15:57:15.820 T:4670     info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - Init - Loaded '3' providers mappings
2023-11-23 15:57:15.821 T:4670    error <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Playlist file path is not configured. Channels not loaded.
2023-11-23 15:57:15.822 T:4670     info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG file path is not configured. EPG not loaded.
2023-11-23 15:57:15.822 T:4670     info <general>: AddOnLog: pvr.iptvsimple: Initialise Starting separate client update thread...
2023-11-23 15:57:15.832 T:4670     info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - Init - Loaded '3' providers mappings
2023-11-23 15:57:15.835 T:4670     info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList Playlist Loaded - 2 (ms)
2023-11-23 15:57:15.835 T:4670    error <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Unable to load channels or media from file 'special://profile/addon_data/plugin.video.emby-next-gen/temp/22cb504a03504830b21f9af7a32e7059-livetv.m3u'
2023-11-23 15:57:15.836 T:4670     info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 0 channels.
2023-11-23 15:57:15.836 T:4670     info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 0 channel groups.
2023-11-23 15:57:15.836 T:4670     info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 0 providers.
2023-11-23 15:57:15.836 T:4670     info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 0 media items.
2023-11-23 15:57:15.838 T:4670    error <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - GetXMLTVFileWithRetries - Unable to load EPG file 'http://127.0.0.1:57342/epg/22cb504a03504830b21f9af7a32e7059/E-data.epg':  file is missing or empty. :1th try.
2023-11-23 15:57:27.339 T:4670    error <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - EPG channels not found.
2023-11-23 15:57:27.340 T:4670     info <general>: AddOnLog: pvr.iptvsimple: Initialise Starting separate client update thread...
2023-11-23 15:57:27.377 T:4733    error <general>: GetChannelGroups: Add-on 'pvr.iptvsimple' returned an error: server error
2023-11-23 15:57:27.377 T:4733    error <general>: GetChannels: Add-on 'pvr.iptvsimple' returned an error: server error
2023-11-23 15:57:27.378 T:4733    error <general>: GetChannelGroups: Add-on 'pvr.iptvsimple' returned an error: server error
2023-11-23 15:57:27.378 T:4733    error <general>: GetChannels: Add-on 'pvr.iptvsimple' returned an error: server error
osmc@osmc:~$

I have no idea how I should interpret this error, as I am completely new to Emby, and I don't seen anything appearing in the Kodi TV or Radio main menu.

The emby for kodi next gen plugin (8.2.13) is the latest available from the stable repo, for which I followed this guide

What am I missing ?

 

//Edit:

osmc@osmc:~/.kodi/userdata$ cat /home/osmc/.kodi/userdata/addon_data/plugin.video.emby-next-gen/temp/22cb504a03504830b21f9af7a32e7059-livetv.m3u
#EXTM3U

 

Edited by StarWing
extra info
Link to comment
Share on other sites

  • 2 weeks later...
StarWing

Is there uberhaupt a way to get custom radio streams in Kodi ? I've tried different approaches but none of them seem to work. (at least the way I want)

The only way I can manage this, it to use a IPTV stream, but these "public" m3u lists do not have the streams I want.

As for now, I use a "mixed" library/folder containing strm files I created. These all work on android/webbrowsers but I want to see these in Kodi/osmc. Any way to achieve this ?

Link to comment
Share on other sites

quickmic

Well Emby doesn't report if a stream is radio or video content, but Kodi needs this information.

Currently, next gen plugin tags a radio content based on its station name. Somewhere in the name should be the word "radio" included.

However, the stream should work even if it's added into Kodi's TV section.

Can you send me your synced m3u for review:

-> addon_data/plugin.video.emby-next-gen/temp/22cb504a03504830b21f9af7a32e7059-livetv.m3u

 

Link to comment
Share on other sites

StarWing
23 minutes ago, quickmic said:

Can you send me your synced m3u for review:

I currently have sepparate strm files which I added in a custom library.

Link to comment
Share on other sites

quickmic

To get straight, you use the livetv function on Emby server right?

If you use libraries, it has nothing todo with livetv functionality.

Link to comment
Share on other sites

StarWing

Sorry for the confusion:

At first I thought to use the way I described in my OP.

Since this did not work, I looked for other ways to get radio streams available in Kodi (hence the strm files). But none of the ideas I have seem to result in a working radiostream in Kodi.

So the main question is, how do I get in a decent fashion/supported way the radio streams I want in Kodi so that my wife can select these ?

Link to comment
Share on other sites

quickmic

Send me a strm file for review.

I assume Emby server can play the strm file?

Edited by quickmic
Link to comment
Share on other sites

  • 2 weeks later...
StarWing

Is it possible to assign a static background on a strm-stream file ?

I have it all working, except I would like to have some wallpaper instead of a black screen.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...