Jump to content

Top Picks support thread


chef

Recommended Posts

Darkseidd

tried to create only 1 item from tvshows folder, immediately got this error upon running the sch task

top picks can runs on embyserver inside unix environment, no?

image.thumb.png.a6464d4cbf893fb679c06c4e5ac16e3d.png

Edited by Darkseidd
Link to comment
Share on other sites

chef
5 hours ago, Darkseidd said:

tried to create only 1 item from tvshows folder, immediately got this error upon running the sch task

top picks can runs on embyserver inside unix environment, no?

image.thumb.png.a6464d4cbf893fb679c06c4e5ac16e3d.png

Sorry for the trouble.  Yes it will run on Linux, I am just not having an easy time tracking that exception. I can't always reproduce it.

Because it happens in tv series, I think it might be a virtual items issue. I'm going to check this next. 

 

 

Link to comment
Share on other sites

Darkseidd
10 minutes ago, chef said:

Sorry for the trouble.  Yes it will run on Linux, I am just not having an easy time tracking that exception. I can't always reproduce it.

Because it happens in tv series, I think it might be a virtual items issue. I'm going to check this next. 

 

 

i spent some time around with manual mode, and specific tv series from multiple libraries on top picks, and here what i found:

 

1. the drop down item lists at top picks menu, is different from had been resolved in emby. in my theory, top picks generate its own library outside emby.

>but once listed under top picks, it follows emby server's naming.

>then after library generation, it follows drop down listing's naming

 

2. it doesn't matter from Mixed or TV Shows content, there are some tv series gonna break Top Picks and crash the server. in my case, top picks will crash my server when i manually put in The Last of Us, Carnival Row, Its Sunny in Philedaphia, Nenek Bongkok Tiga, Special Force Anarchy, Projek High Council

 

Edited by Darkseidd
Link to comment
Share on other sites

chef
1 hour ago, Darkseidd said:

i spent some time around with manual mode, and specific tv series from multiple libraries on top picks, and here what i found:

 

1. the drop down item lists at top picks menu, is different from had been resolved in emby. in my theory, top picks generate its own library outside emby.

>but once listed under top picks, it follows emby server's naming.

>then after library generation, it follows drop down listing's naming

 

2. it doesn't matter from Mixed or TV Shows content, there are some tv series gonna break Top Picks and crash the server. in my case, top picks will crash my server when i manually put in The Last of Us, Carnival Row, Its Sunny in Philedaphia, Nenek Bongkok Tiga, Special Force Anarchy, Projek High Council

 

Oh! That is perfect information. All those series you mentioned are currently airing, which means we must be hitting virtual items in the library. They are "future" episodes. They don't actually exist yet, but have a placeholder in the database. This would mean that the path hasn't got a value, and therefore would throw the object reference exception!

 I think I know where to look now.

Excellent work. 

 

 

  • Thanks 1
Link to comment
Share on other sites

chef
19 hours 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 · 1 download 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

This happens when you try to play the top pick right?

Link to comment
Share on other sites

TheGru
On 3/2/2023 at 8:26 AM, 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

Nope, nothing manual. I have multiple providers setup to grab artwork via Emby.

Link to comment
Share on other sites

chef
19 hours 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 · 1 download hardware_detection-63813409002.txt 120.49 kB · 0 downloads embyserver-63813408984.txt 44.39 kB · 1 download hardware_detection-63813408875.txt 120.49 kB · 0 downloads embyserver-63813408857.txt 44.63 kB · 1 download hardware_detection-63813408755.txt 120.49 kB · 0 downloads embyserver-63813408741.txt 1.05 MB · 0 downloads

Something very strange here. I have altered the MOVIE_NAME in this log for privacy.

It would seem that the stream is acting weird. It is not able to find the file... maybe?  I need a little more time to fully understand this.

Data path: /config
	Application path: /app/emby
	System.Exception: System.Exception: ffprobe failed for file:"/blueHDD/CN-HK-TW/movie/MOVIE_NAME/MOVIE_NAME.mp4" - streams and format are both null: 
	{
	
	}
	
	
	ffprobe version 5.0.0-emby_2022_05_27-u1 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 8.3.0 (crosstool-NG 1.24.0)
	[mov,mp4,m4a,3gp,3g2,mj2 @ 0xc4342d0] moov atom not found
	file:/blueHDD/CN-HK-TW/movie/MOVIE_NAME/MOVIE_NAME.mp4: Invalid data found when processing input

 

Link to comment
Share on other sites

chef
On 3/1/2023 at 7:29 PM, TheGru said:

Just wanted to drop this error from my log here. Running Emby in Docker on Unraid TopPicks 1.0.0.47

2023-03-01 19:24:16.686 Info Top Picks: Locating .nfo file /mnt/Movies/Alien Directors Cut (1979)/Alien (1979) - Bluray-1080p.nfo...
2023-03-01 19:24:16.686 Info Top Picks: /mnt/Movies/Alien Directors Cut (1979)/Alien (1979) - Bluray-1080p.nfo does not exist. Creating nfo file.
2023-03-01 19:24:16.686 Debug XmlSerializer: Serializing to file /config/data/top-picks/Alien (1979)/Alien (1979).nfo
2023-03-01 19:24:16.825 Info LibraryMonitor: Watching directory /mnt/Movies 4K
2023-03-01 19:24:17.019 Info LibraryMonitor: Watching directory /mnt/Kids Movies
2023-03-01 19:24:17.248 Info Top Picks: Alien logo save successful.
2023-03-01 19:24:17.250 Info Top Picks: Alien backdrop copy successful.
2023-03-01 19:24:17.250 Debug SqliteItemRepository: GetitemById Movie 123672 /mnt/Movies/The Fast and the Furious (2001)/The Fast and the Furious (2001) - Bluray-1080p.mp4
2023-03-01 19:24:17.254 Info Top Picks: Locating .nfo file /mnt/Movies/The Fast and the Furious (2001)/The Fast and the Furious (2001) - Bluray-1080p.nfo...
2023-03-01 19:24:17.254 Info Top Picks: Found /mnt/Movies/The Fast and the Furious (2001)/The Fast and the Furious (2001) - Bluray-1080p.nfo, preparing serialization...
2023-03-01 19:24:17.254 Debug XmlSerializer: Deserializing file /mnt/Movies/The Fast and the Furious (2001)/The Fast and the Furious (2001) - Bluray-1080p.nfo
2023-03-01 19:24:17.262 Debug XmlSerializer: Serializing to file /config/data/top-picks/The Fast and the Furious (2001)/The Fast and the Furious (2001).nfo
2023-03-01 19:24:17.263 Info Top Picks: Nfo serialization /mnt/Movies/The Fast and the Furious (2001)/The Fast and the Furious (2001) - Bluray-1080p.nfo successful.
2023-03-01 19:24:17.297 Info App: Best title sequence for /mnt/Television/Mythic Quest- Raven's Banquet/Season 1/Mythic Quest - S01E02 - The Casino WEBDL-1080p.mp4 is 00:03:32.8109452 - 00:03:44.9999999. Confidence: 0.91
2023-03-01 19:24:17.297 Debug SqliteItemRepository: GetitemById Episode 3154290 /mnt/Television/Mythic Quest- Raven's Banquet/Season 1/Mythic Quest - S01E05 - A Dark Quiet Death WEBDL-1080p.mp4
2023-03-01 19:24:17.298 Info App: Detecting markers for /mnt/Television/Mythic Quest- Raven's Banquet/Season 1 - episode /mnt/Television/Mythic Quest- Raven's Banquet/Season 1/Mythic Quest - S01E05 - A Dark Quiet Death WEBDL-1080p.mp4
2023-03-01 19:24:17.309 Info LibraryMonitor: Watching directory /mnt/Kids Shows
2023-03-01 19:24:17.330 Error Top Picks: Object reference not set to an instance of an object.
	*** Error Report ***
	Version: 4.8.0.21
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.19.17-Unraid (root@Develop) (gcc (GCC) 12.2.0, GNU ld version 2.39-slack151) #2 SMP PREEMPT_DYNAMIC Wed Nov 2 11:54:15 PDT 2022
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.TopPicks.Drawing.SpotlightImageRenderer.RenderTopPicksThumbImage(Int32 rank, SKBitmap bitmapBackdrop, SKBitmap bitmapLogo, String output)
	   at Emby.TopPicks.SpotlightLibraryUpdateScheduledTask.RenderImages(Int32 rank, BaseItem libraryBaseItem, String outputFolder, CancellationToken cancellationToken)
	   at Emby.TopPicks.SpotlightLibraryUpdateScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	Source: Emby.TopPicks
	TargetSite: Void RenderTopPicksThumbImage(Int32, SkiaSharp.SKBitmap, SkiaSharp.SKBitmap, System.String)
	

 

This is the same object reference for TV Series that Darkseidd is encountering.

Does the series Mythic Quest have a logo, and backdrop saved on your system @TheGru

I'm on to this exception, I just don't know exactly when it happens. It might be before, or right after the provider query.

If those image type  are available on your system, then I would know that it happens before any attempt to contact the providers. If that makes sense. 

Edited by chef
Link to comment
Share on other sites

Darkseidd
15 minutes ago, chef said:

Something very strange here. I have altered the MOVIE_NAME in this log for privacy.

It would seem that the stream is acting weird. It is not able to find the file... maybe?  I need a little more time to fully understand this.

Data path: /config
	Application path: /app/emby
	System.Exception: System.Exception: ffprobe failed for file:"/blueHDD/CN-HK-TW/movie/MOVIE_NAME/MOVIE_NAME.mp4" - streams and format are both null: 
	{
	
	}
	
	
	ffprobe version 5.0.0-emby_2022_05_27-u1 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 8.3.0 (crosstool-NG 1.24.0)
	[mov,mp4,m4a,3gp,3g2,mj2 @ 0xc4342d0] moov atom not found
	file:/blueHDD/CN-HK-TW/movie/MOVIE_NAME/MOVIE_NAME.mp4: Invalid data found when processing input

 

this one i believe due to incomplete progress of media download. ive deleted the file

Link to comment
Share on other sites

Darkseidd
31 minutes ago, chef said:

This happens when you try to play the top pick right?

only by tapping/clicking on the top pick item, at home menu. only happen to movie-type item only.

its like a touch of death to my server

Edited by Darkseidd
Link to comment
Share on other sites

Eigeplackter
22 hours 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?

 

Had the chance today to check permissions on Synology filesystem, Im not sure why it happened, but it looks like the plugin update sets wrong permissions.🤔

image.thumb.jpeg.64d6bafc5e6ca4626dbd08527979e890.jpeg

As you can see it's missing the e(X)ecute right for the dll, so I changed permissions

image.thumb.jpeg.70e35d1b07e2295fe0c73bd6c6b47899.jpeg

After a reboot plugin runs fine and and TopPics are updated. 😎

 

Link to comment
Share on other sites

TheGru
22 minutes ago, chef said:

This is the same object reference for TV Series that Darkseidd is encountering.

Does the series Mythic Quest have a logo, and backdrop saved on your system @TheGru

I'm on to this exception, I just don't know exactly when it happens. It might be before, or right after the provider query.

If those image type  are available on your system, then I would know that it happens before any attempt to contact the providers. If that makes sense. 

Yes Mythic Quest on my system has a logo and backdrop

Screenshot 2023-03-03 at 10.29.45 AM.png

  • Thanks 1
Link to comment
Share on other sites

TheGru

OK so I just installed .48 and now it is seemingly working, although it is only populating 6 items and not 9 automatically. Anyway to force it to fill all 9 slots?

  • Thanks 1
Link to comment
Share on other sites

chef

Alright, I see we have three issues to contend with.

First one, being fairly large, and has to do with browsing to the top pick item, and causing a server crash. But, this seems to be happening specifically on Linux based (raspi4)? Is that correct?

Next, we have a population issue, where the items are not currently creating all 9 items.

Lastly, we have an object reference exception when creating series.

 

Let's all make sure we are on .48. 

 

  • Agree 1
Link to comment
Share on other sites

Eigeplackter

Plugin version.48 with emy beta server 4.8.0.21 running native on a Synology DS actual DSM version.

Link to comment
Share on other sites

TheGru
10 minutes ago, chef said:

Alright, I see we have three issues to contend with.

First one, being fairly large, and has to do with browsing to the top pick item, and causing a server crash. But, this seems to be happening specifically on Linux based (raspi4)? Is that

correct?

Cannot replicate the above crashing issue on Linux/Docker/Unraid. No Raspberry Pi4 to test against

10 minutes ago, chef said:

Next, we have a population issue, where the items are not currently creating all 9 items.

If you can provide me with a procedure to rebuild the entire Top Picks list from nothing I can see if the problem is vestigial from the prior builds.

10 minutes ago, chef said:

Lastly, we have an object reference exception when creating series.

Not interested in populating TV series in my Top Picks, but willing to test if needed.

10 minutes ago, chef said:

Let's all make sure we are on .48. 

 

Verified running .48 on Emby 4.8.0.21

  • Like 1
Link to comment
Share on other sites

Darkseidd
24 minutes ago, chef said:

Alright, I see we have three issues to contend with.

First one, being fairly large, and has to do with browsing to the top pick item, and causing a server crash. But, this seems to be happening specifically on Linux based (raspi4)? Is that correct?

Next, we have a population issue, where the items are not currently creating all 9 items.

Lastly, we have an object reference exception when creating series.

 

Let's all make sure we are on .48. 

 

yup im testing it on .48. embyserver 4.7.11 on OMV6 + docker-compose + portainer

first issue only happens with movie-type top picks only. tvseries-type top picks have 0 issue.

 

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

chef

I put up .49.

This checks everything for null before attempting creation any library item.

It also adds a lot more logging.

I have to go to work now, but when I get back I will begin looking into the raspi4 issues.

I have one running pinhole, so I'll load emby on it and try to run top picks to better understand the issue. 👍

  • Thanks 1
Link to comment
Share on other sites

TheGru

I also manually added 3 more movies to my picks and they are not showing up in either the collection or the home screen.

Link to comment
Share on other sites

TheGru

and here is a new error in the log

Quote
023-03-03 15:25:21.637 Info Top Picks: A Cure for Wellness logo save successful.
2023-03-03 15:25:21.637 Warn Top Picks: Unable to copy fanart into Top Picks: Could not find a part of the path '/var/run/s6/services/emby-server/https:/assets.fanart.tv/fanart/movies/340837/moviebackground/a-cure-for-wellness-58ad7e8c4c0b5.jpg'.

 

  • Thanks 1
Link to comment
Share on other sites

TheGru

Ok i got it to generate 9 items, but no matter what I select in sort they are out of order, I have tried every sort option.

Screenshot 2023-03-03 at 3.30.58 PM.png

Link to comment
Share on other sites

chef
2 hours ago, TheGru said:

.49

 

 

Screenshot 2023-03-03 at 3.22.55 PM.png

Oh rookie mistake. 🤦‍♂️ I needed to remove one from the count.

Apologies! I will fix that right after work.

 

  • Thanks 1
Link to comment
Share on other sites

Junglejim
12 hours ago, Darkseidd said:

yup im testing it on .48. embyserver 4.7.11 on OMV6 + docker-compose + portainer

first issue only happens with movie-type top picks only. tvseries-type top picks have 0 issue.

 

Hi @Darkseidd I'm running the same, OMV6... but I don't see this with my setup. I can play movies/tv series no problem.

Here is my docker-compose...

---
version: "2.1"
services:
  emby:
    image: lscr.io/linuxserver/emby:latest
    container_name: emby
    environment:
      - PUID=998
      - PGID=100
      - TZ=Australia/Adelaide
    volumes:
      - /var/lib/docker/appdata/emby:/config
      - /srv/dev-disk-by-label-storage/TvShows:/data/tvshows
      - /srv/dev-disk-by-label-storage/Movies:/data/movies
      - /srv/dev-disk-by-label-storage/Music:/data/music
      - /srv/dev-disk-by-label-storage/HomeVideos:/data/homevideos
      - /srv/dev-disk-by-label-storage/Audiobooks:/data/audiobooks
      - /srv/dev-disk-by-uuid-fa14943e-61e9-4333-be47-4af640fafe9e/Downloads:/downloads
    ports:
      - 8096:8096
    devices:
      - /dev/dri:/dev/dri
    restart: unless-stopped

I think you said your on a raspi? maybe there is something different going on there?

Could be a user perms thing? Have you set your PUID/PGID to the portainer user? Mine is admin hence the 998/100.

Also I think I saw you didn't map your shared folders in a previous post (docker-compose), this a container and it needs to know where that stuff is.

Not sure how your accessing your libs but it should have a container path plus a optional shared network path for direct play..

Screenshot_2023-03-04_15-03-45.png.ddd161a379069c1762eb6cc964490dfe.png

Edited by Junglejim
Link to comment
Share on other sites

Darkseidd
1 hour ago, Junglejim said:

Hi @Darkseidd I'm running the same, OMV6... but I don't see this with my setup. I can play movies/tv series no problem.

Here is my docker-compose...

---
version: "2.1"
services:
  emby:
    image: lscr.io/linuxserver/emby:latest
    container_name: emby
    environment:
      - PUID=998
      - PGID=100
      - TZ=Australia/Adelaide
    volumes:
      - /var/lib/docker/appdata/emby:/config
      - /srv/dev-disk-by-label-storage/TvShows:/data/tvshows
      - /srv/dev-disk-by-label-storage/Movies:/data/movies
      - /srv/dev-disk-by-label-storage/Music:/data/music
      - /srv/dev-disk-by-label-storage/HomeVideos:/data/homevideos
      - /srv/dev-disk-by-label-storage/Audiobooks:/data/audiobooks
      - /srv/dev-disk-by-uuid-fa14943e-61e9-4333-be47-4af640fafe9e/Downloads:/downloads
    ports:
      - 8096:8096
    devices:
      - /dev/dri:/dev/dri
    restart: unless-stopped

I think you said your on a raspi? maybe there is something different going on there?

Could be a user perms thing? Have you set your PUID/PGID to the portainer user? Mine is admin hence the 998/100.

Also I think I saw you didn't map your shared folders in a previous post (docker-compose), this a container and it needs to know where that stuff is.

Not sure how your accessing your libs but it should have a container path plus a optional shared network path for direct play..

Screenshot_2023-03-04_15-03-45.png.ddd161a379069c1762eb6cc964490dfe.png

yeap i rmb you ran emby docker on synology.

i dont use default path except /config. User permission is no issue since i'm using qbit to download just fine. and also using the same username to access smb share via my winPC & android

 

this is my docker compose :

 

version: "2.1"
services:
  emby:
    image: lscr.io/linuxserver/emby:latest
    container_name: emby
    environment:
      - PUID=1001
      - PGID=100
      - TZ=Asia/Singapore
    volumes:
      - /srv/dev-disk-by-uuid-bbc1f360-c89a-4600-839a-3dde7645de18/whiteSSD/AppConfig/emby:/config
#     - /path/to/tvshows:/data/tvshows
#     - /path/to/movies:/data/movies
      - /srv/dev-disk-by-uuid-76b61cab-b409-4cb0-8358-9ca778e71788/toshibaHDD:/toshibaHDD
      - /srv/dev-disk-by-uuid-35755813-de7e-49c4-a129-694966b527ae/whiteHDD:/whiteHDD
      - /srv/dev-disk-by-uuid-5c047584-4a24-471a-abcf-325edbe3acad/blackHDD:/blackHDD
      - /srv/dev-disk-by-uuid-35e39203-8f9e-48e7-b0f7-6ec5fb33f21d/redHDD:/redHDD
      - /srv/dev-disk-by-uuid-3260cb13-e651-404f-9b51-9bc94339e30d/purpleHDD:/purpleHDD
      - /srv/dev-disk-by-uuid-ce2002f9-a335-492c-8691-ab2b1fd55555/blueHDD:/blueHDD
#      - /opt/vc/lib:/opt/vc/lib #optional
    ports:
      - 8096:8096
      - 8920:8920
#    devices:
#      - /dev/dri:/dev/dri #optional
#      - /dev/vchiq:/dev/vchiq #optional
#      - /dev/video10:/dev/video10 #optional
#      - /dev/video11:/dev/video11 #optional
#      - /dev/video12:/dev/video12 #optional
    restart: unless-stopped

 

this is *example* how folder looks at my library setting. all runs well for multiple users from internal and external

 

image.png.182c45d15e7c7e71bff13c3aba271a77.png

Edited by Darkseidd
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...