domenic 33 Posted September 23, 2016 Share Posted September 23, 2016 Ok I have figured out how to recompile this plugin, and have been playing around with some of the code. It appears that it is all working but the data is just not being populated in the Guide. I have opened up a new Post https://emby.media/community/index.php?/topic/39482-guide-data-missing-or-not-displaying/ to discuss this. FYI... If anyone has taken a look at the code, the only change I would make is to remove the From date when the Plugin queries VDR for data. This date is always going to be the Current Date and Time (when you fetch the Gude data) and based on the Notes in the API call is not required as it defaults to the current date and time. Also when the Plugin logs information on "Collecting Program Information" I would change the display time to local time rather than UTC so it does not look wrong. Domenic 1 Link to comment Share on other sites More sharing options...
Luke 37099 Posted September 23, 2016 Share Posted September 23, 2016 Hi Domenic, I responded to your separate topic here: https://emby.media/community/index.php?/topic/39482-guide-data-missing-or-not-displaying/&do=findComment&comment=369698 Thanks. 1 Link to comment Share on other sites More sharing options...
domenic 33 Posted September 23, 2016 Share Posted September 23, 2016 (edited) this should correct the issue with guide data not populating from the current time. I still have an issue with some of the data not showing up in the guide. Change Log - removed from in API call to VDR - post program information in UTC time not local time - pass Ilogger to some API calls VdrLiveTV.zip Edited September 23, 2016 by domenic Link to comment Share on other sites More sharing options...
Luke 37099 Posted September 24, 2016 Share Posted September 24, 2016 Awesome, thank you ! Link to comment Share on other sites More sharing options...
domenic 33 Posted September 24, 2016 Share Posted September 24, 2016 new version fixes issues with invalid image URLs added when there are no images VdrLiveTV.zip Link to comment Share on other sites More sharing options...
joehoppe 32 Posted September 24, 2016 Share Posted September 24, 2016 Hey domenic, i tested your improvements. But i don't have epg data either some channel icons. Do I have the wrong resfulapi plugin? Link to comment Share on other sites More sharing options...
domenic 33 Posted September 24, 2016 Share Posted September 24, 2016 (edited) try the restful Api git I posted, as it is what I am working with and the new version! Note I can not test images, as I do not have any setup. Anyone have a tarball of images they could share? Edited September 24, 2016 by domenic 1 Link to comment Share on other sites More sharing options...
domenic 33 Posted September 24, 2016 Share Posted September 24, 2016 you also may want to clear out the program data by starting VDR with one channel, doing a guide scan, then restart VDR with the full channel list and scan again. Link to comment Share on other sites More sharing options...
joehoppe 32 Posted September 24, 2016 Share Posted September 24, 2016 Thanks for your reply, i installed the plugin version you posted before and i use your vdr plugin 0.3.2. I get the epg data from the rest server via browser request (image attached). But the data is not visible on the epg screen in emby. I have the channels but nothing more. But thanks a lot to you for improving this plugin Link to comment Share on other sites More sharing options...
domenic 33 Posted September 24, 2016 Share Posted September 24, 2016 Thanks for your reply, i installed the plugin version you posted before and i use your vdr plugin 0.3.2. I get the epg data from the rest server via browser request (image attached). But the data is not visible on the epg screen in emby. I have the channels but nothing more. But thanks a lot to you for improving this plugin please take a look in the Emby log file. when you press the "refresh guide data" button in manage server, live TV you should see all if the guide data in the log. Link to comment Share on other sites More sharing options...
hoppel118 37 Posted September 24, 2016 Share Posted September 24, 2016 (edited) try the restful Api git I posted, as it is what I am working with and the new version! Note I can not test images, as I do not have any setup. Anyone have a tarball of images they could share? Hello domenic, I am from germany and use the following images (channellogos): https://github.com/3PO/Senderlogos These are allmost complete. I use them with kodi -> vnsi -> vdr. I compiled the version of the restfulapi from github you mentioned before and copied your "VdrLiveTV-0.3.2" to the emby plugin folder this minute. At the moment emby server refreshes the guide. I will report back tomorrow if and how that worked for me. Did you see this restfulapi? https://github.com/yavdr/vdr-plugin-restfulapi It seems to be more "up-to-date". What do you think about it? I really appreciate your work on this plugin. Greetings Hoppel Edited September 24, 2016 by hoppel118 1 Link to comment Share on other sites More sharing options...
domenic 33 Posted September 25, 2016 Share Posted September 25, 2016 Ok I have installed images (thank you Hoppel!) and updated the restfull api to the one Hoppel has noted above. I found a small issue with images, and now have another version. Thanks for all the testing! Note I still have missing program information. It is displayed in the log files but not in the guide or channel information. I will work on this in a seperate thread. version 0.3.4 attached below. Domenic VdrLiveTV.zip 1 Link to comment Share on other sites More sharing options...
domenic 33 Posted September 29, 2016 Share Posted September 29, 2016 (edited) One more small update, should speed up the load of program information a little. I removed the call (override) for GetProgramImageAsync. The plugin was attempting to get this data from the Restful api, but just like the call for GetChannelImageAsync all you need to supply is the URL. The small issue VDR provides one or more images for a Program but Emby will only accept one image. The workaround I used was to just pass the URL for the first image, if it exists. VdrLiveTV.zip Edited September 29, 2016 by domenic Link to comment Share on other sites More sharing options...
domenic 33 Posted September 29, 2016 Share Posted September 29, 2016 (edited) Is anyone using the program images feature of the restful Api? I am not certain how I would set this up, but would like to try it out to validate my code changes. Can anyone test this or provide some direction on how to set this up? Edited September 29, 2016 by domenic Link to comment Share on other sites More sharing options...
Luke 37099 Posted September 29, 2016 Share Posted September 29, 2016 what kind of direction? Link to comment Share on other sites More sharing options...
domenic 33 Posted September 29, 2016 Share Posted September 29, 2016 (edited) not emby direction, but VDR direction... sorry for the confusion Edited September 29, 2016 by domenic Link to comment Share on other sites More sharing options...
whytea 5 Posted October 24, 2016 Share Posted October 24, 2016 Hi, I'm very interested in this plugin. Is it planned to ship it as an official Live-TV plugin? - Daniel Link to comment Share on other sites More sharing options...
Luke 37099 Posted October 24, 2016 Share Posted October 24, 2016 This is community driven so by all means jump on and help. Thanks ! 1 Link to comment Share on other sites More sharing options...
domenic 33 Posted October 24, 2016 Share Posted October 24, 2016 it is functional right now, just a small issue with the loading of Guide data. Also for north american low definition TS streams FFMPEG is not mapping the streams properly. I have not reported this issue to the maintainer of FFMPEG yet, but it works fine with h254 streams. If I remove the two map entries on the FFMPEG command line it streams properly. Luke I was hoping that you could take a look at the code to see why the guide data is not being loaded, or debug from the emby side to see is any SQL errors are being generated when the guide data is being loaded. Domenic 1 Link to comment Share on other sites More sharing options...
hoppel118 37 Posted December 28, 2016 Share Posted December 28, 2016 (edited) Hello @@domenic any news on this? Didn't try the last version. But I bought an nvidia shield tv and saw the info about "Fast Channel Changing": https://emby.media/emby-for-nvidiashield.html I want to try it out in the next few days. Did you ever find the issue with the incomplete epg data? Where do I find the most recent version of the plugin? Is it the zip file in post #63? Greetings Hoppel Edited December 28, 2016 by hoppel118 Link to comment Share on other sites More sharing options...
Luke 37099 Posted December 28, 2016 Share Posted December 28, 2016 The latest version of the plugin can be found in the Emby plugin catalog, as far as I'm aware. Link to comment Share on other sites More sharing options...
domenic 33 Posted December 28, 2016 Share Posted December 28, 2016 (edited) Hello @@domenic any news on this? Didn't try the last version. But I bought an nvidia shield tv and saw the info about "Fast Channel Changing": https://emby.media/emby-for-nvidiashield.html I want to try it out in the next few days. Did you ever find the issue with the incomplete epg data? Where do I find the most recent version of the plugin? Is it the zip file in post #63? Greetings Hoppel I never did get this Populating the EPG fully. I would need to be able to work with a full development version of Emby, and be able to triage the SQL updates to see why it is not populating, and I don't have the time to learn more about Emby. Also it appears that when ffmpeg is called, the TS Streams are not working properly. The H254 Streams are fine. I have not tried this lately, maybe I will give it a try again to see if I can get it working, but I don't have a bunch of time... Domenic Edited December 28, 2016 by domenic 1 Link to comment Share on other sites More sharing options...
hoppel118 37 Posted December 28, 2016 Share Posted December 28, 2016 The latest version of the plugin can be found in the Emby plugin catalog, as far as I'm aware. That would be great! But I think it's not the case. The plugin catalogue for live tv shows the following plugins at my server: I never did get this Populating the EPG fully. I would need to be able to work with a full development version of Emby, and be able to triage the SQL updates to see why it is not populating, and I don't have the time to learn more about Emby. Also it appears that when ffmpeg is called, the TS Streams are not working properly. The H254 Streams are fine. I have not tried this lately, maybe I will give it a try again to see if I can get it working, but I don't have a bunch of time... Domenic Sadly it is such complicated. Thanks for all the time you investigate into this. I really appreciate your work! Where do I find the latest version of the plugin? How can we get the plugin into the plugin catalogue? Greetings Hoppel Link to comment Share on other sites More sharing options...
Luke 37099 Posted December 28, 2016 Share Posted December 28, 2016 Sorry, my mistake. I was confused between Vu+ and VDR. they are different applications? Link to comment Share on other sites More sharing options...
hoppel118 37 Posted December 28, 2016 Share Posted December 28, 2016 Yes, they are different applications. Bummer! 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