Jump to content

Recommended Posts

Posted
2 hours ago, pünktchen said:

What's the plugin version?

It's the latest version:

image.png.27cd95532445385c44d46ccd503833d2.png

Posted

Here is the error for the failed message in Scheduled Tasks when trying to export the channels:

2023-01-02 08:20:47.315 Error TaskManager: Error
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /config -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3
	Operating system: Linux version 5.19.17-Unraid (root@Develop) (gcc (GCC) 12.2.0, GNU ld version 2.39-slack151) #2 SMP PREEMPT_DYNAMIC Wed Nov 2 11:54:15 PDT 2022
	Framework: .NET 6.0.12
	OS/Process: x64/x64
	Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.12/System.Private.CoreLib.dll
	Processor count: 12
	Data path: /config
	Application path: /usr/lib/emby-server
	System.Net.WebException: System.Net.WebException: The remote server returned an error: (400) Bad Request.
	   at System.Net.HttpWebRequest.GetResponse()
	   at System.Net.WebClient.GetWebResponse(WebRequest request)
	   at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
	   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
	   at System.Net.WebClient.DownloadFile(String address, String fileName)
	   at VirtualTV.Services.ExportVirtualTVTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
	Source: System.Net.Requests
	TargetSite: System.Net.WebResponse GetResponse()

 

GrimReaper
Posted
8 minutes ago, LakersFan said:

image.png.3f0f5968e9a89308816d59656c7b34c0.png

Curious as from where plugin is picking 172 subnet; do you have double (or multi) NAT in your network? Multiple DHCP servers? You can try binding your server explicitly to 192.168.1.197 in Settings>Network tab>Local IP field, rerun task and see how does that compare? 

pünktchen
Posted
11 minutes ago, Flippz said:

Isnt it the IP of the docker container? 

Correct! The internal one.

pünktchen
Posted
1 hour ago, LakersFan said:

Here is the error for the failed message in Scheduled Tasks when trying to export the channels:

What exactly have you setup as "host adress override"?

Posted
31 minutes ago, pünktchen said:

What exactly have you setup as "host adress override"?

http://192.168.1.197:8096/
 

pünktchen
Posted
1 minute ago, LakersFan said:

http://192.168.1.197:8096/
 

But the docker internal host adress is: http://172.18.0.6:8096

Posted
1 hour ago, Flippz said:

Isnt it the IP of the docker container? 

I’m not sure what you guys mean?

pünktchen
Posted

Sorry, i was faster in writing then in thinking about it 😇
You were nearly right. Just remove the trailing slash. so it must be http://192.168.1.197:8096

Posted
2 minutes ago, pünktchen said:

But the docker internal host adress is: http://172.18.0.6:8096

I’m probably overthinking it. I initially left it blank. Should I put that IP in the host address override? 

Posted

Still getting a failure when trying to export.

 

pünktchen
Posted

Try this in a browser, but change "TheEmbyUserName" to your needs:
http://192.168.1.197:8096/emby/VirtualTV/Channels?StreamType=universal&CatchupType=shift&CatchupContainer=mpegts&User=TheEmbyUserName&Device=Tivimate

Posted

Doing that downloaded the channels.m3u file to my PC.

pünktchen
Posted
8 minutes ago, LakersFan said:

Doing that downloaded the channels.m3u file to my PC.

And that is was the export task is doing. Please post a screenshot of your export settings. But hide the password!!!

pünktchen
Posted

@LakersFan I really don't know what the problem is with the export task on your side, but instead of the exported files you can use the direct urls in Tivimate.
Just leave "Export Folder", "Hostadress Override" and "Token" empty in the export settings and use the following in Tivimate.

Guide:
http://192.168.1.197:8096/emby/virtualtv/guide?streamtype=universal

Channels:
http://192.168.1.197:8096/emby/virtualtv/channels?streamtype=universal&catchuptype=flussonic&user=Home&device=Tivimate

If playback of catchup streams failes, just append "&catchupcontainer=mpegts" to the channels url without quotes.
If your Emby user needs a password even in your LAN, just append "&pass=TheEmbyUserPassword" to the channels url without quotes.

Posted

@pünktchen Should the VirtualTV plugin work well with other TV sources? I attempted to add a m3u IPTV source to show up in the guide and got some strange behavior. Not sure if it's Emby, the other source, or expected when using the plugin.

 

pünktchen
Posted
41 minutes ago, andrewds said:

Should the VirtualTV plugin work well with other TV sources?

Yes. Since i've started the project i've always had other tv sources active and never experienced any problem.

Posted
On 1/3/2023 at 7:10 AM, pünktchen said:

@LakersFan I really don't know what the problem is with the export task on your side, but instead of the exported files you can use the direct urls in Tivimate.
Just leave "Export Folder", "Hostadress Override" and "Token" empty in the export settings and use the following in Tivimate.

Guide:
http://192.168.1.197:8096/emby/virtualtv/guide?streamtype=universal

Channels:
http://192.168.1.197:8096/emby/virtualtv/channels?streamtype=universal&catchuptype=flussonic&user=Home&device=Tivimate

If playback of catchup streams failes, just append "&catchupcontainer=mpegts" to the channels url without quotes.
If your Emby user needs a password even in your LAN, just append "&pass=TheEmbyUserPassword" to the channels url without quotes.

Unfortunately that didn't work either. I added the channels as you stated, then appended with the catch up container, then even tried the pass. The guide is accurate. It's just not playing.

pünktchen
Posted
2 hours ago, LakersFan said:

Unfortunately that didn't work either. I added the channels as you stated, then appended with the catch up container, then even tried the pass. The guide is accurate. It's just not playing.

Please pm me your Emby log file of that failed playback attempt.

feerlessleadr
Posted

Hi - thanks for making this plugin. I'm trying to set this up so that I can play my channels on kodi, but am running into 2 problems. I have everything setup on the emby server, and the channels show up and play without issue. I setup the IPTV simple PVR addon in kodi to pull the channels and guide data using he following links (which I found from another post from you in this thread):

http://192.168.1.16:8096/emby/VirtualTV/Channels?User=Kevin&StreamType=EmbyNextGen
http://192.168.1.16:8096/emby/VirtualTV/Guide

In kodi, I can see the channels show up, and I can see the guide data, however when I click on a channel to watch it, nothing happens. 

Here is a kodi log file of me trying to play a show in kodi using this method:

https://paste.ubuntu.com/p/FmQtxSsRMt/

pünktchen
Posted

Your guide url is missing the stream type. It has to be:

http://192.168.1.16:8096/emby/VirtualTV/Guide?StreamType=EmbyNextGen

feerlessleadr
Posted
4 minutes ago, pünktchen said:

Your guide url is missing the stream type. It has to be:

http://192.168.1.16:8096/emby/VirtualTV/Guide?StreamType=EmbyNextGen

Thanks, although nothing plays, even after I make that change in kodi. 

https://paste.ubuntu.com/p/ZQHKTXmtX8/

I also just tried following the steps in this post, and while that let's me play when clicking on anything to play, 9 times out of 10 it pops up that Playback Failed (1 out of 10 times the channel will play). 

See log of that here (3 errors and 1 successful playback):

https://paste.ubuntu.com/p/Z8g4WFy5nY/

 

pünktchen
Posted

@feerlessleadr I've asked the Kodi addon developer for some help. Maybe i need to adjust my plugin again to some changes in the Kodi addon or the Kodi addon is just broken.

  • Thanks 1
Eigeplackter
Posted

Maybe a stupid question, but where can I find my created VirtualTV Channels ?

 

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...