Jump to content

Top Picks support thread


chef

Recommended Posts

chef
10 hours ago, Happy2Play said:

Is that related to "Download in advance" as it is on demand if not present.  So I would guess TheGuru would have to validate what images exist with primary item.

Chef you use copy existing images if present and only download from provider if needed correct?

Yes, we only try the providers if the images don't exist locally. 

If the provider doesn't give us an image though, it seems to break when it draws a generic thumb with text.

I think I've found the problematic code. 

I still would have thought that the providers would have the fast and furious movie.

 

Link to comment
Share on other sites

Darkseidd

I have @TheGru issue but with korean movie that TMDB original title is in Korea. I set the library to take english alternative title, so the movie name not in Hangul at my emby

Link to comment
Share on other sites

GrimReaper
Link to comment
Share on other sites

Painkiller8818

@TheGru@Darkseidd

Are you downloading some images manually?

I see on the images of @TheGru very different naming conventions, sometime it is just folder, sometimes it is fanart1, fanart2 etc.

i never had a fanart1 or fanart2 with automatic downloads, except i decided to download more than one fanarts.

this is how a movie looks for me if i add it new and let everything download automatically and this seems very different to yours (ignore the theme, this is because of a plugin)

In my folder there is just the MKV file, the rest comes automatically after adding and detecting.


image.png.ce055cb4ab4e1d7e84e380d62b29c62a.png

  • Like 1
Link to comment
Share on other sites

chef
18 minutes ago, GrimReaper said:

Actually, this is good point. 

Right now we are looking by name, however, we should be checking to see if emby has the actual ID first then check by name.

 

  • Agree 1
Link to comment
Share on other sites

chef
13 minutes ago, Painkiller8818 said:

@TheGru@Darkseidd

Are you downloading some images manually?

I see on the images of @TheGru very different naming conventions, sometime it is just folder, sometimes it is fanart1, fanart2 etc.

i never had a fanart1 or fanart2 with automatic downloads, except i decided to download more than one fanarts.

this is how a movie looks for me if i add it new and let everything download automatically and this seems very different to yours (ignore the theme, this is because of a plugin)

In my folder there is just the MKV file, the rest comes automatically after adding and detecting.


image.png.ce055cb4ab4e1d7e84e380d62b29c62a.png

We rely on Emby to give a parameter with the name in it. 

So the code never calls the path directly. It is whatever emby returns as the path from the db... If it exists. 

 

  • Like 1
Link to comment
Share on other sites

chef
48 minutes ago, Darkseidd said:

I have @TheGru issue but with korean movie that TMDB original title is in Korea. I set the library to take english alternative title, so the movie name not in Hangul at my emby

Interesting, so this definitely would mean it happens when the providers are queried by name.

I'll try to get the providers ID from emby and see if it can fix this issue. 

It should at least stop it from happening as often. If emby doesn't have the provider ID, it will  have to query by name anyway and see what comes back. 

Then if it still has no results, then the generic Skia code will have to be fixed.

I write a Skia test console app to test where it is breaking. 

 

Edited by chef
Link to comment
Share on other sites

chef

Hmm.. I apparently rethrew an exception when the first bitmap url errors from the provider.

I didn't comment the code at the time, but currently I can't see why I would have done that.

The method should return the list of bitmaps instead of exiting after the first exception.

I've commented the code now, but I'm going to run this and see what happens if it doesn't exit early.

There must have been a reason, but looking at this part now, the reason isn't obvious.

 

Edited by chef
Link to comment
Share on other sites

Darkseidd
1 hour ago, Painkiller8818 said:

@TheGru@Darkseidd

Are you downloading some images manually?

I see on the images of @TheGru very different naming conventions, sometime it is just folder, sometimes it is fanart1, fanart2 etc.

i never had a fanart1 or fanart2 with automatic downloads, except i decided to download more than one fanarts.

this is how a movie looks for me if i add it new and let everything download automatically and this seems very different to yours (ignore the theme, this is because of a plugin)

In my folder there is just the MKV file, the rest comes automatically after adding and detecting.


image.png.ce055cb4ab4e1d7e84e380d62b29c62a.png

occasionally yes. couldnt remember which media i did manual image download (via emby)

Link to comment
Share on other sites

chef

and finally, I was able to reproduce the object reference error.

I'm going to push a new version. 

The only thing that might still cause an issue is when the providers don't return anything.

I'm going to fix this next.

  • Like 1
Link to comment
Share on other sites

chef

Now, I see even Fast and furious gets proper treatment, when missing images in the folders. 

I deleted all the images, and then ran the top picks which seemed to have populated the custom image properly.

error_fix_top_picks.thumb.png.3d1773f5af9a50e87e35d153bb67c0ff.png

  • Like 1
Link to comment
Share on other sites

chef

.48 has been pushed to the catalog.

Now, about these custom generic images... 

I've got to test the Skia code.

There maybe another release before I leave for work today. Hopefully.

 

  • Thanks 1
Link to comment
Share on other sites

chef
47 minutes ago, Eigeplackter said:

The issue with crashing the server is solved in .48, but plugin is not working.

See attached debug log.

embyserver-63813373828.txt 24.07 kB · 0 downloads

Whoa, we don't have access permissions to the top picks folder on your Linux machine.

But, why? 

Can you please restart emby?

 

Edited by chef
Link to comment
Share on other sites

Darkseidd

@chefcan i control the outcome?

for Top 20 movies and top 20 tv, i agree to this,  if the list is in descending order

 

2023-03-03 01:45:29.240 Info Top Picks: Top 20 movies:
2023-03-03 01:45:29.240 Info Top Picks: Honest Thief
2023-03-03 01:45:29.240 Info Top Picks: Zack Snyder's Justice League
2023-03-03 01:45:29.240 Info Top Picks: Fantastic Beasts: The Crimes of Grindelwald
2023-03-03 01:45:29.240 Info Top Picks: 21 Bridges
2023-03-03 01:45:29.240 Info Top Picks: Ralph Breaks the Internet
2023-03-03 01:45:29.240 Info Top Picks: Wreck-It Ralph
2023-03-03 01:45:29.240 Info Top Picks: The Little Prince
2023-03-03 01:45:29.240 Info Top Picks: Alice in Wonderland
2023-03-03 01:45:29.240 Info Top Picks: Bee Movie
2023-03-03 01:45:29.240 Info Top Picks: Black Swan
2023-03-03 01:45:29.240 Info Top Picks: All the Old Knives
2023-03-03 01:45:29.240 Info Top Picks: Dual
2023-03-03 01:45:29.240 Info Top Picks: Cruella
2023-03-03 01:45:29.240 Info Top Picks: Nobody
2023-03-03 01:45:29.240 Info Top Picks: Remember Me
2023-03-03 01:45:29.240 Info Top Picks: Frozen
2023-03-03 01:45:29.240 Info Top Picks: Minions & More Volume 1
2023-03-03 01:45:29.240 Info Top Picks: Welcome Home Roscoe Jenkins
2023-03-03 01:45:29.241 Info Top Picks: The Amityville Horror
2023-03-03 01:45:29.241 Info Top Picks: Top 20 tv:
2023-03-03 01:45:29.241 Info Top Picks: Animaniacs
2023-03-03 01:45:29.241 Info Top Picks: Adventure Time
2023-03-03 01:45:29.241 Info Top Picks: Jinny's Kitchen
2023-03-03 01:45:29.241 Info Top Picks: How I Met Your Father
2023-03-03 01:45:29.241 Info Top Picks: Halo
2023-03-03 01:45:29.241 Info Top Picks: How I Met Your Mother
2023-03-03 01:45:29.241 Info Top Picks: Monsters at Work
2023-03-03 01:45:29.241 Info Top Picks: Popular items have 9
2023-03-03 01:45:29.269 Info Top Picks: Returning popular items 9
2023-03-03 01:45:29.288 Info Top Picks: Available Top Pick Ranks are 9
2023-03-03 01:45:29.288 Info Top Picks: Top Picks contains 0 user defined items
2023-03-03 01:45:29.289 Info Top Picks: Engagement Items contains 9

 

and full logs as in attached. alot of errors related to TopPicks

embyserver(2).txt

Link to comment
Share on other sites

chef

Skia is erroring there, but are the images getting created? 

I did add more verbose logging to catch those errors and put them in the log.

That way we could see how the providers and Skia was having issues.

 

Link to comment
Share on other sites

Eigeplackter
1 hour ago, chef said:

Whoa, we don't have access permissions to the top picks folder on your Linux machine.

But, why? 

Can you please restart emby?

 

It‘s a Synology (yes Linux at heart).

The log above was after plugin update+restart, but tried again just for you 😉

Same result, permission denied.

Im not at a client right now, so I cant check permissions of the dll.

Link to comment
Share on other sites

Darkseidd
37 minutes ago, chef said:

Skia is erroring there, but are the images getting created? 

I did add more verbose logging to catch those errors and put them in the log.

That way we could see how the providers and Skia was having issues.

 

incoming screenshot from mobile.

 

this is what created at top picks library (after manual library scan)

 

seems matched what created  in folder as well

attached also what listed at top picks menu

Screenshot_20230303-024602.png

Screenshot_20230303-024722.png

Screenshot_20230303-024907.png

Link to comment
Share on other sites

Darkseidd
9 minutes ago, Darkseidd said:

incoming screenshot from mobile.

 

this is what created at top picks library (after manual library scan)

 

seems matched what created  in folder as well

attached also what listed at top picks menu

Screenshot_20230303-024602.png

Screenshot_20230303-024722.png

Screenshot_20230303-024907.png

remember my previous unsolved issue, where tapping on movie-ty0e top picks crashes my docker&omv6 pi4B?

 

i took liberty to test again on various client since alot of version jump already

Movie top picks (Honest Thief)

Android app - crash

AndroidTV app - crash

iPad app - crash

Web browser - crash

 

TV series top pick (Jinny's Kirchen)

Android app - no issue

AndroidTV app - no issue

iPad app - no issue

Web browser - no issue

I couldn't figure why this happened 😥

 

attached also logs, if it help (no unhandled)

 

 

 

 

hardware_detection-63813409134.txt embyserver-63813409117.txt hardware_detection-63813409002.txt embyserver-63813408984.txt hardware_detection-63813408875.txt embyserver-63813408857.txt hardware_detection-63813408755.txt embyserver-63813408741.txt

  • Thanks 1
Link to comment
Share on other sites

Darkseidd

would like to verify with you @chef

 

is this normal content inside .strm file generated? the path shows here is my smb path to the movie

Screenshot_20230303-033020_EDIT_1.png

Link to comment
Share on other sites

chef
36 minutes ago, Darkseidd said:

would like to verify with you @chef

 

is this normal content inside .strm file generated? the path shows here is my smb path to the movie

Screenshot_20230303-033020_EDIT_1.png

Sorry for the intermittent replies, I'm at work for a couple more hours.

 

I believe the folder path could be correct.

It should point back to the item that emby is reading the original from.

Are you reading your DL folder directly into emby?

Edited by chef
Link to comment
Share on other sites

chef
1 hour ago, Darkseidd said:

remember my previous unsolved issue, where tapping on movie-ty0e top picks crashes my docker&omv6 pi4B?

 

i took liberty to test again on various client since alot of version jump already

Movie top picks (Honest Thief)

Android app - crash

AndroidTV app - crash

iPad app - crash

Web browser - crash

 

TV series top pick (Jinny's Kirchen)

Android app - no issue

AndroidTV app - no issue

iPad app - no issue

Web browser - no issue

I couldn't figure why this happened 😥

 

attached also logs, if it help (no unhandled)

 

 

 

 

hardware_detection-63813409134.txt 120.49 kB · 0 downloads embyserver-63813409117.txt 45.83 kB · 0 downloads hardware_detection-63813409002.txt 120.49 kB · 0 downloads embyserver-63813408984.txt 44.39 kB · 0 downloads hardware_detection-63813408875.txt 120.49 kB · 0 downloads embyserver-63813408857.txt 44.63 kB · 0 downloads hardware_detection-63813408755.txt 120.49 kB · 0 downloads embyserver-63813408741.txt 1.05 MB · 0 downloads

Oh God, there is so much happening there.

I hope it isn't all top picks.

It seems like ffprobe is throwing a lot of errors in the log. I will need to analyze this further to really understand.

Link to comment
Share on other sites

chef
3 hours ago, Darkseidd said:

would like to verify with you @chef

 

is this normal content inside .strm file generated? the path shows here is my smb path to the movie

Screenshot_20230303-033020_EDIT_1.png

Got another break here at work. 👍

So to answer your question, the path in the strm file should match the path for the original file.

For example, I have this episode save in this path:

Screenshot_20230302-180218.thumb.png.e7ca4a2a58324400f61e61db6a028da8.png

 

If I were to look inside the strm file for this episode in top picks, I should see the same path: "L:\TV\....." etc.

Edited by chef
Link to comment
Share on other sites

Darkseidd
6 hours ago, chef said:

Got another break here at work. 👍

So to answer your question, the path in the strm file should match the path for the original file.

For example, I have this episode save in this path:

Screenshot_20230302-180218.thumb.png.e7ca4a2a58324400f61e61db6a028da8.png

 

If I were to look inside the strm file for this episode in top picks, I should see the same path: "L:\TV\....." etc.

how about movie's strm content? since i have no issue with tvshow in toppicks..

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