Jump to content

Seeing a different movie listing between Web Client and API results


Go to solution Solved by Happy2Play,

Recommended Posts

Posted

Hi, I'm the developer of Zoom Player (A Windows PC media player & home theater application) and I'm creating an open-source project to support listing and playback from media servers.

For some reason, the Emby web client is showing Movie entries (with thumbnail) that are returned in JSON without a thumbnail and with a type of "folder".

Out of about 24,000 entries in the category, about 12 had this issue, what could be the reason for this? I checked and there were no duplicate entries with similar names that could account for this.

Posted

Hi, welcome!

Have you compared your query to what the web app is sending?

Posted

I am using this entry point:
/emby/Users/{user_id}/Items?ParentId={parent_id}&fields=Overview,MediaSources,DateCreated

The browser's address uses this structure:
/web/index.html#!/videos?serverId={server_id}&parentId={parent_id}

How can I see the the API entry point of the emby web client?

Happy2Play
Posted
1 hour ago, bLight said:

I am using this entry point:
/emby/Users/{user_id}/Items?ParentId={parent_id}&fields=Overview,MediaSources,DateCreated

The browser's address uses this structure:
/web/index.html#!/videos?serverId={server_id}&parentId={parent_id}

How can I see the the API entry point of the emby web client?

Your not seeing something like this?  But guess should ask if you have debug logging enabled.

Quote

2024-12-16 14:05:38.369 Debug Server: http/1.1 GET http://‌‍‍localhost‌:8095/emby/Users/{uiser_id}/Items?IncludeItemTypes=Movie&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio,ProductionYear,Status,EndDate,CriticRating&StartIndex=0&SortBy=SortName&SortOrder=Ascending&ParentId=79&EnableImageTypes=Primary,Backdrop,Thumb&ImageTypeLimit=1&Recursive=true&Limit=50&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id={device_id}&X-Emby-Client-Version=4.9.0.33&X-Emby-Token=‌{token}&X-Emby-Language=en-us. Source Ip: ‌‍‍::1‌, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0

 

Posted

I don't have access to debug logs, I'm witnessing this behavior on a server I do not control.

Happy2Play:
Where do I find the client logs, I only see the server logs and there are no client activity entries in there other than the browser capabilities check.

Is the query you listed the one used by the web client for movie listing? I don't see any filter on it, so I don't understand how it would return different results than my query.

 

  • Solution
Happy2Play
Posted
1 hour ago, bLight said:

Is the query you listed the one used by the web client for movie listing? I don't see any filter on it, so I don't understand how it would return different results than my query.

Yes was from the web client listed in the server log.

4 hours ago, Happy2Play said:

/emby/Users/{uiser_id}/Items?IncludeItemTypes=Movie&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio,ProductionYear,Status,EndDate,CriticRating&StartIndex=0&SortBy=SortName&SortOrder=Ascending&ParentId=79&EnableImageTypes=Primary,Backdrop,Thumb&ImageTypeLimit=1&Recursive=true&Limit=50

image.thumb.png.d9e7a583a3d9d9269118c48d2a8f954a.png

As for other client log everything should be caught in server log.  But from the server log is would require you to have debug logging enabled or capture it in the web client debug console.

 

  • Like 1
Posted

Thank you 🙏

I figured out the issue was due to the server not maintaining a flat directory structure for some entries, adding the recursive parameter fixed the issue.

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