roofuskit 2 Posted August 9, 2024 Posted August 9, 2024 2 hours ago, VicMoore said: @roofuskitThe problem is fixed. I had accidently hit a key on the keyboard and inserted a ";" into the code. The new code is attached below. Thanks again for bringing this problem to my attention. Vic PseudoTV.dll 410 kB · 1 download That fixed it for me as well. Thank you! 1
VicMoore 754 Posted August 12, 2024 Author Posted August 12, 2024 I just rewrote the code that builds the EPG from the channel definitions given in the GUI. I simplified the code and made it easier to understand. I currently create EPG data for three weeks. The tv platform loads only 7 days of this data. I will soon add code to reload the EPG every 7 days to consume all of the data. Vic
VicMoore 754 Posted August 28, 2024 Author Posted August 28, 2024 I forgot to mention that last week I added the "Emby Schedule Task" functionality to the CS code in the plugin. You can now schedule when you want the TV Guide refreshed. Vic 1
VicMoore 754 Posted September 1, 2024 Author Posted September 1, 2024 (edited) I made a dumb mistake. While testing a few new ideas I commented out some code for testing. This caused the state not to be saved. The problem is corrected in the code below. Vic ALSO: I fixed another problem that prevents the plugin from displaying the first screen. PseudoTV.dll PseudoTV.zip Edited September 2, 2024 by VicMoore 2
VicMoore 754 Posted September 4, 2024 Author Posted September 4, 2024 I noticed a bug that can cause the plugin to hang. It has to do with the CS code that refreshes the TV Guide. If you are having this problem, use the plugin dll below. I will have the bug fixed as soon as I can get to it. Let me know if you are experiencing this problem. Vic PseudoTV.dll
VicMoore 754 Posted September 6, 2024 Author Posted September 6, 2024 I am rewriting the "Scheduled Task" and the "Build EPG" code for PseudoTv. I just want to make them better. Vic
VicMoore 754 Posted September 8, 2024 Author Posted September 8, 2024 Attached is the latest code. Vic PseudoTV.zip PseudoTV.dll
fillidill 175 Posted September 14, 2024 Posted September 14, 2024 @VicMoore As soon as I try to add a query from a library with type "Home videos & photos" I get the following when generating channels using the latest version. Is this type not supported? 2024-09-14 18:30:17.007 Error LiveTvManager: Error getting programs for channel Comedy TV Channel *** Error Report *** Version: 4.8.8.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 4.4.302+ (root@build5) (gcc version 12.2.0 (GCC) ) #69057 SMP Fri Jan 12 17:02:28 CST 2024 Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 4 Data path: /config Application path: /system System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. at PseudoTV.PseudoTVTuner.CreateChannelSchedule(TunerHostInfo tuner, String tunerChannelId) at PseudoTV.PseudoTVTuner.EnsureChannelSchedule(TunerHostInfo tuner, String tunerChannelId) at PseudoTV.PseudoTVTuner.GetProgramsInternal(TunerHostInfo tuner, String tunerChannelId, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken) at MediaBrowser.Controller.LiveTv.BaseTunerHost.GetProgramsAsync(TunerHostInfo tuner, ChannelInfo tunerChannel, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken) at Emby.LiveTV.EmbyTV.GetProgramsAsync(ChannelInfo channel, List`1 listingsProviders, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken) at Emby.LiveTV.LiveTvManager.RefreshEmbyChannelsInternal(IProgress`1 progress, CancellationToken cancellationToken) Source: PseudoTV TargetSite: PseudoTV.ChannelSchedule CreateChannelSchedule(MediaBrowser.Model.LiveTv.TunerHostInfo, System.String) 2024-09-14 18:30:17.008 Info TaskManager: Refresh Guide Completed after 0 minute(s) and 0 seconds
VicMoore 754 Posted September 16, 2024 Author Posted September 16, 2024 Hello @fillidill I will check this error report out ASAP. I will report back later today. Vic
VicMoore 754 Posted September 16, 2024 Author Posted September 16, 2024 @fillidillI have duplicated the problem. It's a bug in my code. I am working on fixing it. Thanks so much for reporting this problem. Vic 1
VicMoore 754 Posted September 17, 2024 Author Posted September 17, 2024 @fillidillplease try the plugin below. It should fix the problem. The bug was in the plugin code that creates the EPG contents from the channel definitions. It's a very small amount of code because the Emby Server does all of the work. The bug came about because I was trying to be cleaver with the code and shot myself in the foot. I will rewrite the code soon. I will make it simple and easy to check. Thanks @fillidillfor reporting this problem. Vic PseudoTV.dll
fillidill 175 Posted September 17, 2024 Posted September 17, 2024 @VicMoore Happy to help! Unfortunately that didn't seem to help with the new .ddl (v1.0.6.88). I've attached my log. embyserver.txt
VicMoore 754 Posted September 17, 2024 Author Posted September 17, 2024 Ah! There is a second problem. I am working on it. Sorry for not finding all of the problems. I am going to rewrite the entire subroutine. But, in the meantime I will look for a quick fix. Thanks @fillidillagain for reporting this problem. Vic
VicMoore 754 Posted September 17, 2024 Author Posted September 17, 2024 @fillidillCould you please send me a copy of your Browser console? Vic
fillidill 175 Posted September 17, 2024 Posted September 17, 2024 @VicMoore Sure! Here it is. console.log
VicMoore 754 Posted September 17, 2024 Author Posted September 17, 2024 @fillidillThanks for the data - I am working on the problem Vic 1
VicMoore 754 Posted September 18, 2024 Author Posted September 18, 2024 @fillidilltry this plugin. It's not finished but should work OK. The missing part is replicating the content to fix 2 weeks, if necessary. I rewrote a lot of code and made it much easier to expand and add new options. I appreciate that you helped me so much. Vic PseudoTV.dll
fillidill 175 Posted September 18, 2024 Posted September 18, 2024 @VicMooreThat solved it and I can't believe how quick it is to generate the channel Great work!
VicMoore 754 Posted September 18, 2024 Author Posted September 18, 2024 @fillidillGreat - I still have some work to do. It will take me a couple of days. You made all of this possible by reporting the bug. Vic 1
fillidill 175 Posted September 19, 2024 Posted September 19, 2024 Hello again! Yesterday I created a couple of channels in my test emby setup and it all worked. Today when I look at the channels they are all empty like they've run out of content to show. Is the content not looping if it comes to the end, so to speak? I can make them show stuff again if I in your interface click on "Save channels.." button but running the scheduled task for either "Refresh Internet Channels" or "Refresh Guide" does nothing. Is there any way to schedule a re-build of the channels? Or is this happening because you are still working on the code as you mentioned?
VicMoore 754 Posted September 19, 2024 Author Posted September 19, 2024 (edited) Hello @fillidillYes the EPG ran out of content. I am adding right now the code to fill up the 14 days of the EPG,. I disabled the scheduled refresh button for testing. Vic Edited September 19, 2024 by VicMoore
fillidill 175 Posted September 19, 2024 Posted September 19, 2024 @VicMooreTake your time and no stress I am just thankful for your development of this amazing plugin.
all4dom 101 Posted September 19, 2024 Posted September 19, 2024 I am thinkkng about ttuing the Pseudo plug in & if understand it correctly, the plug in will allow me to add my content into the live guide. I'm thinking I can make a channel that's only everybody loves Raymond, playing on order or.random, I can make a sci-fi channel taking all my tv shows or movies playing in a specific order or even make a comedy channel where it will take all my shows tagged as commedy & play in a specific order. Did I describe the plug in correctly? Thanks Dom
VicMoore 754 Posted September 19, 2024 Author Posted September 19, 2024 (edited) @fillidillThe new plugin below. It should fill out the entire EPG, regardless of the length of the data that you define. Let me know if it works as you expect. Vic PseudoTV.dll Edited September 19, 2024 by VicMoore
VicMoore 754 Posted September 19, 2024 Author Posted September 19, 2024 (edited) Hello @all4dom it's nice to hear from you. You are right about the plugin. PseudoTV is an open source project where users can request changes and add changes of their own. It's a new project so there will be bugs. In most cases the bugs are fixed in the same day they are reported. The latest plugin code is attached below. Please read the first post to learn how to install and use the plugin. I am always available to help. Vic Edited October 9, 2024 by VicMoore 1
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