Jump to content

XML EPG not working


Recommended Posts

Posted

So..... I use Webgrabplus to create an XMLTV file. After attaching every EPG channel to the Emby channel, Emby picks up on it and shows the channel logos correctly. The EPG data is not being used. And I don't know why. Anyone?

embyserver.txt guide2.xml

Posted

Hi there, why do you think the epg data is not being used?

Posted
8 hours ago, muppets4 said:

Emby picks up on it and shows the channel logos correctly. The EPG data is not being used. And I don't know why. Anyone?

I used your xmltv file and changed date for the schedules from 20241024 to 20241025 and in the setup/channels view, I edited one channel to map it to a channel in the xmltv guide and the guide view does show the program - this is a schedule entry for "MTV (TV)" channel ID

image.png

You could enable debug logging in logs server settings and restart the server and then double check that the DVR channels are mapped to xmltv guide channels and then refresh the guide and when it finishes, open Live TV page and then Guide view and see if it shows schedules - if not, download the logs and upload here with the xmltv file that was in use

There are some errors in the log and I do not know if they have any relevance - but you could remove the TuneIn plugin which the errors relate to

2024-10-25 01:11:09.517 Error App: Error loading types from assembly
	*** Error Report ***
	Version: 4.8.10.0
	Command line: C:\Users\jgcro\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.22621
	Framework: .NET 6.0.33
	OS/Process: x64/x64
	Runtime: C:/Users/jgcro/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\jgcro\AppData\Roaming\Emby-Server\system
	System.Reflection.ReflectionTypeLoadException: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
	Method 'GetChannelItemMediaInfo' in type 'MediaBrowser.Plugins.TuneIn.TuneInChannel' from assembly 'MediaBrowser.Plugins.TuneIn, Version=1.0.6098.30150, Culture=neutral, PublicKeyToken=null' does not have an implementation.
	Could not load type 'MediaBrowser.Controller.Channels.ChannelMediaInfo' from assembly 'MediaBrowser.Controller, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'.
	   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
	   at System.Reflection.Assembly.GetTypes()
	   at Emby.Server.Implementations.ApplicationHost.GetTypes(Tuple`2 assemblyInfo)
	System.TypeLoadException: Method 'GetChannelItemMediaInfo' in type 'MediaBrowser.Plugins.TuneIn.TuneInChannel' from assembly 'MediaBrowser.Plugins.TuneIn, Version=1.0.6098.30150, Culture=neutral, PublicKeyToken=null' does not have an implementation.
	System.TypeLoadException: Could not load type 'MediaBrowser.Controller.Channels.ChannelMediaInfo' from assembly 'MediaBrowser.Controller, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'.
	Source: System.Private.CoreLib
	TargetSite: System.RuntimeType[] GetTypes(System.Reflection.RuntimeModule)
	
2024-10-25 01:11:09.517 Error App: LoaderException: Method 'GetChannelItemMediaInfo' in type 'MediaBrowser.Plugins.TuneIn.TuneInChannel' from assembly 'MediaBrowser.Plugins.TuneIn, Version=1.0.6098.30150, Culture=neutral, PublicKeyToken=null' does not have an implementation.
2024-10-25 01:11:09.517 Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Channels.ChannelMediaInfo' from assembly 'MediaBrowser.Controller, Version=4.8.10.0, Culture=neutral, PublicKeyToken=null'.

and

2024-10-25 01:11:09.902 Error App: Error creating MediaBrowser.Plugins.TuneIn.Plugin
	*** Error Report ***
	Version: 4.8.10.0
	Command line: C:\Users\jgcro\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.22621
	Framework: .NET 6.0.33
	OS/Process: x64/x64
	Runtime: C:/Users/jgcro/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\jgcro\AppData\Roaming\Emby-Server\system
	SimpleInjector.ActivationException: SimpleInjector.ActivationException: No registration for type Plugin could be found and an implicit registration could not be made. Value cannot be null. (Parameter 'path2')
	 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'path2')
	   at System.IO.Path.Combine(String path1, String path2)
	   at MediaBrowser.Common.Plugins.BasePlugin`1.get_ConfigurationFilePath()
	   at MediaBrowser.Common.Plugins.BasePlugin`1.LoadConfiguration()
	   at MediaBrowser.Common.Plugins.BasePlugin`1.get_Configuration()
	   at MediaBrowser.Plugins.TuneIn.Plugin..ctor(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
	   at lambda_method61(Closure )
	   at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
	   at SimpleInjector.InstanceProducer.GetInstance()
	   --- End of inner exception stack trace ---
	   at SimpleInjector.InstanceProducer.GetInstance()
	   at SimpleInjector.Container.GetInstanceForRootType(Type serviceType)
	   at SimpleInjector.Container.GetInstance(Type serviceType)
	   at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe(Tuple`2 typeInfo)
	Source: SimpleInjector
	TargetSite: System.Object GetInstance()
	InnerException: System.ArgumentNullException: Value cannot be null. (Parameter 'path2')
	Source: System.Private.CoreLib
	TargetSite: System.String Combine(System.String, System.String)
	   at System.IO.Path.Combine(String path1, String path2)
	   at MediaBrowser.Common.Plugins.BasePlugin`1.get_ConfigurationFilePath()
	   at MediaBrowser.Common.Plugins.BasePlugin`1.LoadConfiguration()
	   at MediaBrowser.Common.Plugins.BasePlugin`1.get_Configuration()
	   at MediaBrowser.Plugins.TuneIn.Plugin..ctor(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
	   at lambda_method61(Closure )
	   at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
	   at SimpleInjector.InstanceProducer.GetInstance()

 

 

 

Posted
7 hours ago, Luke said:

Hi there, why do you think the epg data is not being used?

because of this:

image.thumb.png.57025278116902473eeaecaedf7a0d6b.png

Posted
1 hour ago, sa2000 said:

here are some errors in the log and I do not know if they have any relevance - but you could remove the TuneIn plugin which the errors relate to

This is strange. I have no TuneIn plugin installed. Never used it in relation with Emby too. 

image.thumb.png.6767edb62c34dbb3bc8e088093ff9a15.png

 

I have set logging to debug level now. Going to restart everything and see.  

 

 

Posted
17 minutes ago, muppets4 said:

because of this:

That screenshot is for 25th October guide. The XMLTV file you attached had only schedules for the following 

image.png

Posted
15 minutes ago, muppets4 said:

This is strange. I have no TuneIn plugin installed. Never used it in relation with Emby too. 

Interesting

Can you see if this exists

C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata\plugins\MediaBrowser.Plugins.TuneIn.dll

Log Extract:
2024-10-25 01:11:09.488 Info App: Loading MediaBrowser.Plugins.TuneIn, Version=1.0.6098.30150, Culture=neutral, PublicKeyToken=null from C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata\plugins\MediaBrowser.Plugins.TuneIn.dll

 

Posted
20 minutes ago, sa2000 said:

Interesting

Can you see if this exists

C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata\plugins\MediaBrowser.Plugins.TuneIn.dll

Log Extract:
2024-10-25 01:11:09.488 Info App: Loading MediaBrowser.Plugins.TuneIn, Version=1.0.6098.30150, Culture=neutral, PublicKeyToken=null from C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata\plugins\MediaBrowser.Plugins.TuneIn.dll

 

No, doesn't exist. There is one Mediabrowser plugin for RottenTomatoes.

Posted
26 minutes ago, sa2000 said:

That screenshot is for 25th October guide. The XMLTV file you attached had only schedules for the following 

image.png

Strange. But I think I have it sorted out. I now used the configmaker assistant for Webgrabplus and used the XML config file that came out of that. And set it to 7 days of data. And now it looks like it is working, although that was the case with the one channel I tried. It's getting the rest of the data as we speak.

For a noob Webgrabplus has a steep learning curve. I have used it before, but it's set and forget with these things for me. Only when I start to use new hardware I have to look into it again. 

Thanks for the great support I am receiving here for many years now for very little money. 

  • Like 1
Posted
15 minutes ago, muppets4 said:

Strange. But I think I have it sorted out. I now used the configmaker assistant for Webgrabplus and used the XML config file that came out of that. And set it to 7 days of data. And now it looks like it is working, although that was the case with the one channel I tried. It's getting the rest of the data as we speak.

Great

Posted
25 minutes ago, muppets4 said:

No, doesn't exist. There is one Mediabrowser plugin for RottenTomatoes.

Interesting - will see if @Lukeknows why this happens

2024-10-25 01:11:09.902 Error App: Error creating MediaBrowser.Plugins.TuneIn.Plugin
	*** Error Report ***
	Version: 4.8.10.0
	Command line: C:\Users\jgcro\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.22621
	Framework: .NET 6.0.33
	OS/Process: x64/x64
	Runtime: C:/Users/jgcro/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\jgcro\AppData\Roaming\Emby-Server\system
	SimpleInjector.ActivationException: SimpleInjector.ActivationException: No registration for type Plugin could be found and an implicit registration could not be made. Value cannot be null. (Parameter 'path2')
	 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'path2')
	   at System.IO.Path.Combine(String path1, String path2)
	   at MediaBrowser.Common.Plugins.BasePlugin`1.get_ConfigurationFilePath()
	   at MediaBrowser.Common.Plugins.BasePlugin`1.LoadConfiguration()
	   at MediaBrowser.Common.Plugins.BasePlugin`1.get_Configuration()
	   at MediaBrowser.Plugins.TuneIn.Plugin..ctor(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
	   at lambda_method61(Closure )
	   at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
	   at SimpleInjector.InstanceProducer.GetInstance()
	   --- End of inner exception stack trace ---
	   at SimpleInjector.InstanceProducer.GetInstance()
	   at SimpleInjector.Container.GetInstanceForRootType(Type serviceType)
	   at SimpleInjector.Container.GetInstance(Type serviceType)
	   at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe(Tuple`2 typeInfo)
	Source: SimpleInjector
	TargetSite: System.Object GetInstance()
	InnerException: System.ArgumentNullException: Value cannot be null. (Parameter 'path2')
	Source: System.Private.CoreLib
	TargetSite: System.String Combine(System.String, System.String)
	   at System.IO.Path.Combine(String path1, String path2)
	   at MediaBrowser.Common.Plugins.BasePlugin`1.get_ConfigurationFilePath()
	   at MediaBrowser.Common.Plugins.BasePlugin`1.LoadConfiguration()
	   at MediaBrowser.Common.Plugins.BasePlugin`1.get_Configuration()
	   at MediaBrowser.Plugins.TuneIn.Plugin..ctor(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
	   at lambda_method61(Closure )
	   at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
	   at SimpleInjector.InstanceProducer.GetInstance()

It was actually seen before a few years ago and mentioned in this forum topic 

 

Posted

Maybe it's a good time to clean out all dll files from C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata\plugins

  • Like 1
scott46953
Posted (edited)

Excuse me for putting this here.  I did a search for EPG Time Shift and did not get the results I was looking for...  Maybe its here but named differant?

I remember talking about time shifting in the m3u file.. however, when I manually change the EPG from the m3u to the manual set Emby EPG Country UK,  everything went good.

Much better EPG info then other providers.  However, we just had Daylight Savings time change here in indiana, USA... All EPG in North America or similar time zone, is fine.  No issue.

BUT,  the EPG that is manually selected in Emby on the UK selection... none of my programs are matching the EPG anymore...  I can not find any adjustment to fix this UK issue.

IT was fine before the time change, so It must be off by 1 hour.

If no fix for this issue, how do I manually return to previous setting or settings for all UK channels?  Do they each have to be manually set again back to original?  or is there a way to tell it to go back to the m3u setting default?

I do not see any buttons for these issues, but if they are there, please let me know.  Trying not to remove my m3u file and add it back.  It has thousands of channels, tv shows 24/7, and other programs

NOTE: Move this reply, if needed please.  thnx in advance

Edited by scott46953
Posted
On 10/25/2024 at 3:51 PM, Luke said:

Maybe it's a good time to clean out all dll files from C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata\plugins

Are you sure? I've just looked at it, and there are a lot of files. Some even from october this year. 

EPG works great now.

image.thumb.png.3a00eacd9f7ad1e8b3fe178f10f1a353.png

Posted
5 hours ago, muppets4 said:

Are you sure? I've just looked at it, and there are a lot of files. Some even from october this year.

If you start afresh with an empty programdata\plugins then the next launch would install the default ones there and you would need to add the ones you have added yourself. It allows you to reset the plugins installation and clear out any corrupt configurations / anomalies

Have you been making changes to the installed set since your log file of the 25th October?

It mentions for examples these 3 plugins which do not show in your file list screenshot

TVHeadEnd.dll
MediaBrowser.Plugins.TuneIn.dll
Emby.M3UTuner.dll
 

TVHeadEnd.dll
MediaBrowser.Plugins.TuneIn.dll
Emby.M3UTuner.dll

which were referenced here

2024-10-25 01:11:09.155 Info App: File C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata\plugins\Emby.M3UTuner.dll has version 1.0.31.0
2024-10-25 01:11:09.155 Info App: File C:\Users\jgcro\AppData\Roaming\Emby-Server\system\plugins\Emby.M3UTuner.dll has version 1.0.31.0
2024-10-25 01:11:09.488 Info App: Loading Emby.M3UTuner, Version=1.0.31.0, Culture=neutral, PublicKeyToken=null from C:\Users\jgcro\AppData\Roaming\Emby-Server\programdata\plugins\Emby.M3UTuner.dll

Also i see in your screenshot a 2016 dll MediaBrowser.Plugins.RottenTomatoes.dll which does not get mentioned in the log. So would be good idea to start afresh with plugins and then add the ones you need eg 

The log showed these additionally installed plugins

AutoBoxSets.dll
CoverArt.dll
GenreCleaner.dll
IMVDb.dll
MediaBrowser.Plugins.TuneIn.dll
playback_reporting.dll
Statistics.dll
SubDb.dll
TVHeadEnd.dll

 

Posted
On 01/11/2024 at 13:53, scott46953 said:

Excuse me for putting this here.  I did a search for EPG Time Shift and did not get the results I was looking for...  Maybe its here but named differant?

I remember talking about time shifting in the m3u file.. however, when I manually change the EPG from the m3u to the manual set Emby EPG Country UK,  everything went good.

Much better EPG info then other providers.  However, we just had Daylight Savings time change here in indiana, USA... All EPG in North America or similar time zone, is fine.  No issue.

BUT,  the EPG that is manually selected in Emby on the UK selection... none of my programs are matching the EPG anymore...  I can not find any adjustment to fix this UK issue.

IT was fine before the time change, so It must be off by 1 hour.

The default guides are meant to be for a specific country and zip/post code and they should be based on the timezone and any applicable DST for that timezone. I would not expect a timeshift feature to be added to that for use of these guides in the applicable locations.

 

On 01/11/2024 at 13:53, scott46953 said:

If no fix for this issue, how do I manually return to previous setting or settings for all UK channels?  Do they each have to be manually set again back to original?  or is there a way to tell it to go back to the m3u setting default?

I would suspect that the way to achieve what you want to do would be to run your machine with manual timezone setting and set to be for the country and location that you wish to use the Guide for

scott46953
Posted

mine fixed itself after the actual time changed in indiana 2 days ago.  UK channels EPG is now back on track.

if its wrong for a week or 2 every year, not much of a worry.  just something to keep an eye on every year, or twice a year. :)

  • Like 1
  • Thanks 1

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