Jump to content

VirtualTV Plugin and Next Gen


Mookdog
 Share

Recommended Posts

Hey @quickmic

 

I have had the virtualtv plugin on my emby for almost a year and it works great in Emby for android. It works pretty darn good in Next Gen for Kodi. My question is is there a setting I have to setup to get the guide info up on Next gen ? Channels work but no info for EPG.

 

Thanks brother hope all is well

Mook

Link to comment
Share on other sites

quickmic

I need detailed info about virtual TV settings. There are several modes. Settings screenshot please.

Link to comment
Share on other sites

pünktchen

@quickmic The VirtualTV plugin just uses the regular live tv guide of Emby.

@MookdogYou can also export the VirtualTV channels as m3u and the epg as xmltv file via a scheduled task to a file share for use in Kodi's IPTV pvr addon.
Or you can even access that data directly in the Kodi pvr addon via some http api. See the link in the export settings of the VirtualTV plugin.

Link to comment
Share on other sites

quickmic
1 minute ago, pünktchen said:

@quickmic The VirtualTV plugin just uses the regular live tv guide of Emby.

Yep, last time I tested it worked perfect. I'll perform another test.

Link to comment
Share on other sites

pünktchen

Yes.
The version for Emby 4.7.x

Edited by pünktchen
Link to comment
Share on other sites

Just now, pünktchen said:

Okay, but what is it that you want to say?

I need the guide to show up in Next Gen. When I click the api portion of the export section it comes up with an error opening openapi. I mean it works great in Android tv app but with Next Gen channels will play but the guide doesnt show me whats on

 

Mook

 

Link to comment
Share on other sites

quickmic
1 hour ago, pünktchen said:

Yes.
The version for Emby 4.7.x

Also with ffmpeg version 5.1 (native installed) but seems Emby uses 4.5.0

 

2022-08-26 10:59:46.064 Error Server: Error processing request
	*** Error Report ***
	Version: 4.8.0.8
	Command line: /opt/emby/EmbyServer.dll
	Operating system: Linux version 5.15.35-1-pve (build@proxmox) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PVE 5.15.35-2 (Thu
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Private.CoreLib.dll
	Processor count: 24
	Data path: /opt/programdata
	Application path: /opt/emby
	Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Error starting ffmpeg
	10:59:45.929 ffmpeg version 4.5.0-emby_2021_11_16 Copyright (c) 2000-2021 the FFmpeg developers and softworkz for Emby LLC
	10:59:45.930   built with gcc 8.3.0 (crosstool-NG 1.24.0)
	10:59:45.930 Execution Date: 2022-08-26 10:59:45
	10:59:45.957 Input #0, mpegts, from 'http://127.0.0.1:80/LiveTv/LiveStreamFiles/a8693906575e4ac7b85a2f0f867f5143/stream.ts':
	10:59:45.957   Duration: N/A, start: 1.400000, bitrate: N/A
	10:59:45.957   Program 1 
	10:59:45.957     Metadata:
	10:59:45.957       service_name    : Service01
	10:59:45.957       service_provider: FFmpeg
	10:59:45.957   Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], Level 31, 23.98 fps, 23.98 tbr, 90k tbn, Start-Time 1.483s
	10:59:45.958   Stream #0:1[0x101](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 4 kb/s, Start-Time 1.400s
	10:59:45.975 Stream mapping:
	10:59:45.975   Stream #0:0 -> #0:0 (h264 (native) -> vp8 (libvpx))
	10:59:45.975   Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
	10:59:45.975 Press [q] to stop, [?] for help
	10:59:46.002 [libvorbis @ 0x248ad80] encoder setup failed
	10:59:46.002 Error initializing output stream 0:1 -- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
	10:59:46.008 Conversion failed!
	10:59:46.008
	   at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationToken cancellationToken, Boolean acquireResources)
	   at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.GetStreamResult(StreamState state, IDictionary`2 responseHeaders, Boolean isHeadRequest, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.ProcessRequest(StreamRequest request, Boolean isHeadRequest)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

 

 

I'll check what's the problem. Maybe my "very custom" Emby server has an issue.

 

EDIT:

Upgraded to ffmpeg Emby version 5.1. Still same issue. Continue review... Most likly not a VirtualTV issue!! I think problem on my installation.

Edited by quickmic
Link to comment
Share on other sites

pünktchen
2 hours ago, Mookdog said:

When I click the api portion of the export section it comes up with an error opening openapi.

You mean the CORS error of the Swagger API? Just replace "localhost" or your IP with "127.0.0.1" in the URL.

Link to comment
Share on other sites

pünktchen

To simplify things, just use this and replace the curly braces with your own values

Channels:

http://{ip or hostname}:{port}/emby/VirtualTV/Channels?StreamType=EmbyNextGen&RealLiveTv=true

EPG:

http://{ip or hostname}:{port}/emby/VirtualTV/Guide?StreamType=EmbyNextGen&RealLiveTv=true

 

Link to comment
Share on other sites

quickmic
2 hours ago, pünktchen said:

To simplify things, just use this and replace the curly braces with your own values

Channels:

http://{ip or hostname}:{port}/emby/VirtualTV/Channels?StreamType=EmbyNextGen&RealLiveTv=true

EPG:

http://{ip or hostname}:{port}/emby/VirtualTV/Guide?StreamType=EmbyNextGen&RealLiveTv=true

 

Doesn't even work via Emby's WebUI, but I'll come back to you if I can confirm it's a VirtualTV plugin issue what I currently not expecting. I'll repeat the test it on my second Emby server with regular Windows installation.

Link to comment
Share on other sites

On 8/26/2022 at 10:19 AM, quickmic said:

Doesn't even work via Emby's WebUI, but I'll come back to you if I can confirm it's a VirtualTV plugin issue what I currently not expecting. I'll repeat the test it on my second Emby server with regular Windows installation.

Hey @quickmicHave u figured this out yet ? Still cant get the guide to show on mine. No biggie atm I was just wondering

 

Mook

Link to comment
Share on other sites

quickmic

Now I've checked EPG for VirtualTV. Works perfect.

Check if EPG is available in Emby's WebUI. If not there, it's an issue with your VirtualTV config.

Edited by quickmic
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
 Share

×
×
  • Create New...