Jump to content
Vidman

Web client to remember "Tab"

Recommended Posts

Diedrich

Agreed. I really dislike the current default url links. I don't care about "suggested", I want to go directly to my list of shows. Same thing for Movies; I want to go to my list of movies and not what was added latest.

 

If you don't want to change the code, would you at least identify which html, CSS, or XML file these links are in, please.

  • Like 6

Share this post


Link to post
Share on other sites
Kosta

Alright, so +1 from me too.

Edited by Kosta

Share this post


Link to post
Share on other sites
Vidman

So you need to thumbs up the first post to +1

Share this post


Link to post
Share on other sites
emby.ch

You can change this manually and it's very easy.

 

>> Note, make sure you have a backup off your system.

 

1. go to your ..\dashboard-ui\scripts\ directory.

2. make a copy from "librarybrowser.js" for a backup

3. now open "librarybrowser.js" and search for the row 490

4. change the value from "return 'moviesrecommended.html?topParentId=' + item.Id;" to "return 'movies.html?topParentId=' + item.Id;"

5. click save and save the file

6. delete the browsers cache and cookies

7. Login and enjoy!

 

 

PS: We have made many changes in our WebClient. If anyone would like to have a look what we made (still in build), go to http://stream.ink and type in the Username "preview" with the password "preview" like blue sliders or a new User-Hovermenu.

  • Like 1

Share this post


Link to post
Share on other sites
jmotto

Code must have changed in the last three months, because that value doesn't exist in that file any more. Librarybrowser.js has this 

if (item.SongCount) {

as line 490 

 

a search of the JS reveals that moviesrecommended.html isn't present.

 

How do can users chose what page to land on when they click on a library source? At the moment, it seems that if you click on your media, it should go to media. Not a suggestion of media.

Share this post


Link to post
Share on other sites
Guy

In librarybrowser.js:

 

MOVIES VIEW (search for if (context != 'folders') {

if (item.CollectionType == 'movies') {

Beneath this line you will see the default Suggestions

return 'movies.html?topParentId=' + item.Id; 
 

Change to "Movies" tab view

return 'movies.html?tab=1&topParentId=' + item.Id; 
 

Change to "Trailers" tab view

return 'movies.html?tab=2&topParentId=' + item.Id; 
Change to "Collections" tab view
return 'movies.html?tab=3&topParentId=' + item.Id; 
 

Change to "Genres" tab view

return 'movies.html?tab=4&topParentId=' + item.Id; 
 

Change to "People" tab view

return 'movies.html?tab=5&topParentId=' + item.Id; 
 

Change to "Studios" tab view

return 'movies.html?tab=6&topParentId=' + item.Id; 
Edited by Guy
  • Like 2

Share this post


Link to post
Share on other sites
jmotto

 

In librarybrowser.js:

 

MOVIES VIEW (search for if (context != 'folders') 

 

 

This is it, right here!

 

Folks, TV-Shows is just a few lines below that, and you can change it to 

{
                    return 'tvshows.html?topParentId=' + item.Id;
                }

THANK YOU GUY! You've been a great help *cough* come on devs *cough*

  • Like 1

Share this post


Link to post
Share on other sites
Diedrich

@@Guy Where would I be able to set the Filter: Not Played to always enabled?

Share this post


Link to post
Share on other sites
nicheplayer

This actually needs to be fixed in the code. No one wants to land at "Suggestions." Why would you?

  • Like 3

Share this post


Link to post
Share on other sites
Vidman

Because the devs believe it 'should' show the things you would most likely to want to access

Share this post


Link to post
Share on other sites
Diedrich

Because the devs believe it 'should' show the things you would most likely to want to access

Then it should be a setting, (read option) in the settings.
  • Like 2

Share this post


Link to post
Share on other sites
Vidman

I agree which is why I made this request

Edited by Vidman

Share this post


Link to post
Share on other sites
Koleckai Silvestri

Controlling default, or even better all the tabs, is something that I have been hoping would be implemented for a long time. Not a fan of "Suggested" either simply because it has the wrong name.

  • Like 1

Share this post


Link to post
Share on other sites
AdrianW

@@nicheplayer - like the first post - that helps raise the profile of the request by increasing it's green number shown in the forum.

Share this post


Link to post
Share on other sites
keem85

 

In librarybrowser.js:

 

MOVIES VIEW (search for if (context != 'folders') {

if (item.CollectionType == 'movies') {

Beneath this line you will see the default Suggestions

return 'movies.html?topParentId=' + item.Id; 
 

Change to "Movies" tab view

return 'movies.html?tab=1&topParentId=' + item.Id; 
 

Change to "Trailers" tab view

return 'movies.html?tab=2&topParentId=' + item.Id; 
Change to "Collections" tab view
return 'movies.html?tab=3&topParentId=' + item.Id; 
 

Change to "Genres" tab view

return 'movies.html?tab=4&topParentId=' + item.Id; 
 

Change to "People" tab view

return 'movies.html?tab=5&topParentId=' + item.Id; 
 

Change to "Studios" tab view

return 'movies.html?tab=6&topParentId=' + item.Id; 

 

 

What do you mean? I don't find any "Suggestions" here. Only "Movies", "Tv Shoes" etc.. What am I to change here?

Share this post


Link to post
Share on other sites
Koleckai Silvestri

You don't really want to edit that file. Every time there is a server update, the change will be undone and you will have to redo it. The best way is to get the Settings and interface to change to support this.

Share this post


Link to post
Share on other sites
Deathsquirrel

It would be fantastic if the server remembered this on a per user basis and the clients could query the property to do the same.

Share this post


Link to post
Share on other sites
Vidman

Are we getting any traction on this request?

  • Like 1

Share this post


Link to post
Share on other sites
Luke

It's a good idea yes.

  • Like 4

Share this post


Link to post
Share on other sites
TheBudda

The Suggestions tab needs to go or give the admin a choice of what tabs he/she would like

  • Like 1

Share this post


Link to post
Share on other sites
Diedrich

Any progress on this? It was requested September, 2014. Starting on a particular tab should persist through logout.

Share this post


Link to post
Share on other sites
lisag

+1 from me, would love to see this too!

  • Like 1

Share this post


Link to post
Share on other sites
AdrianW

+1 from me, would love to see this too!

 

Don't forget to click "✔ Like This" on the first post.

Share this post


Link to post
Share on other sites
Magic815

+1 for this change as well. (Looks like the first post is up to 33 likes now).

 

I'm two days into using Emby, and this is the first sore spot that sticks out to me. Default landing tab for Movies and TV Shows should be configurable by the user. To take it a step further, I'd recommend allowing all tabs to be user configurable. Meaning for both Movies and TV Shows, a user should be able to turn on/off each tab, reorder the tabs, and select a default landing tab.

 

Any comments from developers on if they think this is a good idea? Do they see themselves getting around to this in the near future?

Edited by Magic815
  • Like 3

Share this post


Link to post
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...