Jump to content

Pseudo TV for Emby


Recommended Posts

Posted

I guess what I should have asked is if it is compatible with the Roku app when accessing a server outside of the local network.  What prompted my inquiry is that the Virtual TV plugin is not compatible with the Roku app in that scenario.  Thanks, Vic.

VicMoore
Posted

My daughter uses my Emby server from a ROKU TV over the internet.  Does that count?   

Vic

Posted

Sounds like it would.  I will definitely give it a try.  Thanks again, Vic.

VicMoore
Posted (edited)

Attached below is the latest code. I corrected a few bugs and made a few cosmetic changes.

Vic

 

 

 

 

PseudoTV.sln PseudoTV.dll

Edited by VicMoore
VicMoore
Posted

@TTiiMMDid the plugin work for your Roku app? If not, please send me your Console Log and perhaps I can fix the problem.

Vic

VicMoore
Posted (edited)

Clicking the "Save Channels & Update EPG" button, saves within the Emby TvTuner the channels that you have defined. If this tuner has to be updated the saved channels are lost.  Now your channel definitions are saved both within the TvTuner and within the Emby Plugin Configuration space. In addition, a new "Restore Last Saved" button has been added so you can retrieve your channel definitions whenever you like. 

 

image.png.9401dd309adf213cb27d951c011147c0.png

 

To update the TvTuner without losing your channel definitions, install this plugin, then click the "Save Channels & Update EPG" button.  This will save your channels in the Emby Plugin space. Next, delete the TvTuner.  Now when you click the "Live Tv" menu item, you will be asked to add a new TvTuner. Add the PseudoTv tuner.  This will bring up the buttons in the image above. Click the "Restore Last Saved" button to retrieve your channels.

vic

 

 

PseudoTV.dll PseudoTV.zip

Edited by VicMoore
VicMoore
Posted

@bingeondemanddid you have any more questions?

Vic

roofuskit
Posted (edited)

This morning I am getting no shows in any of my channels. I updated to the latest after that. Now when I try to update my guide it just hangs on the loading screen forever. Still nothing in the channels.

 

EDIT: I rolled back a version, the guide update completed, and some of the channels have now populated. But not all of them.

Screenshot 2024-08-01 093043.png

Screenshot 2024-08-01 092915.png

Edited by roofuskit
roofuskit
Posted

Would it be possible to have it only ignore un-watched episodes or even seasons instead of entire shows that are not completely watched?

VicMoore
Posted

Hello @roofuskitWhat browser are you using.  I have never run into this problem. Please bring up the browser console and send a copy to me.  I will try to fix this problem ASAP.

To answer your other question, I use the "watched" flag (Boolean true/false)  in the Emby objects for the media.  The only control over this flag is that I can set or reset it. That's the only watched info available.

if you set the property filter to "is Played", the results will include only watched episodes.  Select "is not Played" to include media that has not been watched.

vic

roofuskit
Posted
On 8/1/2024 at 2:41 PM, VicMoore said:

Hello @roofuskitWhat browser are you using.  I have never run into this problem. Please bring up the browser console and send a copy to me.  I will try to fix this problem ASAP.

Not sure which problem you are referring to, but it's not specific to a browser, the blank channels happened in all apps/browsers. The issue with it hanging when generating the EPG occurs in Firefox, but also when accessed from inside Emby Theater on Windows. I don't think it has anything to do with the browser.

roofuskit
Posted
On 8/1/2024 at 2:41 PM, VicMoore said:

if you set the property filter to "is Played", the results will include only watched episodes.  Select "is not Played" to include media that has not been watched.

That's not actually how it's working. If a show has any unwatched episodes, it will exclude the entire show. It seems to check the status of the show instead of individual episodes.

VicMoore
Posted

@roofuskitSorry for the slow response. I was away visiting my daughter. 

Emby only sets the played flag for a series after all of the episodes of a series are played. I will check to see if my belief here is true.  Yes, you are right that the query checks episodes. You can filter to include all of the played episodes or all of the un-played episodes. 

I have not tested the code on Fire Fox. I do use many of the new features of JavaScript and the various browsers have many differences.  I test only on Chrome and Edge. In my limited time that's all I can do.

When your system hangs, is it possible for you to send me the data in the browser console?  That way I can see what is happening.

Vic

roofuskit
Posted
On 8/4/2024 at 4:14 AM, VicMoore said:

@roofuskitSorry for the slow response. I was away visiting my daughter. 

Emby only sets the played flag for a series after all of the episodes of a series are played. I will check to see if my belief here is true.  Yes, you are right that the query checks episodes. You can filter to include all of the played episodes or all of the un-played episodes. 

I have not tested the code on Fire Fox. I do use many of the new features of JavaScript and the various browsers have many differences.  I test only on Chrome and Edge. In my limited time that's all I can do.

When your system hangs, is it possible for you to send me the data in the browser console?  That way I can see what is happening.

Vic

Chrome.

Screenshot 2024-08-07 083036.png

VicMoore
Posted (edited)

Thanks @roofuskit, to fix the problem I need to see the console. Press F12 then build the EPG by clicking the "Save Channels & Update the EPG" button. Now copy the Console data and send it to me. That way I can see what happened and can then fix it.

Vic

The latest code is attached below. I fixed a divide by zero problem that may be the problem you are experiencing.

PseudoTV.dll

Edited by VicMoore
roofuskit
Posted
17 hours ago, VicMoore said:

Thanks @roofuskit, to fix the problem I need to see the console. Press F12 then build the EPG by clicking the "Save Channels & Update the EPG" button. Now copy the Console data and send it to me. That way I can see what happened and can then fix it.

Vic

The latest code is attached below. I fixed a divide by zero problem that may be the problem you are experiencing.

PseudoTV.dll 410 kB · 2 downloads

Without trying the new plugin here is the console log. I will post another update once I've tried the new version.

192.168.1.115-1723122499813.log

roofuskit
Posted
17 hours ago, VicMoore said:

Thanks @roofuskit, to fix the problem I need to see the console. Press F12 then build the EPG by clicking the "Save Channels & Update the EPG" button. Now copy the Console data and send it to me. That way I can see what happened and can then fix it.

Vic

The latest code is attached below. I fixed a divide by zero problem that may be the problem you are experiencing.

PseudoTV.dll 410 kB · 3 downloads

Same issue with the update. New log file post update.

192.168.1.115-1723122672770.log

VicMoore
Posted

Thanks @roofuskitI will study the log files right now.

Vic

VicMoore
Posted

@roofuskitI see the problem.  I will fix it ASAP.  I will try to post new code this afternoon.

Vic

VicMoore
Posted (edited)

@roofuskitGive the plugin below a try.  I was not able to duplicate your problem, but I did fix the problem from the log you sent.  I was not able to test it, so let me know if it works.  I greatly appreciate you bringing this bug to my attention.

Vic

PseudoTV.dll

Edited by VicMoore
roofuskit
Posted
6 hours ago, VicMoore said:

@roofuskitGive the plugin below a try.  I was not able to duplicate your problem, but I did fix the problem from the log you sent.  I was not able to test it, so let me know if it works.  I greatly appreciate you bringing this bug to my attention.

Vic

PseudoTV.dll 410 kB · 2 downloads

That seems to have fixed the hanging issue. Thank you for the lightning fast turn around, and again for this plugin!

roofuskit
Posted
6 hours ago, VicMoore said:

@roofuskitGive the plugin below a try.  I was not able to duplicate your problem, but I did fix the problem from the log you sent.  I was not able to test it, so let me know if it works.  I greatly appreciate you bringing this bug to my attention.

Vic

PseudoTV.dll 410 kB · 2 downloads

Search filter seems to be broken. No matter what I put nothing comes up in the preview when I use it. All my channels that rely on search filter are blank now.

VicMoore
Posted (edited)

@roofuskitI may have broken something.  Do the other filters work OK? I will check the search filters tonight.

Vic

Edited by VicMoore
VicMoore
Posted

@roofuskitI just duplicated the search filter problem.  All the other filters work fine.  I will fix this bug ASAP.

Vic

VicMoore
Posted

@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

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