Project

General

Profile

Creating / finding link to m3u for Emby

Added by Sam Kincaid over 3 years ago

Hello! I have a functional Tvheadend setup right now, and I can succesfully watch live tv using the web ui. I'm super excited I have made it this far.

Now I would like to connect Tvheadend to emby. I have tried the plugin and am not sure what to do to make it work, so for now I am attempting to use the method of giving emby an m3u file instead. So far I have tried giving emby http://localhost:9981/playlist and http://192.168.1.7:9981/playlist but each time I get an error. Are these the proper addresses to get an m3u, or is there a better way to get one for emby.

ALternatively, how can I make the plugin work?

Thanks so much for any help!


Replies (3)

RE: Creating / finding link to m3u for Emby - Added by saen acro over 3 years ago

See what say

curl http://localhost:9981/playlist/channels

Most probably you need to add user and password to URL,
or make user "*" with password "*" wit acces from localhost,127.0.0.1
and your lan network 192.168.1.0/24

RE: Creating / finding link to m3u for Emby - Added by Sam Kincaid over 3 years ago

This is the output of the curl command:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>401 Unauthorized</TITLE>
</HEAD><BODY>
<H1>401 Unauthorized</H1>
<P STYLE="text-align: center; margin: 2em"><A HREF="/" STYLE="border: 1px solid; border-radius: 4px; padding: .6em">Default login</A></P><P STYLE="text-align: center; margin: 2em"><A HREF="/login" STYLE="border: 1px solid; border-radius: 4px; padding: .6em">New login</A></P></BODY></HTML>

Adding my username and password like so causes the curl command to give me a list of my channels instead of unauthorized.
http://USERNAME:PASSWORD192.168.1.X:9981/playlist/channels.m3u

Still though, Emby does not accept this url. This may be a question better suited for an emby forum, but any idea how to make emby say something other than "there was an error saving the tv provider"?

thanks!

RE: Creating / finding link to m3u for Emby - Added by saen acro over 3 years ago

Url must be:

http://USERNAME:[email protected]:9981/playlist/channels

If you use it only in your lan disable digest authentication.

    (1-3/3)