Jump to content

Pseudo TV for Emby


Recommended Posts

TZTZoro
Posted (edited)

it is not @VicMoore

Nevermind, fixed it it was on my end, it works

Edited by TZTZoro
VicMoore
Posted (edited)

I made a mistake and left out a couple of classes that make selections possible. The corrected code is below.

 

I am still fixing the problem

 

Vic

 

Edited by VicMoore
  • Like 1
new_german_guy
Posted

Good work, I like it very much and everything works 🙂

If the bumpers come back now, I'll be happy ☺️

VicMoore
Posted

@new_german_guyI will be enabling bumpers soon.  I just need to finish debugging things.  I broke selecting files and I am fixing it now.

Vic

new_german_guy
Posted
3 minutes ago, VicMoore said:

@new_german_guyI will be enabling bumpers soon.  I just need to finish debugging things.  I broke selecting files and I am fixing it now.

Vic

okay thank you 🙂
 

Is it possible to remove the charging circuit between episodes ? 

I think that could work, because in another plugin(virtualtv), it does not exist.

Then it would be really perfect. 🙂

VicMoore
Posted

@new_german_guywhat is the "charging circuit" between episodes ?

Vic

new_german_guy
Posted
17 minutes ago, VicMoore said:

@new_german_guywhat is the "charging circuit" between episodes ?

Vic

I mean the loading circle. the stream closes briefly and then opens the next video.this change between.

If I have time, I can upload a video later, to explain it better🙂

Posted

The GUI is very intuitive. I will have more specific feedback on this as I play with it more. Is there a way to filter on directors/actors/writers? Would love to have a channel for example like Tarantino Movies, Brad Pitt Movies, etc.

VicMoore
Posted

The problem selecting items both by clicking the checkbox or by clicking the image has been fixed.  If you click a folder it will give you the contents of the folder.  Click the checkbox for a folder then it selects the folder.

The corrected code is attached below.  I will give it a through testing tonight. 

Vic

PseudoTV.zip PseudoTV.dll

VicMoore
Posted (edited)

@bfir3yes you can search on people.  Use the Formula filter and search on Artists.  

 

Vic

Edited by VicMoore
Posted (edited)
12 minutes ago, VicMoore said:

@bfir3yes you can search on people.  Use the Formula filter and search on Artists.  

 

Vic

Can you share an example? For example I'd like movies directed by Quentin Tarantino, so not items where he's a producer or writer and not a director.

 

Actually I'm guessing since we are querying the emby API from pseudotv I should check the emby documentation about artist queries so I will do that and see if I can figure it out.

 

edit: For example I've tried:

image.png.8e48d2e178a0b528bd76c03235e6a3d4.png

 

And it seems to return every movie in my library:

image.png.694db0c4de781337aebc1817f066ea59.png

Edited by bfir3
TZTZoro
Posted (edited)

@bfir3since you know how to find the console, if you check which querries are created by checking the console log or the network tab(recommened because this is 100% the sent query) in the dev tools you can see what query is being sent, then you can compare it to the swagger docs

but for your case it seems like you need to use person
image.thumb.png.2376363c45f97aa1ad133aa9edffee4f.png

image.png.dd23de41e6f2b15734a4e08a73d35362.pngcreating such a query by using
/Items?Recursive=true&Person=Morgan&IncludeItemTypes=Movie
Does also return all items, i think it is a bug from Emby side not much that can be done besides adding manual filtering

When i was playing around with the rest api there were more like this which did not work as expected

Edited by TZTZoro
Posted
6 hours ago, TZTZoro said:

@bfir3since you know how to find the console, if you check which querries are created by checking the console log or the network tab(recommened because this is 100% the sent query) in the dev tools you can see what query is being sent, then you can compare it to the swagger docs

but for your case it seems like you need to use person
image.thumb.png.2376363c45f97aa1ad133aa9edffee4f.png

image.png.dd23de41e6f2b15734a4e08a73d35362.pngcreating such a query by using
/Items?Recursive=true&Person=Morgan&IncludeItemTypes=Movie
Does also return all items, i think it is a bug from Emby side not much that can be done besides adding manual filtering

When i was playing around with the rest api there were more like this which did not work as expected

OK fair enough. Seems like an Emby issue for now then.

By the way, I'm seeing this a lot in the emby log, is it necessary? 

image.png.c622d4ced0b2ef2f79bea2c9f4bb10c1.png

VicMoore
Posted

@bfir3Yes these messages are required by Emby when media is being played. You don't have to log them. I log them so I can see what Emby is doing. 

Vic

new_german_guy
Posted (edited)
13 hours ago, new_german_guy said:

I mean the loading circle. the stream closes briefly and then opens the next video.this change between.

If I have time, I can upload a video later, to explain it better🙂

here you see what I mean, maybe you can change that, if not, it's not a big deal 🙂

but there are many things I like more in your plugin

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

+ it feels like real live TV

+ your gui looks better

+it is easier, to select individual episodes

 

all in all, a very good job🤩

 

record pseudotv.mkv record virtualtv.mkv

Edited by new_german_guy
  • Like 1
VicMoore
Posted (edited)

@new_german_guythanks for the kind words. The TV Platform on which PseudoTV is built was written by @Luke. He plans in the future to enhance this code so that playlists will not be required to force Emby clients to play media at the current time in the EPG, rather than always starting at the beginning of the media.  This will resolve the problem you mentioned above.

We are now working on completing Bumpers.  This code should be completed soon.  If you have suggestions please let us know.

Vic

Edited by VicMoore
  • Thanks 1
new_german_guy
Posted (edited)
On 5/31/2024 at 1:56 PM, VicMoore said:

@new_german_guythanks for the kind words. The TV Platform on which PseudoTV is built was written by @Luke. He plans in the future to enhance this code so that playlists will not be required to force Emby clients to play media at the current time in the EPG, rather than always starting at the beginning of the media.  This will resolve the problem you mentioned above.

We are now working on completing Bumpers.  This code should be completed soon.  If you have suggestions please let us know.

Vic

okay, that's very good news. I'm looking forward to testing it out 🙂 

does the tv guide have to be updated every few days? or does this happen automatically so that it doesn't become empty ?

Will the bumpers still be listed in the TV guide or will they be hidden? 🙂

Edited by new_german_guy
VicMoore
Posted

@new_german_guyThe bumpers will be in the tv guide.  At the moment I don't have the TV guide automatically updating.  I disabled it to simplify testing.  

I have finished the bumpers code and it seams to be working OK.  I will test it a bit more and then post it for you to try out.

Vic

  • Thanks 1
VicMoore
Posted

Everyone, attached below is the code for bumpers.  I have tested it, but not exhaustively.  Let me know if you discover bugs and I will fix them ASAP.

Vic

PseudoTV.dll PseudoTV.zip

  • Like 1
feerlessleadr
Posted
8 minutes ago, VicMoore said:

Everyone, attached below is the code for bumpers.  I have tested it, but not exhaustively.  Let me know if you discover bugs and I will fix them ASAP.

Vic

PseudoTV.dll 248 kB · 0 downloads PseudoTV.zip 952.57 kB · 0 downloads

Thanks @VicMoore!

Were you able to fix the bug I raised in the below post?

https://emby.media/community/index.php?/topic/124492-pseudo-tv-for-emby/&do=findComment&comment=1360636

VicMoore
Posted

Sorry @feerlessleadrI forgot to look at that bug.  I will work on it today.  I put all of my time into fixing bumpers.  Let me know if you find any other bugs.

Vic

new_german_guy
Posted (edited)
2 hours ago, VicMoore said:

@new_german_guyThe bumpers will be in the tv guide.  At the moment I don't have the TV guide automatically updating.  I disabled it to simplify testing.  

I have finished the bumpers code and it seams to be working OK.  I will test it a bit more and then post it for you to try out.

Vic

thanks, I already tested it and everything seems to work 😊 

for me it is great that only one bumper is played , but others might want to decide for themselves how many bumpers are played.

With the other GUI it was still possible to choose how many bumpers should be played. But it didn't work, instead 3 were always played, even though you only selected 1.That's why I don't know if it would be a good choice to be able to choose the number of bumpers again 🤔

For me it is good as it is. 😊

 

Will it be possible in the future to hide the bumpers in the TV guide without changing the other circumstances significantly?

otherwise just leave it as it is 🙂

Edited by new_german_guy
feerlessleadr
Posted
1 hour ago, VicMoore said:

Sorry @feerlessleadrI forgot to look at that bug.  I will work on it today.  I put all of my time into fixing bumpers.  Let me know if you find any other bugs.

Vic

No worries at all! So far so good. 

VicMoore
Posted

@TZTZoroand I are working on the next release of the code. It adds "Channel Up" and "Channel Down" buttons and displays just one channel at a time.  This makes the channels easier to work with. It's also lightning fast because all that happens is that the visibility of table rows is either turned on or off. I am also improving the code that builds EPG channels, and the bumper code. Both should be ready tomorrow.

Vic

  • Thanks 1
VicMoore
Posted (edited)

Everyone, I added viewing channels one channel at a time, improved how programs and bumpers are interleaved, and increased the overall speed of the code.  I have only tested the code for a short while, so I may have broken something.  @TZTZorohas also improved the GUI and the HTML code.

Please let me know about any bugs or improvement suggestions.

Vic

==> Well I did break something - I am fixing it now - I will post the code again this afternoon

The sort order is not always being followed.  I will fix this ASAP

The code below is OK and will give everyone a good feel for the GUI.

 

PseudoTV.dll

Edited by VicMoore
  • Like 3

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...