Jump to content

Media on Home Screen only shows 16 Most Recent


Mychale6563
Go to solution Solved by Luke,

Recommended Posts

Mychale6563

Admin,

 

I'm not exactly sure when it changed..... but my Media categories on the Home Screen now only display 16 of the most recent. Used to, it would show at least 30 or more and then a button at the end to view more recent media in that library. I would like to have that back. It's all over the place. In Continue Watching, it displays 12; In Next Up, it displays 24; In Latest Movies, Kids! Movies, Latest TV Shows and Latest TV Shows (Ended), it displays 16; In Latest Music, it shows 30 and in Latest Music Video's, it shows 16. It makes no sense.

 

The interface shows that you can right arrow further than you can actually see recent media content. (See screenshot below) I would like to be able to assign a number of recent Media that can be viewed on the Home Screen to a higher number. Is this possible to configure somewhere?

 

Any assistance with this matter is greatly appreciated!

 

Thank you,

 

Mychale

post-9748-0-74504600-1560793190_thumb.jpg

post-9748-0-31397100-1560793200_thumb.jpg

Link to comment
Share on other sites

  • Solution

Hi, that's typically what we do is we show a small number and then you can click the header text to see more. There is currently no configuration, but we are working on revamping the scrolling and then at that point the limit will be much higher. thanks.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
Travis Runyard

Admin,

 

I'm not exactly sure when it changed..... but my Media categories on the Home Screen now only display 16 of the most recent. Used to, it would show at least 30 or more and then a button at the end to view more recent media in that library. I would like to have that back. It's all over the place. In Continue Watching, it displays 12; In Next Up, it displays 24; In Latest Movies, Kids! Movies, Latest TV Shows and Latest TV Shows (Ended), it displays 16; In Latest Music, it shows 30 and in Latest Music Video's, it shows 16. It makes no sense.

 

The interface shows that you can right arrow further than you can actually see recent media content. (See screenshot below) I would like to be able to assign a number of recent Media that can be viewed on the Home Screen to a higher number. Is this possible to configure somewhere?

 

Any assistance with this matter is greatly appreciated!

 

Thank you,

 

Mychale

 

 

Yes you can change the number of cards displayed under "Latest Movies" and "Latest TV Shows" on the home screen by editing the file homesections.js in the function "getFetchLatestItemsFn". This may differ slightly depending on your version. I'm running Emby 4.1.1.0. I found it in the following location on my FreeNAS (FreeBSD) system:

/usr/local/lib/emby-server/system/dashboard-ui/bower_components/emby-webcomponents/homesections

homesections.js is a minified file, so going by line numbers isn't going to help. Easiest way is to do a find and replace for limit=16 and change the number to whatever you like. I set mine to 90. If you're working in a shell environment, you can do this in Vim:

:s/limit=16/limit=90/gI
Link to comment
Share on other sites

  • 5 months later...
edefelic

 

Yes you can change the number of cards displayed under "Latest Movies" and "Latest TV Shows" on the home screen by editing the file homesections.js in the function "getFetchLatestItemsFn". This may differ slightly depending on your version.

 

I'm trying to accomplish this on Emby v4.3.0.30 running on QNAP.

 

Here is what I did using the Terminal on my Mac.

 

SSH into the Qnap:

ssh admin@<local.address.of.my.qnap>

Go to the directory with the configuration file:

cd /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system/dashboard-ui/bower_components/emby-webcomponents/homesections

Open the file for editing:

vim homesections.js

Unfortunately, a search for "getFetchLatestItemsFn" in this file turned up nothing.

 

A search for "limit=16" turned up "itemsContainer.fetchData=function(serverId,parentId,collectionType){return function(){var apiClient=connectionManager.getApiClient(serverId),limit=16"  I changed this to limit=50 and restarted the Emby Server, but still only 16 most recently added titles would show up .

 

Anyone got any other ideas?

Edited by edefelic
Link to comment
Share on other sites

Travis Runyard

I'm trying to accomplish this on Emby v4.3.0.30 running on QNAP.

 

Here is what I did using the Terminal on my Mac.

 

SSH into the Qnap:

ssh admin@<local.address.of.my.qnap>

Go to the directory with the configuration file:

cd /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system/dashboard-ui/bower_components/emby-webcomponents/homesections

Open the file for editing:

vim homesections.js

Unfortunately, a search for "getFetchLatestItemsFn" in this file turned up nothing.

 

A search for "limit=16" turned up "itemsContainer.fetchData=function(serverId,parentId,collectionType){return function(){var apiClient=connectionManager.getApiClient(serverId),limit=16"  I changed this to limit=50 and restarted the Emby Server, but still only 16 most recently added titles would show up .

 

Anyone got any other ideas?

 

Do a recursive search for "limit=16" or even the word "limit" in every '.js' file under the bower_components directory. You can do this with something like: 

grep -R 'limit=16' .

Which is assuming you are already in the directory called bower_components. As long as the dev's haven't catastrophically changed the way these limits are implemented, you should still be able to manually change them. FYI any changes to the core files will be overwritten when you upgrade.

 

If you don't mind please report back your findings here so others in the future will be able to follow your advice.

Link to comment
Share on other sites

  • 1 year later...
KobayashiM

For me, the file is in the following directory (v4.4.3.0 in Docker): /app/emby/dashboard-ui/modules/homesections

However, I changed the limit to 30 and restarted the server but there was no change to the number of items displayed.

Correction: This does work. I just had to clear the image cache and now I see 30 cards. Thanks for this workaround!

Edited by KobayashiM
Link to comment
Share on other sites

Happy2Play

Yes it has moved around over the years. 

C:\Users\{USER}\AppData\Roaming\Emby-Server\system\dashboard-ui\modules\homesections

Link to comment
Share on other sites

  • 4 months later...
Dizzy49
On 2/2/2021 at 4:20 PM, Happy2Play said:

Yes it has moved around over the years. 

C:\Users\{USER}\AppData\Roaming\Emby-Server\system\dashboard-ui\modules\homesections

 

This works great for Continue Watching, but is there a similar setting for the other "Latest <library>" ?  I'd like to bump those up to 25-30

Link to comment
Share on other sites

Happy2Play
2 hours ago, Dizzy49 said:
On 2/2/2021 at 3:20 PM, Happy2Play said:

Yes it has moved around over the years. 

C:\Users\{USER}\AppData\Roaming\Emby-Server\system\dashboard-ui\modules\homesections

 

This works great for Continue Watching, but is there a similar setting for the other "Latest <library>" ?  I'd like to bump those up to 25-30

Did you change the limit:16 to a higher number?  That is all I did, changed it to 30 and that is what my Latest sections show.

Link to comment
Share on other sites

Dizzy49
On 6/4/2021 at 4:34 AM, Happy2Play said:

Did you change the limit:16 to a higher number?  That is all I did, changed it to 30 and that is what my Latest sections show.

Yes I did.  There were two places in the file that I changed the number.

My 'Continue Watching' now shows that many, but 'Latest Anime', 'Latest TV', 'Latest Movies' and 'Latest MUST WATCH' all still have 16.

 

I saw someone say they had to clear the image cache.  On the server?  I'm using Emby Theater on my desktop to view, so if it needs cleared on the desktop, where would that be?

Link to comment
Share on other sites

Happy2Play
Just now, Dizzy49 said:

Yes I did.  There were two places in the file that I changed the number.

My 'Continue Watching' now shows that many, but 'Latest Anime', 'Latest TV', 'Latest Movies' and 'Latest MUST WATCH' all still have 16.

 

I saw someone say they had to clear the image cache.  On the server?  I'm using Emby Theater on my desktop to view, so if it needs cleared on the desktop, where would that be?

Custom css and all these \system\dashboard-ui files are only for the web client, not any other client.

Link to comment
Share on other sites

Dizzy49
2 hours ago, Happy2Play said:

Custom css and all these \system\dashboard-ui files are only for the web client, not any other client.

I confirmed that it does work in the browser.  I prefer navigation via keyboard on my desktop though :)

Interesting.  I only changed the dashboard-ui file, I did not change the CSS, but it DID change the number of items shown in the 'Continue Watching' in Emby Theater AND in the Android App

Link to comment
Share on other sites

Happy2Play

The code is specific to each client to the best of my knowledge.  I know my Roku does not show the same number as my web client.

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