rdaniels82 2 Posted July 28, 2016 Share Posted July 28, 2016 Chuga, you're using mc2xml and pulling from Microsoft servers. I had the same exact problem with mc2xml, and couldn't figure why either. In very fine print mc2xml says I figured this had to be the problem and gave zap2xml a try. Luke I wont pretend to be an expert on this, do you think this is the problem? Thanks. Sorry, ignore that was looking at an old xml file. Link to comment Share on other sites More sharing options...
farside847 39 Posted August 10, 2016 Share Posted August 10, 2016 (edited) Can zap2xml be integrated into emby? Maybe there is some permission needed from the developer, but it would be great to have a built in free source for guide data triggered as an emby scheduled task. Also, can it grab more than 7 days? Edited August 10, 2016 by farside847 Link to comment Share on other sites More sharing options...
Luke 37008 Posted August 10, 2016 Share Posted August 10, 2016 Can zap2xml be integrated into emby? Maybe there is some permission needed from the developer, but it would be great to have a built in free source for guide data triggered as an emby scheduled task. Also, can it grab more than 7 days? It's already integrated via generic xml tv support. just have xap2xml dump it to a file and emby server can read that file. Link to comment Share on other sites More sharing options...
blade005 172 Posted August 18, 2016 Share Posted August 18, 2016 Can zap2xml be integrated into emby? Maybe there is some permission needed from the developer, but it would be great to have a built in free source for guide data triggered as an emby scheduled task. Also, can it grab more than 7 days? farside, 7 Days is the default, if you don't provide any input in command line script. Below is the command line argument you can include if you want additional days pulled. At least this is what is documented on zap2xml web page. http://zap2xml.awardspace.info/ -d <# of days> (default = 7) Link to comment Share on other sites More sharing options...
blade005 172 Posted August 18, 2016 Share Posted August 18, 2016 current it is <!DOCTYPE tv SYSTEM "xmltv.dtd"> how should it read to work correctly? I can try looking at some of the switches and xml.conf file chuga, I had the same issue with the line above in my generated xml file. I removed it and was then able to map all channels. Once this was done, then my guide was populated with information. I had the same worry of having to remove this line every time that the guide was updated. I did some testing and it seems like the guide will refresh with updated data even if you leave this line in after you map your channels. Your channel map will be empty the next time you check in Emby settings, but once they are mapped it doesn't seem to affect the guide being updated. I will have to run a few more refreshes to see if this continues, but it could be a way to have an automated bat file refresh the guide without intervention. Then, the line affecting channel mapping would only have to be removed if there are new channels or updated channels that you would need to make in Emby settings. Thought I would throw that out there for you to consider. Link to comment Share on other sites More sharing options...
Luke 37008 Posted August 19, 2016 Share Posted August 19, 2016 I've adjusted the xml parser to ignore the dtd, so with the next release of the server that workaround will hopefully not be needed anymore. 1 Link to comment Share on other sites More sharing options...
blade005 172 Posted August 19, 2016 Share Posted August 19, 2016 I've adjusted the xml parser to ignore the dtd, so with the next release of the server that workaround will hopefully not be needed anymore. Luke, Updated to Beta 3.1.113.0 and can confirm that channel map is populated in Emby with the DTD line present in XML generated file. Many thanks for the adjustment. Link to comment Share on other sites More sharing options...
chuga 4 Posted August 20, 2016 Author Share Posted August 20, 2016 Hi Luke - thanks for implementing the server fix. I have it all working great now - zap2it docker on unraid, cron generates new guide a few times/day (2 weeks data) I just manually have to delete the dtd line so as soon as your server fix is in place it will all be automatic. thanks again for all of the replies on this Link to comment Share on other sites More sharing options...
Luke 37008 Posted August 20, 2016 Share Posted August 20, 2016 It wasn't a fix, it's still bad xml. Link to comment Share on other sites More sharing options...
Econaut 1 Posted December 3, 2017 Share Posted December 3, 2017 zap2it is returning endless internal error 500's after using it one time. [I] Parsing: SH027603110000 Getting: http://tvschedule.zap2it.com/tvlistings/gridDetailService?pgmId=SH018142550000 [Attempt 1] 500 Can't connect to tvschedule.zap2it.com:80 Link to comment Share on other sites More sharing options...
Luke 37008 Posted December 3, 2017 Share Posted December 3, 2017 Have you tried contacting them about this? Link to comment Share on other sites More sharing options...
Econaut 1 Posted December 11, 2017 Share Posted December 11, 2017 Have you tried contacting them about this? I haven't but it seems to be working regardless. The icons it grabs however are extremely low resolution and only some have working transparency. Link to comment Share on other sites More sharing options...
tdiguy 96 Posted December 12, 2017 Share Posted December 12, 2017 I just finished using zap2xml with a CONNECT and its extremely easy. I think it only works for the US though. http://zap2xml.awardspace.info/ Just follow the first 5 steps, point emby server to the XMLTV file and map your channels. If you want channel and program icons embedded in the XML: (took ~10 minutes for 3 channels) C:\Path\to\Zap2XML\zap2xml.exe -u user@email.com -p password -i icon-folder-name -I it grabs 7 days at a time so once you get it working the way you like, setup a weekly task with a batch file or cron job. Hope this helps. This is very similar to how i have zap2xml running, except i am on ubuntu. I am curious, does this also download the channel icons? I am trying to get that working on my system. Link to comment Share on other sites More sharing options...
Econaut 1 Posted December 12, 2017 Share Posted December 12, 2017 (edited) This grabs icons but they are horrible quality: ./zap2xml.pl -u [USER] -p [PASS] -i icons -A "new" -D -I Rename icons if needed. Only difference is it's Ubuntu so the ./zap2xml.pl & I also have some extra params: -D = include extra program details = 1 extra http request per program! -A "new live" = append " *" to program titles that are "new" and/or "live" Edited December 12, 2017 by Xen0sys Link to comment Share on other sites More sharing options...
tdiguy 96 Posted December 12, 2017 Share Posted December 12, 2017 The command i have been using is sudo ./zap2xml.pl -z -u ***** -p ******* -D 7 -d -J -i /media/emby/guide/icons2/ -I Is it supposed to be the path to the directory i want it to store icons? Link to comment Share on other sites More sharing options...
Econaut 1 Posted December 13, 2017 Share Posted December 13, 2017 The command i have been using is sudo ./zap2xml.pl -z -u ***** -p ******* -D 7 -d -J -i /media/emby/guide/icons2/ -I Is it supposed to be the path to the directory i want it to store icons? If it works that should be fine. It doesn't really specify if a path is acceptable: -i <iconDirectory> (default = don't download channel icons) 1 Link to comment Share on other sites More sharing options...
tdiguy 96 Posted December 13, 2017 Share Posted December 13, 2017 Thank you very much. I am pretty sure icons are working for me now. I also bumped up the number of days for tv guide to 14 and gdamn my tv guide is nearly a gig in size. Link to comment Share on other sites More sharing options...
Luke 37008 Posted December 14, 2017 Share Posted December 14, 2017 Well done ! Link to comment Share on other sites More sharing options...
phi303 11 Posted December 21, 2017 Share Posted December 21, 2017 Sorry, completely new to LiveTV here, so in order for this to work and make sure that there's an xml file for emby to pull from my bat file should look like this?: C:\Path\to\Zap2XML\zap2xml.exe -u user@email.com -p password -i icon-folder-name -I -o <embyxmltv.xml> -J <xmltv> ? Link to comment Share on other sites More sharing options...
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