Jump to content

Pseudo TV for Emby


Recommended Posts

VicMoore
Posted

I am making great progress even though family duties come first.  I am reorganizing the code to make it easier to read and modify. I will have something to post soon.

Vic

  • Like 1
Thrackerzod
Posted

Take your time! Family is always top priority. We appreciate your work on this. I'm using it to great effect already!

new_german_guy
Posted

great work you have done here, with the latest version of the plugin 😊

 

but I noticed that these functions only work under Windows :

On 5/31/2024 at 10:13 AM, new_german_guy said:

but there are many things I like more in your plugin

+ rewind function is disabled
+ Skipping to the next episode is blocked

But I think that was the case with previous versions as well. At least I had previously only tested it under Windows 11.

But now I was able to test it on Android smartphone, Samsung TV, Android TV and Amazon Fire TV and here I could see that these functions did not work exactly as they did on Windows 11.

It would of course be nice if the plugin would work identically on all platforms in the future 🙂

 

By the way, is there a plan to include a function that allows you to select how many episodes of a particular series should be loaded into the TV guide? 

VicMoore
Posted

Attached below is the latest code. I tested it yesterday by creating many channels and it worked fine.  Bumpers and a third filter have been added. In addition, @TZTZorohas cleaned up the HTML and CSS to give the GUI a nice crisp look. I could have missed a problem, so tread lightly when using the code.  For those following the source code, the lines of code have been greatly reduced and everything has been reorganized to make the code more readable.

Please alert me to bugs, and I will fix them right away. Also let me know if the code is working OK.

Vic

PseudoTV.dll PseudoTV.zip

  • Like 2
VicMoore
Posted

Is it working OK?

Vic

VicMoore
Posted

I just discovered that I broke the "search filter" when I made the last changes to the code.  I will fix it today

Vic

feerlessleadr
Posted

Thanks Vic, been a bit busy with work, but plan to test this this week. Will let you know if the premiere date big is still hanging around. 

As an aside, do you have any plans on implementing the EPG guide update as a scheduled task?

VicMoore
Posted

@feerlessleadrYes I plan to update the guide via a scheduled task.  I am keeping everything simple until we get through debug.

Vic

  • Thanks 1
VicMoore
Posted

Well, the search filter is working OK after all.  My test was defective.

Vic

VicMoore
Posted

I have found an interesting problem. Bumpers play on one TV and fail to play on another TV.   Does anyone else have this problem?

Vic

VicMoore
Posted

I made one small addition. When adding files, clicking the "prev Page" now returns you to the pervious page where you left off, rather than always at the top of the listing.

vic

PseudoTV.zip PseudoTV.dll

  • Like 1
  • Thanks 1
VicMoore
Posted

The bumper problem is with my bumpers.  I need a better source 🙂

I just noticed that I did not put the spinners back in.  

Vic

VicMoore
Posted

When finding files, the files were always listed alphabetically to simplify locating and selecting programs.  The side effect of this choice is that the "Sort By" for programs defaulted to "alphabetical".  So, I removed the code that forced alphabetical listings in favor of honoring the listing choice specified in the menu.  The consequence of this choice was that finding a particular program became difficult, because you had to search through all of the files one at a time.  For this reason, I added a simple find method at the top of the find file menu.  With it you can scroll the title you want to the top of the menu.

I also added the "loading" spinner back in.  Does anyone have any concerns or bugs to be fixed?

 

image.png.b692d2f74a527e1497dc88819dad8d70.png

PseudoTV.zip PseudoTV.dll

  • Like 2
new_german_guy
Posted

Everything works great, thanks 😊

Now it would be good if the EPG would update automatically, so that you do not always have to update manually and then the previous guide data is completely overwritten.

And for the future it would be nice if the bumpers were not displayed in the guide  🙂

 

@VicMoore @TZTZoroThank you again for your great work 🤩

 

VicMoore
Posted (edited)

@new_german_guyyes I agree, I will start working on it soon. The C# code is already done and is currently in the TV platform. When @Luke wrote the platform code, he allowed the EPG data to either be over written (which I am doing now for debugging) or for the new data to be added to the end of the current EPG data. I am delaying only because I want to flush out most of the bugs before adding any more code. I should get to it next week if no big problems are found. I have to go out of town to visit my son on Saturday and will return on Wednesday. I can start work then.

If you find any bugs or have ideas about how to improve channel building, please let me know.  

Vic

Edited by VicMoore
feerlessleadr
Posted
1 minute ago, VicMoore said:

@new_german_guyyes I agree, I will star working on it soon. The C# code is already done and is currently in the TV platform. When @Luke wrote the code, he allowed the EPG data to either be over written (which I am doing now for debugging) or for the new data to be added to the end of the current EPG data. I am delaying only because I want to flush out most of the bugs before adding any more code. I should get to it next week if no big problems are found. I have to go out of town to visit my son on Saturday and will return on Wednesday. 

If you find any bugs or have ideas about how to improve channel building, please let me know.  

Vic

Hi @VicMooreapologies I haven't had a chance to test yet, but were you able to squash the premiere order in EPG bug? 

VicMoore
Posted

@feerlessleadrYes, that should work now.  The "Sort By" specified should be honored.  Keep in mind that my code only creates a query string that is sent to Emby.  The heavy lifting of processing the query is done within the Emby server.  Please let me know if it is working the way you expected it to.

Vic

feerlessleadr
Posted
1 minute ago, VicMoore said:

@feerlessleadrYes, that should work now.  The "Sort By" specified should be honored.  Keep in mind that my code only creates a query string that is sent to Emby.  The heavy lifting of processing the query is done within the Emby server.  Please let me know if it is working the way you expected it to.

Vic

Ok great thanks! I will test today

feerlessleadr
Posted

@VicMooreMaybe I'm doing something wrong, but the EPG order by premiere date for more than 1 TV show is still not working for me. It's still ordering the episodes in episodic order by alternating show, rather than absolute premiere date. 

VicMoore
Posted

@feerlessleadrdid you set the sort order to what you want?

feerlessleadr
Posted
9 minutes ago, VicMoore said:

@feerlessleadrdid you set the sort order to what you want?

I believe I did - see below:

image.png.ae0f604ef76d4c7350d81a34d22d161e.png

EPG:

image.thumb.png.ebc1c08ec5974e437fd576892eb8d2c5.png

All episodes of SG-1 premiered before Stargate Universe, so it's stil showing up incorrectly. 

One other thing, I can't figure out how to switch channels to edit. Am I missing something?

VicMoore
Posted

@feerlessleadrYes, you set it correctly.  I will check the query sent to Emby today.  It's possible that the premiere dates of the folders are not  set. When you look at the EPG are the episodes within each folder in premiere date order?

You switch from channel to channel by clicking the channel up and channel down buttons.  The change happens so fast that you often have to look at the channel numbers to recognize that a channel change occurred. 

Vic

VicMoore
Posted

@feerlessleadrI see what the problem is. When TV series are added to a channel, the shows in those series are not played one after the other. Instead, they are interleaved. A show is taken from series 1, the next show comes from series 2, and so. Collectively the shows are played in the chosen order.  I will have to brain storm a bit to figure out how to do what you want.

Vic

  • Like 1
feerlessleadr
Posted

Thanks @VicMoore! Hopefully that solution will also allow us to add Movies into the premiere date conversation as well at some point 🙂

VicMoore
Posted

@feerlessleadrin a couple of months when everything is better debugged, lets rejoin this topic and try to come up with something new and interesting.

Vic

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...