Jump to content


Photo
Completed

Web client to remember "Tab"



  • Please log in to reply
43 replies to this topic

#1 Vidman OFFLINE  

Vidman

    Advanced Member

  • Alpha Testers
  • 2688 posts
  • Local time: 04:26 PM

Posted 24 September 2014 - 07:47 PM

*
POPULAR

Whenever you select option from the main menu, the web client defaults to the first tab ie under movie it goes to suggested...under TV and channels it goes to latest etc
Can each one remember which tab was selected so that if I have shows selected under TV and I go to movies and back to TV it will still have the shows tab selected rather than going back to latest?
I hope you understand what I mean?

Edited by Vidman, 24 September 2014 - 07:48 PM.

  • gjviii, MrWebsmith, AdrianW and 60 others like this

#2 Diedrich OFFLINE  

Diedrich

    Advanced Member

  • Members
  • 702 posts
  • Local time: 04:26 AM

Posted 23 November 2014 - 06:05 AM

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.
  • denz, schmitty, dimitrik and 3 others like this

#3 Kosta OFFLINE  

Kosta

    Advanced Member

  • Members
  • 62 posts
  • Local time: 08:26 AM

Posted 26 June 2015 - 03:39 AM

Alright, so +1 from me too.


Edited by Kosta, 26 June 2015 - 03:40 AM.


#4 Vidman OFFLINE  

Vidman

    Advanced Member

  • Alpha Testers
  • 2688 posts
  • Local time: 04:26 PM

Posted 26 June 2015 - 05:03 AM

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

#5 emby.ch OFFLINE  

emby.ch

    Member

  • Members
  • 17 posts
  • Local time: 10:26 AM
  • LocationSwitzerland

Posted 26 June 2015 - 06:24 AM

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.
  • Vidman likes this

#6 jmotto OFFLINE  

jmotto

    Newbie

  • Members
  • 2 posts
  • Local time: 03:26 AM

Posted 06 September 2015 - 01:48 AM

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.



#7 Guy OFFLINE  

Guy

    Advanced Member

  • Members
  • 65 posts
  • Local time: 08:26 AM

Posted 06 September 2015 - 06:01 PM

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, 06 September 2015 - 06:01 PM.

  • Diedrich and jmotto like this

#8 jmotto OFFLINE  

jmotto

    Newbie

  • Members
  • 2 posts
  • Local time: 03:26 AM

Posted 06 September 2015 - 10:19 PM

 

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*


  • Diedrich likes this

#9 Diedrich OFFLINE  

Diedrich

    Advanced Member

  • Members
  • 702 posts
  • Local time: 04:26 AM

Posted 07 September 2015 - 09:37 AM

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

#10 nicheplayer OFFLINE  

nicheplayer

    Advanced Member

  • Members
  • 96 posts
  • Local time: 02:26 AM

Posted 23 December 2015 - 04:31 PM

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


  • Diedrich, GreyJackal and TheBudda like this

#11 Vidman OFFLINE  

Vidman

    Advanced Member

  • Alpha Testers
  • 2688 posts
  • Local time: 04:26 PM

Posted 23 December 2015 - 05:20 PM

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

#12 Diedrich OFFLINE  

Diedrich

    Advanced Member

  • Members
  • 702 posts
  • Local time: 04:26 AM

Posted 23 December 2015 - 05:39 PM

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.
  • nicheplayer and jlr19 like this

#13 Vidman OFFLINE  

Vidman

    Advanced Member

  • Alpha Testers
  • 2688 posts
  • Local time: 04:26 PM

Posted 23 December 2015 - 05:42 PM

I agree which is why I made this request

Edited by Vidman, 23 December 2015 - 05:43 PM.


#14 Koleckai Silvestri OFFLINE  

Koleckai Silvestri

    Advanced Member

  • Alpha Testers
  • 3735 posts
  • Local time: 12:26 AM

Posted 23 December 2015 - 06:28 PM

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.


  • TheBudda likes this

#15 AdrianW OFFLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2491 posts
  • Local time: 04:26 PM
  • LocationPerth, Australia

Posted 23 December 2015 - 08:24 PM

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



#16 keem85 OFFLINE  

keem85

    Advanced Member

  • Members
  • 50 posts

Posted 31 December 2015 - 08:13 AM

 

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?



#17 Koleckai Silvestri OFFLINE  

Koleckai Silvestri

    Advanced Member

  • Alpha Testers
  • 3735 posts
  • Local time: 12:26 AM

Posted 31 December 2015 - 09:18 AM

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.

#18 Deathsquirrel OFFLINE  

Deathsquirrel

    Advanced Member

  • Members
  • 2072 posts
  • Local time: 01:26 AM

Posted 31 December 2015 - 01:32 PM

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.



#19 Vidman OFFLINE  

Vidman

    Advanced Member

  • Alpha Testers
  • 2688 posts
  • Local time: 04:26 PM

Posted 13 January 2016 - 09:47 PM

Are we getting any traction on this request?
  • TheBudda likes this

#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152846 posts
  • Local time: 04:26 AM

Posted 13 January 2016 - 10:19 PM

It's a good idea yes.


  • schmitty, TheBudda, mark235 and 1 other like this





Also tagged with one or more of these keywords: Completed

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users