all4dom 101 Posted September 19, 2024 Posted September 19, 2024 @VicMoorethank you for taking the time to comment. I am going to give it a try soon but just wanted to make sure i unserstood the basics. 1
VicMoore 754 Posted September 19, 2024 Author Posted September 19, 2024 I have fixed the radio buttons that select "New EPG" or "Append to EPG". I also fixed the "refresh EPG" in "Scheduled Tasks". I will test these and other fixes today and tomorrow and will then post the DLL and source code. Vic
connorscott1 0 Posted September 20, 2024 Posted September 20, 2024 Hello Vic, Seems I now have an appropriate gist of your plugin's functionality - very cool idea! I had skimmed some early pages and it wasn't until the last that I realized this wasn't an iptv-related plugin I'll have to spend some time configuring my still-vanilla server to leverage all of what's out there - but this is definitely on the list! Other than engaging you (one of) the dev, I could also lend support of my own in case you could make use of it. For example, would be happy to draft up some copy for a proper introduction to the plugin and features, so it's immediately clear what it enables i'm totally outing myself here as having not used Windows in over a decade, but - this being a .dll, I imagine you've not tested (even with WINE-like equivalents) on Linux or Mac OS? I hop between both, but currently host Emby in a convoluted-of-sorts Debian environment (well, as a Docker container under CasaOS, and CasaOS itself running as an LXC container under my Proxmox VE homelab server...). If this is uncharted waters, I could possibly take a crack at adapting the codebase if compatibility is needed - or perhaps Emby just gracefully handles .dlls in a host-agnostic way? Keep up the great work, Vic!
VicMoore 754 Posted September 20, 2024 Author Posted September 20, 2024 (edited) The latest code is attached below. The problems with "Scheduled Tasks", the radio buttons for selecting new EPG or append to current EPG, and the code for building the EPG have been fixed. In fact, the code that builds the EPG has been completely replaced. Vic Edited October 9, 2024 by VicMoore
VicMoore 754 Posted September 20, 2024 Author Posted September 20, 2024 Hello @connorscott1Thanks for the kind words. This project is open source, and we welcome all contributions. The current code was written by myself and @TZTZoro. The code was written for Chrome and Edge browsers. We have tried to keep the code as compatible with other browsers as possible. We have limited time, so extensive testing is not possible. Welcome @connorscott1 Vic
fillidill 175 Posted September 20, 2024 Posted September 20, 2024 @VicMooreAnything I have to do make the refresh EPG button appear in scheduled tasks? I can't find any such button even though I installed the latest version you posted.
VicMoore 754 Posted September 20, 2024 Author Posted September 20, 2024 @fillidillsee the image below. You should see this option when any "TV Source" is installed. Vic
fillidill 175 Posted September 20, 2024 Posted September 20, 2024 @VicMooreMaybe I am misunderstanding but when clicking that, the content my channels are playing stays the same. The channels are not re-built so to speak. I've tested multiple times.
VicMoore 754 Posted September 20, 2024 Author Posted September 20, 2024 (edited) @fillidillYes, that is correct. The EPG data is truncated to the current date and time. No new EPG data is loaded until the current data is consumed. This is why when the EPG is created, you have a choice to create an entirely new EPG or to append the new EPG data to the end of the current EPG data. This is my understanding, and I could be wrong. Vic Edited September 21, 2024 by VicMoore
VicMoore 754 Posted September 21, 2024 Author Posted September 21, 2024 @fillidillI sent a note to the Emby plugin forum, asking if my assumptions about "Refresh Guide" are correct. Vic 1
TZTZoro 26 Posted September 23, 2024 Posted September 23, 2024 (edited) @connorscott1 you can install any plugin you want, the emby containers contain all the runtime requirements and such to run emby or other ways that emby is packaged, i do not have windows either i compile the .dll directly to my server and reboot emby and it works. you just need to setup your dev enviroment correctly if you want to make any changes, else the .dll is just plug and play Edited September 23, 2024 by TZTZoro
VicMoore 754 Posted September 25, 2024 Author Posted September 25, 2024 Thanks @TZTZorofor answering the question. Vic
VicMoore 754 Posted October 1, 2024 Author Posted October 1, 2024 I just noticed that the plugin is playing the first few days of the tv guide over and over again. This is caused by a simple oversight on my part. I will try to fix it tomorrow. After the big hurricane there are a lot of limbs to be cleaned up in the yard. This may hamper my computer time. Even so, I will get this bug fixed ASAP. This fix will also fix the scheduled task for TV Guide refresh. For those following the thread between @mickle026and myself, the plugin code now includes a Web Route between the JS and C# code. Vic 1
VicMoore 754 Posted October 2, 2024 Author Posted October 2, 2024 I have finished rewriting the C# that builds the TV Guide. It now properly moves across the channel data created by the GUI. I will test this code today and tomorrow and then it will be posted. The C# code is much easier to understand. Vic
VicMoore 754 Posted October 2, 2024 Author Posted October 2, 2024 (edited) Attached is the latest code. I am still testing it. Vic Edited October 9, 2024 by VicMoore
VicMoore 754 Posted October 2, 2024 Author Posted October 2, 2024 @mickle026I am greatly enjoying studying the plugin you sent me. I will obey the conditions you specified. The code is so cool. Thanks, Vic
mickle026 650 Posted October 3, 2024 Posted October 3, 2024 14 hours ago, VicMoore said: @mickle026I am greatly enjoying studying the plugin you sent me. I will obey the conditions you specified. The code is so cool. Thanks, Vic Thanks @VicMoore, I hope the code and the code I shared in the Developer Api section helps you to use the WebRoutes and the EPG into classes in the C# to improve your already great plugin from the server side and scheduled task. I know there is quite a lot to take in, but I believe that you'll get there much quicker than I did.
VicMoore 754 Posted October 3, 2024 Author Posted October 3, 2024 @mickle026Yes I now understand WebRouts. I greatly appreciate the tutoring. My C# skills are also improving. Question, I am curious what country in western Europe do you live in? Vic
mickle026 650 Posted October 3, 2024 Posted October 3, 2024 7 minutes ago, VicMoore said: @mickle026Yes I now understand WebRouts. I greatly appreciate the tutoring. My C# skills are also improving. Question, I am curious what country in western Europe do you live in? Vic England, UK
VicMoore 754 Posted October 3, 2024 Author Posted October 3, 2024 (edited) @mickle026A question that has been on my mind all day. If I submit a html form, will it show up at the POST endpoint we defined in the C# code? Vic Edited October 3, 2024 by VicMoore
mickle026 650 Posted October 3, 2024 Posted October 3, 2024 (edited) 45 minutes ago, VicMoore said: @mickle026A question that has been on my mind all day. If I submit a html form, will it show up at the POST endpoint we defined in the C# code? Vic I believe a form submit default is GET, but you can change that to POST, the action url would be the same as your endpoint webroute <form class="product-form" action="/admin/add-product" method="POST"> I dont think it would be json encoded though... so might have to read it as a stream and decode it yourself at the server side. I never tried this, so if you do let me know. You could dump it to a text file, like I showed you with the EPG json server side saving, and see what it is. Does this help? Edited October 3, 2024 by mickle026
VicMoore 754 Posted October 3, 2024 Author Posted October 3, 2024 @mickle026Yes that's very helpful. I am going to give it a try this weekend; Thanks, Vic
VicMoore 754 Posted October 3, 2024 Author Posted October 3, 2024 Attached below is the latest code. The code worked perfectly over the 24-hour test. I have only one thing to add. In the C# code I will check to confirm that the scheduled task for refresh TV guide is set properly. If it's not set, then I will set it. The PseudoTV code is getting close to being finished and debugged. If anyone has any problems, please report them ASAP so I can fix them. Vic PseudoTV.zip PseudoTV.dll
fillidill 175 Posted October 4, 2024 Posted October 4, 2024 @VicMooreHello Vic! Great work. I have found another thing you maybe want to look at I've added a channel that is populated with videos from a library of type "Home videos & photos" where I have automatically downloaded game trailers but it seems to fail to generate a channel correctly. The Live TV source is created but with error (see attached log) and when clicking on the channel to play it gives me "Object reference not set to an instance of an object.". Is it possible to support this library type? And one more question but that is maybe out of your scope. It seems videos that are played don't have the same default subtitle selection as when playing them normally in Emby. Some of my media have DVDSUB as well as srt and for some reason DVDSUB is chosen instead of the usual srt. emby.log
VicMoore 754 Posted October 4, 2024 Author Posted October 4, 2024 Good morning @fillidillThe log shows that your first channel has no content. That caused the error. Could you please send me a copy of your browser console when you finish building the EPG? That will tell me what went wrong. It would also help to know how you were building the channel. That way I could duplicate the problem. I don't have an answer for your DVDSUB question. PseudoTV does not play the content added to the EPG. Playing content is in the EMBY domain. I will check to make sure I am not doing anything stupid that might change the choices EMBY makes. Vic
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