Jump to content

More like this....


Go to solution Solved by quickmic,

Recommended Posts

LongMan
Posted

How can I get access to the more like this  item list in kodi. Is this something that could be provided as a context menu item?

quickmic
Posted

I assume I cold integrate that in the dynamic nodes, I put it on the list.

LongMan
Posted

Isn't it specific to a specfic media item? That is why I suggest context menu for the current item.

 

quickmic
Posted

Probably yes, I need to look into.

  • 2 weeks later...
quickmic
Posted

@Luke

I cannot find the api for the "more like this". Is it just a node and if so, can you please post on which criteria the nodes selects the suggestions so I can build it on Kodi?

Posted
23 hours ago, quickmic said:

@Luke

I cannot find the api for the "more like this". Is it just a node and if so, can you please post on which criteria the nodes selects the suggestions so I can build it on Kodi?

With a movie or series, Try /items/id/similar

From there the usual params that you're used to.

  • Thanks 1
quickmic
Posted (edited)
4 hours ago, Luke said:

With a movie or series, Try /items/id/similar

From there the usual params that you're used to.

 

2025-07-17 09:33:56.232 Debug LibraryService-0HNE3Q3I3LL58:00000001: http/1.1 GET http://‌‍‍192.168.0.207‌/emby/Items/75092/similar?api_key=‌XXXXXXX. Source Ip: ‌‍‍192.168.0.50‌, UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
2025-07-17 09:33:56.235 Debug SqliteItemRepository: GetitemById Movie 75092 /mnt/storage0/multimedia/movies/7/71 (2014)/71 (2014).mkv
2025-07-17 09:33:56.235 Error LibraryService-0HNE3Q3I3LL58:00000001: Error processing request
	*** Error Report ***
	Version: 4.9.1.7
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 6.8.12-11-pve (build@proxmox) (gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX
	OS/Process: x64/x64
	Framework: .NET 8.0.11
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 38
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Api.Library.LibraryService.GetSimilarItemsResult(BaseGetSimilarItemsFromItem request, BaseItem item, User user, String[] includeItemTypes, Boolean enableGroupByMetadataKey, Boolean supportHidePlayed, Boolean groupBySeriesPresentationUniqueKey, CancellationToken cancellationToken)
	   at Emby.Api.Library.LibraryService.Get(GetSimilarItems request)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)

Id is a movie Id

Edited by quickmic
Posted
12 hours ago, quickmic said:

 

2025-07-17 09:33:56.232 Debug LibraryService-0HNE3Q3I3LL58:00000001: http/1.1 GET http://‌‍‍192.168.0.207‌/emby/Items/75092/similar?api_key=‌XXXXXXX. Source Ip: ‌‍‍192.168.0.50‌, UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
2025-07-17 09:33:56.235 Debug SqliteItemRepository: GetitemById Movie 75092 /mnt/storage0/multimedia/movies/7/71 (2014)/71 (2014).mkv
2025-07-17 09:33:56.235 Error LibraryService-0HNE3Q3I3LL58:00000001: Error processing request
	*** Error Report ***
	Version: 4.9.1.7
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 6.8.12-11-pve (build@proxmox) (gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX
	OS/Process: x64/x64
	Framework: .NET 8.0.11
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 38
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Api.Library.LibraryService.GetSimilarItemsResult(BaseGetSimilarItemsFromItem request, BaseItem item, User user, String[] includeItemTypes, Boolean enableGroupByMetadataKey, Boolean supportHidePlayed, Boolean groupBySeriesPresentationUniqueKey, CancellationToken cancellationToken)
	   at Emby.Api.Library.LibraryService.Get(GetSimilarItems request)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)

Id is a movie Id

OK can you try comparing your request to what the web app sends on the movie detail screen?

  • Thanks 1
quickmic
Posted
7 hours ago, Luke said:

OK can you try comparing your request to what the web app sends on the movie detail screen?

Good idea, didn't thought about that.

The "UserId" as param seems mandatory.

You might update the docu -> https://dev.emby.media/reference/RestAPI/LibraryService/getItemsByIdSimilar.html?q=similar

http://192.168.0.207/emby/Items/75092/similar?api_key=XXXXX&UserId=e1f4f9fe335c47ae8524d0d7de19e9ab

 

  • Thanks 1
  • 2 weeks later...
  • Solution
quickmic
Posted

Added in latest public testing version

  • Like 1
LongMan
Posted

Thanks. Works like a charm

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