Jump to content

Random Genre sections on home screen


Recommended Posts

brothom
Posted (edited)
13 hours ago, Luke said:

HI, sure, feel free to post. Thanks.

Here you go.

In both files I've marked the changes between "START ADDITION" and "END ADDITION" tags. 

I have these modified files running on my local server and seem to create consistent "random" results making my homescreen feel much more alive and also bring random items to my attention: 

image.thumb.png.b10043b1d155352d24d9d7c5267e53d0.png

Performance also seems pretty good, no discernible lag.

I also took the liberty to modify the title to also contain the links to the associated item via the router
I'm pretty sure this actually should only work in-browser due to other platforms rendering titles differently.

homescreen.html homesections.js

Edited by brothom
Formatting / fix typo
  • Thanks 1
PuffyToesToo
Posted
7 hours ago, brothom said:

Here you go.

In both files I've marked the changes between "START ADDITION" and "END ADDITION" tags. 

I have these modified files running on my local server and seem to create consistent "random" results making my homescreen feel much more alive and also bring random items to my attention: 

image.thumb.png.b10043b1d155352d24d9d7c5267e53d0.png

Performance also seems pretty good, no discernible lag.

I also took the liberty to modify the title to also contain the links to the associated item via the router
I'm pretty sure this actually should only work in-browser due to other platforms rendering titles differently.

homescreen.html 12.81 kB · 2 downloads homesections.js 86.9 kB · 2 downloads

Well done, does this only work through a browser, or is it compatible with smart TVs etc? Thank you.

  • Agree 1
brothom
Posted (edited)
13 hours ago, PuffyToesToo said:

Well done, does this only work through a browser, or is it compatible with smart TVs etc? Thank you.

Adding this to your local server, will add the section for any other device, but it won't be able to render it because the part under `homesections.js` belongs to different environments.

Logging in via app.emby.media also won't show the new section, because the global emby .html/.js-files haven't been modified.

Logging in via your local server or local IP should allow you to see (and configure) this section.

13 hours ago, ebr said:

@brothomI've moved this out of the FR topic.  Thanks.

Thank you!

Can you maybe change the title of this topic from "Smart Playlists" to "Homescreen random Genre-based sliders" or such? This method does not create any playlists but basically uses the same overviews a user would get to search for specific media.

Edited by brothom
Added request, completeness
  • 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...