HumanPanda 6 Posted August 28, 2016 Posted August 28, 2016 Hi Guys, I am using zap2xml against tvguide.com to create xmltv data. However when trying to import it to Emby it is not working. In between I even get an error saying that it couldn't add my lineup to my Schedules Direct account and I am not using Schedules Direct. Anyone else seeing this? Environment: Unraid Server w/ Latest Docker Emby Version Version 3.0.6300.0 I have Emby Premiere so it shouldn't be because I am importing more than 24 hours of data I think. This happened in the previous version too but, waited until the new Docker was released to make sure it was still broken in the new version.
Luke 42077 Posted August 28, 2016 Posted August 28, 2016 Hi there, welcome. In order to best help you, please refresh the guide from scheduled tasks, and then provide the information requested in how to report a problem. Thanks!
HumanPanda 6 Posted August 29, 2016 Author Posted August 29, 2016 (edited) I have set up a new Docker and the issue still occurs. I have also put only 2 days worth of XMLTV data. I am not seeing the error message about schedules direct however. The logs aren't very useful. I am going to do this with debug logging on and send it to you after it is done. I have also attached my XMLTV data. But, all I see in the logs right now is: 2016-08-28 19:59:42.3742 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:42.9892 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:43.5992 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:44.2095 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:44.8237 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:45.4319 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:46.0332 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:46.6474 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:47.2554 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:47.8715 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:48.4815 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:49.0909 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:49.6921 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:50.3028 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml2016-08-28 19:59:50.9120 Info App: xmltv path: /unraid/appdata/zap2xml/xmltv.xml Edit: Debug logging didn't anything so not attaching it. embylogs.txt xmltv.zip Edited August 29, 2016 by phiyuku
HumanPanda 6 Posted August 29, 2016 Author Posted August 29, 2016 Those were the full logs and the debug logging showed nothing. I am guessing the xmltv data is bad but, have no way to verify that.
Luke 42077 Posted August 29, 2016 Posted August 29, 2016 If it failed to parse there definitely would have been an exception logged. So it's just empty?
HumanPanda 6 Posted August 29, 2016 Author Posted August 29, 2016 Yeah it is just completely empty. I'm going to try and manually map a couple channels. Maybe that could be the reason.
Solution Luke 42077 Posted August 29, 2016 Solution Posted August 29, 2016 Does the guide show channels with no programs or nothing at all? if it's at least showing channels then mapping should do it. 1
HumanPanda 6 Posted August 29, 2016 Author Posted August 29, 2016 Yeah... that did it. Manually mapping them. Is there a way to automate that? As the numbers are the same. Or perhaps a faster way?
Luke 42077 Posted August 29, 2016 Posted August 29, 2016 If there was a way to automate it, then you wouldn't have to do it the only reason you have to do it is because the channel numbers in the guide data don't match the channel numbers from your tuner.
HumanPanda 6 Posted August 29, 2016 Author Posted August 29, 2016 That's weird cause it is definitely the same number. Does it go by channel id? For instance my channel 2 <channel id="I2.102.tvguide.com"> <display-name>2 WCBS</display-name> <display-name>2</display-name> <display-name>WCBS</display-name> </channel> Emby shows it as 2 WCBS which is one of the display-names.
Luke 42077 Posted August 29, 2016 Posted August 29, 2016 If have to check but having 2 in the name tag still doesn't give us the number by itself
HumanPanda 6 Posted August 29, 2016 Author Posted August 29, 2016 (edited) OK so as a test, I changed all references of "I2.102.tvguide.com" to "2" and it mapped it automatically. So it looks like the Channel ID has to be the actual channel number in Emby and the display-names are ignored. Wonder if it is feasible to use the display-name if the channel id doesn't match anything since most xmltv data will probably have one of the display names be the actual channel number. Only issue is that the channel-id is used for the actual timeslots so there will need to be some mapping done but, this might be a gateway to automatic mapping perhaps? Edited August 29, 2016 by phiyuku
Luke 42077 Posted August 29, 2016 Posted August 29, 2016 Good investigation. I'm sure it can be improved, yes.
ozooha 0 Posted September 2, 2016 Posted September 2, 2016 So Luke will this be fixed in the coming versions where Emby will read the actual displayname part of the xml tag to get the Channel ID as opposed to phiyuku's hack?
HumanPanda 6 Posted September 3, 2016 Author Posted September 3, 2016 Hi ozooha, Please see: http://emby.media/community/index.php?/topic/38684-tool-to-map-xmltvs-channelid-to-embys-channeltunernum/ My hope is for them to implement the code or logic in Emby itself rather than having to use a separate tool, especially since it has a lot of overhead but, time will tell.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now