Jump to content

VirtualTV plugin


pünktchen

Recommended Posts

Junglejim
1 hour ago, Dibbes said:

This also happens with a library scan, by the way... That's a bit of an issue since the average library scan takes over 6 hours

6h, wow.. that's a big set of library's right there! 😁

Link to comment
Share on other sites

Dibbes
34 minutes ago, Junglejim said:

6h, wow.. that's a big set of library's right there! 😁

about 3.2 million mediaitems in the database...

image.png.900a119a6280028ecdcf4be9b0679af5.png

Edited by Dibbes
  • Like 1
  • Haha 1
Link to comment
Share on other sites

pünktchen
31 minutes ago, Dibbes said:

about 3.2 million mediaitems in the database...

How many channels do you have? How long does the guide refresh run? Everybody where it runs faster should be good then.

  • Agree 1
Link to comment
Share on other sites

Junglejim
12 minutes ago, pünktchen said:

How many channels do you have? How long does the guide refresh run? Everybody where it runs faster should be good then.

I think most people/library's should be a little faster than @Dibbes.. That is huge..🤣

I personally have like 15 channels at the mo and a guide refresh takes like 15 seconds..(movies=411, shows=162, ep=4080). :)

Link to comment
Share on other sites

Dibbes
3 hours ago, pünktchen said:

How many channels do you have? How long does the guide refresh run? Everybody where it runs faster should be good then.

The guide refresh is about 11 hours, down from about 34hrs. That includes about 800 TV channels from various countries as well. (My family has dispersed all over Europe)

I'm still on the previous version, so with the old max of 30, with 3 disabled channels. At the moment I haven't found the energy yet, with all the Christmas travels and cheer, to note down all my channel settings and start from scratch on version 2.

I have some ideas on those channels as there seem to be unlimited now, but I need to test and plan that 🙂 

Edited by Dibbes
Link to comment
Share on other sites

pünktchen
43 minutes ago, Dibbes said:

The guide refresh is about 11 hours, down from about 34hrs. That includes about 800 TV channels from various countries as well.

😱 I'm curious about what alone the VirtualTV channels need of this time.

Link to comment
Share on other sites

Dibbes
1 minute ago, pünktchen said:

😱 I'm curious about what alone the VirtualTV channels need of this time.

The majority. At least over 10hrs. When I disabled the plugin a few months back by renaming the.dll, the refresh was about half an hour... I need to streamline this a little. I still have 30TB worth of archived stuff on slow, low cost storage... These populate 6 channels alone... 

Link to comment
Share on other sites

crusher11
On 12/30/2023 at 1:02 AM, crusher11 said:

What does "cache program data until TV guide runs empty" do?

Still waiting on an answer for this one.

Link to comment
Share on other sites

2 hours ago, crusher11 said:

Still waiting on an answer for this one.

Have you tried the latest update? Maybe he improved the help text on it.

Link to comment
Share on other sites

Dibbes

@pünktchenis there any way you can build some logging into this? I'd like to find out what the exact cause is this takes so long... is it just waiting for time-outs? is it scanning every single file for data?

Nevermind, I just found the debug logging tickbox in V2

Edited by Dibbes
Link to comment
Share on other sites

pünktchen
3 minutes ago, Dibbes said:

is it scanning every single file for data?

More or less, yes. Every library item (not the real file) from the paths you've selected is examined for data in every single condition.

In the new plugin there's an extra debug logging of the channel rules for a selected channel. But that will probably explode your log file. I will look into adding some time measurement.

  • Like 1
Link to comment
Share on other sites

pünktchen
14 hours ago, crusher11 said:

Still waiting on an answer for this one.

And i'm still waiting for feedback on your bug report 🤨

Link to comment
Share on other sites

Dibbes
5 minutes ago, pünktchen said:

But that will probably explode your log file

That's fine... the drive has enough space 🙂

  • Haha 1
Link to comment
Share on other sites

Dibbes

@pünktchenIs there a possibility to add a criteria here that says "Include only these named movies or TV shows"? I've tried the below, but that does not give me anything on the channel. I suppose I could split out the library into separate shows, and then get these added on Emby level, but that seems to defy the purpose of libraries. Another option would be to make the folder selection more granular and display subfolders to select specific series, but I'm not sure if that is the best option.

image.png.3cc259bbbce71ea1f4343673dfc63566.png

Edited by Dibbes
Link to comment
Share on other sites

pünktchen
2 hours ago, Dibbes said:

Is there a possibility to add a criteria here that says "Include only these named movies or TV shows"?

It should work like this without any other condition.

 

2 hours ago, Dibbes said:

I've tried the below, but that does not give me anything on the channel.

Because you are excluding everything with an asterisk.

  • Agree 1
Link to comment
Share on other sites

Dibbes
9 hours ago, pünktchen said:

It should work like this without any other condition.

That's the point, I get more than just what's in that condition box

9 hours ago, pünktchen said:

Because you are excluding everything with an asterisk.

The way I thought that was going to work was that everything is excluded, except for what's in the "always" condition 🙂
No worries, I'll find a way

Link to comment
Share on other sites

pünktchen
4 minutes ago, Dibbes said:

That's the point, I get more than just what's in that condition box

With which plugin version? I know it it wasn't working at some time, but i cannot replicate it anymore.

Link to comment
Share on other sites

Dibbes
2 minutes ago, pünktchen said:

With which plugin version? I know it it wasn't working at some time, but i cannot replicate it anymore.

the latest from the plugin store 2.0.0.1

Link to comment
Share on other sites

pünktchen

@Dibbes"Free Documentary" and "FreeDocumentary", is this the same show but in different libraries? If so, do both may have a few identical episodes?

Link to comment
Share on other sites

Dibbes

Yes, this is the same show in the same library in the same folder... these are Youtube downloads and the filenames are inconsistent.

I tried with either "Free Documentary", "FreeDocumentary" and both (no quotes obviously). Same result though.

Edited by Dibbes
Link to comment
Share on other sites

pünktchen
38 minutes ago, Dibbes said:

"Free Documentary"

Is this the show name or the folder name?

Maybe you can also try the channel rule debugging?

Link to comment
Share on other sites

Dibbes
36 minutes ago, pünktchen said:

Is this the show name or the folder name?

Maybe you can also try the channel rule debugging?

Both

Link to comment
Share on other sites

Dibbes
37 minutes ago, pünktchen said:

Maybe you can also try the channel rule debugging?

I'll give it a shot... however, the refresh has been hanging on 15% for the last 12hrs with a 20% CPU usage on the Emby process and not a thing in the log. Let's see when that finishes...

Link to comment
Share on other sites

pünktchen
15 minutes ago, Dibbes said:

I'll give it a shot... however, the refresh has been hanging on 15% for the last 12hrs with a 20% CPU usage on the Emby process and not a thing in the log. Let's see when that finishes...

You should have deactivated all other channels for a test case.

Link to comment
Share on other sites

Dibbes
37 minutes ago, pünktchen said:

You should have deactivated all other channels for a test case.

Agreed, but I only put in 12 (of which the other 11 have a populated guide) and I removed the other M3U TV sources... the channels from the previous plugin version have not deleted from the UI yet either... The DB seems locked as the log displays an open socket when opening a webpage, but the page takes 30min to load.

One of these days I should setup a test environment... until that days comes, testing takes a lot of patience 🙂

Edited by Dibbes
Link to comment
Share on other sites

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