Jump to content

Top Picks support thread


chef

Recommended Posts

@Grim yes there inside its ok.
but on the Mainpage you are not able to sort them.

there they are wrong

 

 

It seems like 2 is missing so i removed the TV show which was behind it and also the other TV show interview with an vampire and it looks good know. Thats wierd.

 

 

without an TV show inside.
image.thumb.png.479d0192b105b9204de57c96ea09e167.png

 

Old with missing TV show and wrong numbers

image.thumb.png.b8487625f43178b0c1365070cbacaea5.png

Edited by UltraTM
Link to comment
Share on other sites

7 minutes ago, UltraTM said:

@Grim yes there inside its ok.
but on the Mainpage you are not able to sort them.

there they are wrong

 

 

It seems like 2 is missing so i removed the TV show which was behind it and also the other TV show interview with an vampire and it looks good know. Thats wierd.

 

 

without an TV show inside.
image.thumb.png.479d0192b105b9204de57c96ea09e167.png

 

Old with missing TV show and wrong numbers

image.thumb.png.b8487625f43178b0c1365070cbacaea5.png

You'll have to go into emby's settings and set uncheck "hide watched items from the home screen".

The only other thing, is parental controls may hide some items from the home screen if the user doesn't have access to it.

But, it is most likely the check box you need to change.

Link to comment
Share on other sites

GrimReaper
3 minutes ago, chef said:

You'll have to go into emby's settings and set uncheck "hide watched items from the home screen".

The only other thing, is parental controls may hide some items from the home screen if the user doesn't have access to it.

But, it is most likely the check box you need to change.

Dont think that's the issue as their first screenshot had all items

3 hours ago, UltraTM said:

Mainscreen (Homepage)

Mainside.png

And it was out of order.

Edit: I haven't tested with mixed Movies/TV shows, lemme see what I'll get.

Edited by GrimReaper
Append
Link to comment
Share on other sites

GrimReaper
10 minutes ago, GrimReaper said:

I haven't tested with mixed Movies/TV shows, lemme see what I'll get.

Nope, still getting them properly sorted on Latest row:

image.thumb.png.f7ded117b04566a469d62121d539dd9c.png

Link to comment
Share on other sites

Without the series i added i dont have the error about TopPick anymore in the log file and it works.
maybe you can look what the error is.
i posted the log a few posts before.

Link to comment
Share on other sites

Darkseidd
20 minutes ago, GrimReaper said:

Nope, still getting them properly sorted on Latest row:

image.thumb.png.f7ded117b04566a469d62121d539dd9c.png

since your no1 is movie, try this:

1. delete top picks library (or data)

2. set top picks setting to tv shows only

3. populate user engagement

4. update top picks. should get 1-9 correctly

5. set top picks to mix movie and tv shows

6. populate, then update again.

from my tests, old numbering thumbnail still gonna stick to item at 4. (tested on .44)

 

 

Edited by Darkseidd
Link to comment
Share on other sites

GrimReaper
15 minutes ago, Darkseidd said:

since your no1 is movie, try this:

1. delete top picks library (or data)

2. set top picks setting to tv shows only

3. populate user engagement

4. update top picks. should get 1-9 correctly

5. set top picks to mix movie and tv shows

6. populate, then update again.

from my tests, old numbering thumbnail still gonna stick to item at 4.

Not seeing same.

Result after 4.

image.thumb.png.4951dd30d42302ebac22825fb10d72fe.png

 

Result after 6.

image.thumb.png.bb22fe4a4992ef3ca3e445aea8ac9973.png

  • Thanks 1
Link to comment
Share on other sites

Darkseidd
34 minutes ago, GrimReaper said:

Not seeing same.

Result after 4.

image.thumb.png.4951dd30d42302ebac22825fb10d72fe.png

 

Result after 6.

image.thumb.png.bb22fe4a4992ef3ca3e445aea8ac9973.png

may i assume you have .nfo file enabled for all libraries? 😧

Link to comment
Share on other sites

GrimReaper
6 minutes ago, Darkseidd said:

may i assume you have .nfo file enabled for all libraries? 😧

Yep, all NFOs and artwork are local - and all meta-providers and image-fetchers disabled in Top Picks library. 

  • Thanks 1
Link to comment
Share on other sites

20 hours ago, chef said:

The original library item is in the database, yes you are correct.

But, when we create the strm file it isn't really the original. It points to the original.

So we name it, and copy it's NFO file.

If the user has enabled NFO files for their library we won't have any issues naming the strm file. Emby will read the NFO for metadata.

 

But, if the user doesn't have an NFO file to copy, then the library refresh is technically seeing the strm file as new item, and emby attempts to name it from the providers.

In the case of "Reacher" being named "The Teacher", Emby has mis-named it. 😬

Because  naming is happening inside the library refresh, we can't really control the results at that point (inside the scan).

I think we can add some provider IDs to our prefabricated NFO, and I'm  hoping that emby attempts to read the NFO during the library scan (I'm not sure if it does or not).

I have a feeling that it does read the NFO, and it fills in missing data, because we set a DateAdded node to the NFO, and it doesn't get overwritten during the scan, and we use this node to control where the item is placed on the home screen.

 

If that doesn't work, then the next step would be having to write the NFO from scratch using the database information.

 

I just have to figure out what the keys are named for the IDs inside the PrividerDictionary.

 

@Cheesegeezer, do you know what the keys are named inside the ProviderDictionary?

Are they:

Imdbid,

Tmdbid 

 

Like that? Otherwise, I'll just get an exception of key value pairs not found in the ProviderDictionary. 😆

I do not know one thing about how Emby handles all the provider information and .nfos, but I think that when a library scan happens it updates is internal database rather than relying on reading each individual .nfo when you access  an item. Getting all that needed information from the database and only for the top pick items should be way faster than doing a complete libary scan just in order to update the top picks. Getting the information from external providers also causes traffic, which could be avoided. 

Is there any documentation for plugins anywhere ? :D Maybe I could get a hint there ..... 

Link to comment
Share on other sites

Strider27

Hey @chef, thanks for a great plugin!

Unfortunately having similar issues with items out of order both on home screen and in the library section as well.

Have the "hide watched", disabled and sorted by date added in the library section.

Is there any way to disable the numbers from thumbnails alltogether?

Edited by Strider27
Link to comment
Share on other sites

12 minutes ago, Strider27 said:

Hey @chef, thanks for a great plugin!

Unfortunately having similar issues with items out of order both on home screen and in the library section as well.

Have the "hide watched", disabled and sorted by date added in the library section.

Is there any way to disable the numbers from thumbnails alltogether?

I could add that. However, I think I have fixed the issue in a upcoming release for tonight.

Bare with me while I try to get it sorted. 

Sorry for the inconvenience.

 

  • Thanks 1
Link to comment
Share on other sites

8 hours ago, woenk said:

I do not know one thing about how Emby handles all the provider information and .nfos, but I think that when a library scan happens it updates is internal database rather than relying on reading each individual .nfo when you access  an item. Getting all that needed information from the database and only for the top pick items should be way faster than doing a complete libary scan just in order to update the top picks. Getting the information from external providers also causes traffic, which could be avoided. 

Is there any documentation for plugins anywhere ? :D Maybe I could get a hint there ..... 

Do you have a GitHub account. 

If you are interested, I could get you on there.

You'd just have to promise not to reveal any code that might inhibit future of the plugin... That's all. 😆👍

  • Agree 1
Link to comment
Share on other sites

7 hours ago, chef said:

Do you have a GitHub account. 

If you are interested, I could get you on there.

You'd just have to promise not to reveal any code that might inhibit future of the plugin... That's all. 😆👍

Dont have an account there.

And I rather leave the future of the plugin and the programming to you (any time I even try something like programming it ends up that I get too little sleep, not enough drinking and too much headaches : ) )

Are the Emby database or API calls documented on github ? 

  • Haha 1
Link to comment
Share on other sites

1 hour ago, woenk said:

Dont have an account there.

And I rather leave the future of the plugin and the programming to you (any time I even try something like programming it ends up that I get too little sleep, not enough drinking and too much headaches : ) )

Are the Emby database or API calls documented on github ? 

You can see all the API calls in the swagger docs.

At the bottom of the dashboard, select the API link.

Link to comment
Share on other sites

9 minutes ago, chef said:

You can see all the API calls in the swagger docs.

At the bottom of the dashboard, select the API link.

I rather ment some documentation on https://github.com/MediaBrowser .

I have taken a look at https://github.com/MediaBrowser/Emby.SDK/tree/master/Documenation but it does not look that conclusive for me.

(I am not a programmer because I really do not want to ! :D Just someone with some time on his hand to might give some inspiration to the programming "artists" )

Link to comment
Share on other sites

On 2/5/2023 at 1:58 PM, Darkseidd said:

since your no1 is movie, try this:

1. delete top picks library (or data)

2. set top picks setting to tv shows only

3. populate user engagement

4. update top picks. should get 1-9 correctly

5. set top picks to mix movie and tv shows

6. populate, then update again.

from my tests, old numbering thumbnail still gonna stick to item at 4. (tested on .44)

 

 

So switching the type causes the out of order sorting?

Damn, I wondered why I couldn't reproduce this. I didn't try that 

I literally tried everything else and my hone screen was always inorder.

I'll go try this now. BRB.

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Darkseidd
On 1/30/2023 at 4:36 PM, Darkseidd said:

tried on .43.

same issue. incident happens around 3:33pm MYT

 

https://imgur.com/a/xcGuwyO

 

 

embyserver-63810689762.txt 188.61 kB · 1 download

i found something interesting related to this issue

 

on .44, I am able to select and view movie selection of top picks, ONLY via Web access.

 

on  Android, selecting movie from top picks gonna crash the server.

 

 

Link to comment
Share on other sites

39 minutes ago, Darkseidd said:

i found something interesting related to this issue

 

on .44, I am able to select and view movie selection of top picks, ONLY via Web access.

 

on  Android, selecting movie from top picks gonna crash the server.

 

 

Really!!?! Can I see a server log from the crash please. 

  • Agree 1
Link to comment
Share on other sites

Darkseidd
7 hours ago, chef said:

Really!!?! Can I see a server log from the crash please. 

you want crash log from omv6?

if yes, i need to explore on how to do it..

Link to comment
Share on other sites

59 minutes ago, Darkseidd said:

you want crash log from omv6?

if yes, i need to explore on how to do it..

It's okay, I'll re read the one you posted up there. Hopefully, it tells me something.

if you do happen to be looking at logs though, the one to look out for would say:

"unhandled_exception" for the log file name.

I'm wondering if it's a transcoding thing, while using strm files. But, best not to speculate, I'll try to figure it out.

 

 

 

  • Agree 1
Link to comment
Share on other sites

Junglejim

This plugin has come a long way and I thank you for your work on this. 👍

I just use it for movies @ the mo.. (admin recommends type of thing), my users seem to like it and it's working great.

As for the above with OMV6, I run the same and have had no problems, using a Android 'Samsung SM-T580' and it works fine.

I've also been following your work with Alexa.. This looks interesting for sure. :) Not sure if you will release it publicly but what you have done there is awesome!

Edited by Junglejim
  • Thanks 1
Link to comment
Share on other sites

Darkseidd
6 hours ago, Junglejim said:

This plugin has come a long way and I thank you for your work on this. 👍

I just use it for movies @ the mo.. (admin recommends type of thing), my users seem to like it and it's working great.

As for the above with OMV6, I run the same and have had no problems, using a Android 'Samsung SM-T580' and it works fine.

I've also been following your work with Alexa.. This looks interesting for sure. :) Not sure if you will release it publicly but what you have done there is awesome!

do you have *.nfo save data enabled?

Link to comment
Share on other sites

hmmm...something broke with the last update for me ....

System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
at Emby.TopPicks.SpotlightLibraryUpdateScheduledTask.CreateTopPickSeries(BaseItem seriesBaseItem, String spotlightFolderPath, SpotlightItem spotlightItem)
at Emby.TopPicks.SpotlightLibraryUpdateScheduledTask.<>c__DisplayClass41_0.<<Execute>b__2>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Source: Emby.TopPicks
TargetSite: Void CreateTopPickSeries(MediaBrowser.Controller.Entities.BaseItem, System.String, Emby.TopPicks.SpotlightItem)

embyserver (8).txt

Link to comment
Share on other sites

Just now, woenk said:

hmmm...something broke with the last update for me ....

System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
at Emby.TopPicks.SpotlightLibraryUpdateScheduledTask.CreateTopPickSeries(BaseItem seriesBaseItem, String spotlightFolderPath, SpotlightItem spotlightItem)
at Emby.TopPicks.SpotlightLibraryUpdateScheduledTask.<>c__DisplayClass41_0.<<Execute>b__2>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Source: Emby.TopPicks
TargetSite: Void CreateTopPickSeries(MediaBrowser.Controller.Entities.BaseItem, System.String, Emby.TopPicks.SpotlightItem)

embyserver (8).txt 410.63 kB · 0 downloads

Emby update or the plugin?

I'll have to look into this after work.

 

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