Jump to content

Channels DVR integration


acg260
Go to solution Solved by kanipek,

Recommended Posts

acg260

Hello!

 

I'm having trouble linking my channels dvr generated m3u playlist to emby.

 

I can download the playlist fine by getting it from the address where it's located and i can watch and see the guide in channels dvr. One thing tho, altough I can download the playlist from channels dvr, it won<t play in vlc when I open it.

 

When i go to put it as a live tv source in emby, as  http://X.X.X.X:8089/devices/ANY/channels.m3u?format=ts  i getan error occured while saing the tv provider, please make sure it"s available and try again. 

 

Any idea what my problem is? Perhaps it"s in channels dvr settings but i"m presently at a loss.

 

Thanks

Link to comment
Share on other sites

kanipek
Posted (edited)
3 hours ago, acg260 said:

I can download the playlist fine by getting it from the address where it's located and i can watch and see the guide in channels dvr. One thing tho, altough I can download the playlist from channels dvr, it won<t play in vlc when I open it.

-- Are Emby &VLC on the same server/PC?

-- If not can you ping and receive a reply for the ChannelsDVR server from the Emby/VLC server?

-- One option would be to download the M3U and use that file as the source for Emby. It's not perfect as it would be static - not updating with any channel additions/deletions. Not too frequent of a concern with PTV but they do add/remove channels a few times year.

 

 

Edited by kanipek
Link to comment
Share on other sites

acg260

Yes they are on the same pc!

2 minutes ago, kanipek said:

 

 

Link to comment
Share on other sites

kanipek
1 minute ago, acg260 said:

Yes they are on the same pc!

 

Try using loopback IP(127.0.0.1) instead of machine IP address 192.x.x.x

Link to comment
Share on other sites

acg260

ok ill try that soon, by the way, Pluto for channels and channels dvr run on docker on that same machine too.

1 minute ago, kanipek said:

Try using loopback IP(127.0.0.1) instead of machine IP address 192.x.x.x

 

Link to comment
Share on other sites

kanipek
1 minute ago, acg260 said:

ok ill try that soon, by the way, Pluto for channels and channels dvr run on docker on that same machine too.

 

That should be fine. I ran for years on a windows PC with Emby and Channels was running in Docker without issue. 

Link to comment
Share on other sites

kanipek

You could also try adding by the UNC name vs IP address

I am puzzled that VLC won't play it though....

Can you post the M3U? Sanitized of course.

Link to comment
Share on other sites

kanipek
Posted (edited)
4 hours ago, acg260 said:

http://X.X.X.X:8089/devices/ANY/channels.m3u?format=ts

Try this:

http://x.x.x.x:8089/devices/M3U-PlutoTV/channels.m3u?format=ts

M3U-PlutoTV - is what Channels should have called Pluto when you added it unless you assigned it a different name - If you look at "Sources" in Channels it will show you the name of each source. That is the name to use.

Edited by kanipek
Link to comment
Share on other sites

acg260
Posted (edited)
19 hours ago, kanipek said:

Try using loopback IP(127.0.0.1) instead of machine IP address 192.x.x.x

I can get the channels.m3u from loopback ip as well but it still won't play in vlc. Tried adding it as a source from loopback ip and no success.

 

18 hours ago, kanipek said:

http://x.x.x.x:8089/devices/M3U-PlutoTV/channels.m3u?format=ts

Can't get the m3u from this, i called my docker container plutotv so I tried:

http://192.x.x.x:8089/devices/plutotv/channels.m3u?format=ts
http://127.0.0.1:8089/devices/plutotv/channels.m3u?format=ts
also tried your exact formulation (http://x.x.x.x:8089/devices/M3U-PlutoTV/channels.m3u?format=ts)

I get this when I reach those pages:

{
  "error": "device not found"
}
19 hours ago, kanipek said:

You could also try adding by the UNC name vs IP address

Can you post the M3U? Sanitized of course.

I'm not sure how to proceed to do those 2 steps, do you mind enlightening me on this please?

Do I need to run latest channels dvr or TVE? I'm running latest.

Thanks so much for your time, I hope we get to figure out what's going on, I'd really like to get this working.

Best regards,

Edited by acg260
Link to comment
Share on other sites

kanipek

Sorry for the delay

Okay let's verify how to get an M3U out of channels.

Based on the M3U you shared I think something is wrong somewhere.

Your M3U:

#EXTINF:-1 channel-id="9388" tvg-id="9388" tvg-chno="9388" tvg-logo="https://images.pluto.tv/channels/5eb1afb21486df0007abc57c/colorLogoPNG.png" tvc-guide-stationid="cbs-news-bay-area" tvg-name="CBS News Bay Area" group-title="HD",CBS News Bay Area
http://x.x.x.x:8089/devices/ANY/channels/9388/hls/master.m3u8?
Mine:

#EXTINF:-1 channel-id="201" tvg-id="201" tvg-chno="201" tvg-logo="https://images.pluto.tv/channels/5ba3fb9c4b078e0f37ad34e8/colorLogoPNG.png" tvc-guide-stationid="pluto-tv-spotlight" tvg-name="Pluto TV Spotlight" group-title="HD",Pluto TV Spotlight
http://x.x.x.x:8089/devices/M3U-PlutoTV/channels/201/stream.mpg?format=ts
See the difference? 

So in your browser so this:

http://yourserverip:8089/devices/M3U-PlutoTV/channels.m3u?format=ts

What is in red will be the name of your pluto source. In ChannelDVR->Sources click on the channel list for Pluto, then look at the top of that window that opens what you need to use in what is in parenthesis - for me what I see is - PlutoTV (M3U-PlutoTV)

this: "http://yourserverip:8089/devices/M3U-plutotv/channels.m3u?format=ts"  is what I believe you need to enter based on your post above.

Save it as Pluto.m3u and use that m3u file as the source for Emby - try it with VLC first see if VLC will stream the channels. It will be static but doing it this way will take advantage of converting the HLS streams to MPEG-TS streams(via channelsDVR) which Emby will have little issue playing.

Does that make sense? I don't believe you have a connection issue here - it's an issue with the format of the M3U file your trying to use. Please note save it as M3U not M3U8.

Link to comment
Share on other sites

acg260
Posted (edited)
49 minutes ago, kanipek said:

So in your browser so this:

http://yourserverip:8089/devices/M3U-PlutoTV/channels.m3u?format=ts

this: "http://yourserverip:8089/devices/M3U-plutotv/channels.m3u?format=ts"  is what I believe you need to enter based on your post above

Does that make sense? I don't believe you have a connection issue here - it's an issue with the format of the M3U file your trying to use. Please note save it as M3U not M3U8.

I can download the file from that link as well.  And the source in channels dvr is indeed named M3U-plutotv

When I try to add the live tv source I still get the same error.

When I download the file I get it as m3u8 format, and it won't play in vlc, do I need to convert the file? If so how?

Edited by acg260
clarity
Link to comment
Share on other sites

acg260

I opened it in notepad++ and saved it as .m3u. Still won't play in vlc

Link to comment
Share on other sites

kanipek
Just now, acg260 said:

When I download the file I get it as m3u8 format, and it won't play in vlc, do I need to convert the file? If so how?

It's just a matter of changing the extension while saving it or even after it's saved.

Do you have any other sources in Channels that you have successfully added to Emby? TVE? HDHomeRun?

Can you post the EmbyServer log using the link (sanitizes it for you) from inside Emby? (after an attempt to add the M3U)

 

Link to comment
Share on other sites

acg260
Just now, kanipek said:

It's just a matter of changing the extension while saving it or even after it's saved.

Do you have any other sources in Channels that you have successfully added to Emby? TVE? HDHomeRun?

Can you post the EmbyServer log using the link (sanitizes it for you) from inside Emby? (after an attempt to add the M3U)

 

I have several other live tv sources from the web that are working fine.

 

ill look into the log file tomorrow, I’ll have to make a search to find out where to find it.

Link to comment
Share on other sites

kanipek
4 minutes ago, acg260 said:

I opened it in notepad++ and saved it as .m3u. Still won't play in vlc

What port is your Pluto docker running on???

Link to comment
Share on other sites

kanipek
1 minute ago, acg260 said:

I’ll have to make a search to find out where to find it.

There is a link in the Admin dashboard "Logs"

Link to comment
Share on other sites

acg260
2 minutes ago, kanipek said:

What port is your Pluto docker running on???

32771:80

Link to comment
Share on other sites

kanipek
2 minutes ago, acg260 said:

32771:80

You can view Pluto streams in ChannelsDVR? 

You can access the PlutoTV docker webpage? - http://x.x.x.x:32771

Link to comment
Share on other sites

acg260
2 minutes ago, kanipek said:

You can view Pluto streams in ChannelsDVR? 

You can access the PlutoTV docker webpage? - http://x.x.x.x:32771

I just deleted the container and redid it on port 80 and I can open the x.x.x:80 and I get the page with the playlist link and the epg link that I used to add as a source in channels dvr, in which I can watch the channels as we speak

Link to comment
Share on other sites

kanipek
1 minute ago, acg260 said:

I just deleted the container and redid it on port 80

You'll probably want to switch it to an open port - So you are using 80:80 now probably? I use 8080:80. I am sending you a PM.

Link to comment
Share on other sites

acg260
10 hours ago, kanipek said:

You'll probably want to switch it to an open port - So you are using 80:80 now probably? I use 8080:80. I am sending you a PM.

Deleted the container and switched to 8080:80

Link to comment
Share on other sites

  • 2 weeks later...
acg260

Good news! Following kanipek's advice, I installed the windows server for CDVR and used  http://X.X.X.X:8089/devices/ANY/channels.m3u?format=ts and it works! The other formulation did not work tho.

I added the xml file to the guide data and everything popped up in my emby player!

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • Solution
kanipek
3 hours ago, acg260 said:

Good news! Following kanipek's advice, I installed the windows server for CDVR and used  http://X.X.X.X:8089/devices/ANY/channels.m3u?format=ts and it works! The other formulation did not work tho.

I added the xml file to the guide data and everything popped up in my emby player!

Running CDVR in Docker was the "problem" - There has to be a way to configure Docker to allow that configuration (running CDVR & PlutoTV in Docker) to work - I just don't know how to do that. If anyone does drop the solution in here for future reference.

Link to comment
Share on other sites

  • 2 months later...
them8os235

Post removed (can they be deleted? not seeing it if they can.).  I didn't realize I already had the answer. 🙄 (need a dunce-cap emoji)

Edited by them8os235
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...