Jump to content

How to modify the default order of the media library?


zhowl

Recommended Posts

怎么修改媒体库默认顺序?

How to modify the default order of the media library?

当我设置新用户的时候,媒体库顺序是我想要的顺序呢?

When I set up a new user, the order of the media library is what I want?

是添加CSS还是修改配置文件?

Should I add CSS or modify the configuration file?

图片1是目前默认的媒体库顺序,对于我来说不是很满意,图片2为我手动修改的媒体库顺序。

Picture 1 is the current default order of the media library, which is not very satisfactory to me. Picture 2 is the order of the media library that I manually modified.

微信截图_20210902131132.png

微信截图_20210902131144.png

Link to comment
Share on other sites

arrbee99

If I understand correctly you go to the Server Dashboard, click on Home Screen and use the arrows under Library Order -

2142108671_EmbyLibraryOrder.thumb.JPG.ffffd0c866b08cdec0827963163a096c.JPG

Link to comment
Share on other sites

GrimReaper
Just now, arrbee99 said:

If I understand correctly you go to the Server Dashboard, click on Home Screen and use the arrows under Library Order -

2142108671_EmbyLibraryOrder.thumb.JPG.ffffd0c866b08cdec0827963163a096c.JPG

Nope, OP wants to change the default order for any new user (currently alphabetical, AFAIK). Don't know whether that's feasible via CSS, wouldn't think so. 

Link to comment
Share on other sites

Just now, arrbee99 said:

如果我理解正确,请转到服务器仪表板,单击主屏幕并使用库订单下的箭头 -

2142108671_EmbyLibraryOrder.thumb.JPG.ffffd0c866b08cdec0827963163a096c.JPG

我知道这样是可以修改媒体库顺序的。你可能理解错了我的意思。我是想修改所有用户的媒体库顺序并非单一用户。

I know that the order of the media library can be modified in this way. You may have misunderstood what I meant. I want to modify the order of the media library of all users, not a single user.

Link to comment
Share on other sites

1 minute ago, arrbee99 said:

Ok. Sorry about that. Thats pretty much all I know about that kind of stuff unfortunately 😀

It's okay, thank you for your enthusiasm.

  • Thanks 1
Link to comment
Share on other sites

GrimReaper

You might use Server Configuration Backup plugin, create Default user with desired Library order and settings, backup and store that backup folder somewhere safe, when creating new user just recall from that same backup and you'll have it set exactly the same. 

  • Like 1
Link to comment
Share on other sites

Happy2Play

Until we have user templates this is a manual process of creating a new user then. copy and paste config and policy xml's from a configured user to new user.  

Link to comment
Share on other sites

我发现媒体库的默认顺序是按照这个路径下的顺序排列的.是否可以通过修改配置文件/html/xml/CSS的方法来实现默认顺序的修改呢?

I found that the default order of the media library is arranged in the order under this path. Is it possible to modify the default order by modifying the configuration file /html/xml/CSS?

/EmbyServer/programdata/root/default/

微信截图_20210902151719.png

Link to comment
Share on other sites

Happy2Play
5 minutes ago, zhowl said:

我发现媒体库的默认顺序是按照这个路径下的顺序排列的.是否可以通过修改配置文件/html/xml/CSS的方法来实现默认顺序的修改呢?

I found that the default order of the media library is arranged in the order under this path. Is it possible to modify the default order by modifying the configuration file /html/xml/CSS?

/EmbyServer/programdata/root/default/

微信截图_20210902151719.png

The order is in a per user config.xml by library id. "/EmbyServer/programdata/config/users/userid folders/config.xml"

  <OrderedViews>
    <string>a329771776adbdb07b6c33f01ea51e49</string>
    <string>d4f9f1e19973c2c52c4ad58c85462739</string>
    <string>35470511eeb8e934f873e97b483b3831</string>
    <string>9d7ad6afe9afa2dab1a2f6e00ad28fa6</string>
    <string>3aeb99515c5a4d67fe12f482a99e3d6c</string>
    <string>32ee4031a446b13e1c5b0b4ebebde05b</string>
    <string>00e6b1ff67d0cfb65ba8825631fe1b94</string>
    <string>0904935442732fb0e1bdc2dc1b0b0fea</string>
    <string>f1ffda17fff72a19997ec7e667bb8d3c</string>
    <string>62ade2ba7cdb6010894c0a6acf9cd727</string>
    <string>71c66a8d96a733cc1741912a83ece1f8</string>
    <string>518de94b5ddf381e9e6297e2f1767c44</string>
    <string>5949d81105d0e69f57107aa56a64ec06</string>
    <string>0065100693b349955b725be01e212708</string>
    <string>1dd16bc5864afd5d3151afb445b33c59</string>
    <string>fea9a46783f935a0acd44078a7c8b0bc</string>
    <string>7e64e319657a9516ec78490da03edccb</string>
    <string>76d537b474d43a143539dd4ad0000d9c</string>
    <string>9713ca41539b6bcc9215a8bbed2b1b32</string>
    <string>e957f9042f99d8b3c9c0f7f4d81898b8</string>
    <string>40b0fe5dacfa2819842f5facb9fd9a24</string>
    <string>1e718d3df428c1e97f7f2e95db8d1222</string>
    <string>2c7c652c0f2ba701e263c45458e1c57b</string>
    <string>28b5d5b8bef4bd1f1914503b5c11ac91</string>
    <string>e571044e42838df0e0bc9ba33cf224c7</string>
    <string>0a07eda4493d2a42d1ae97a8df7b3b21</string>
    <string>6a28d8fe1cb7bfb5fc396463c6517f64</string>
    <string>b8c6884895a8fb91c0bd4ec0573e0137</string>
    <string>c914698777de31786bf9b9e072b75fff</string>
    <string>63240527b018956b3a0f932b83094645</string>
    <string>f95523fd1c046d9098cdac5b3d90f524</string>
    <string>8e409df290f325e04cb0e23a1a32a5cf</string>
    <string>c5292ac905a300a966ebf586184ca9b9</string>
    <string>a82f7ae249b029c3426a74ead40e01be</string>
    <string>af71c681da609e9be4975068f35e0328</string>
    <string>26ca8e4674122bc3f4e29538c93b7f7c</string>
    <string>43a51d38c695a517a7e96ff386bd50d4</string>
    <string>df31785e72859e28ab28928c49169431</string>
    <string>42edd5f8bcd9c2116dacc56796ba4a1e</string>
    <string>f45fb1f3c4b9c67cc10a5c681f319870</string>
    <string>2b2bca16aacc8a14d53a11bb829eafa5</string>
    <string>95b0ff84299690f6fb05e4f4d4938a31</string>
    <string>07df27936eb53f0f0fe0dbaf825c08e7</string>
  </OrderedViews>

There are no files to the default order the server provides, so until we have user templates which is feature request you have to manually change each user.

Edited by Happy2Play
Link to comment
Share on other sites

我尝试过删除并重新创建媒体库的方法来改变媒体库顺序.但是我没有太清楚媒体库顺序的逻辑.是创建时间越晚的所创建的媒体库的顺序越靠前吗?

I have tried deleting and recreating the media library to change the order of the media library. But I am not too clear about the logic of the media library order. Is the order of the created media library higher when the creation time is later?

这是我尝试过的一种方法.但这应该不是最佳的方法,并且我不想再次删除媒体库重新创建.

This is one method I have tried. But it should not be the best method, and I don't want to delete the media library again and create it again.

Link to comment
Share on other sites

Happy2Play

The default order is the order the libraries are created.  I will look later to see if there is anything provides the default order in the database.

Link to comment
Share on other sites

3 minutes ago, Happy2Play said:

The order is in a per user config.xml by library id. "/EmbyServer/programdata/config/users/userid folders/config.xml"


  <OrderedViews>
    <string>a329771776adbdb07b6c33f01ea51e49</string>
    <string>d4f9f1e19973c2c52c4ad58c85462739</string>
    <string>35470511eeb8e934f873e97b483b3831</string>
    <string>9d7ad6afe9afa2dab1a2f6e00ad28fa6</string>
    <string>3aeb99515c5a4d67fe12f482a99e3d6c</string>
    <string>32ee4031a446b13e1c5b0b4ebebde05b</string>
    <string>00e6b1ff67d0cfb65ba8825631fe1b94</string>
    <string>0904935442732fb0e1bdc2dc1b0b0fea</string>
    <string>f1ffda17fff72a19997ec7e667bb8d3c</string>
    <string>62ade2ba7cdb6010894c0a6acf9cd727</string>
    <string>71c66a8d96a733cc1741912a83ece1f8</string>
    <string>518de94b5ddf381e9e6297e2f1767c44</string>
    <string>5949d81105d0e69f57107aa56a64ec06</string>
    <string>0065100693b349955b725be01e212708</string>
    <string>1dd16bc5864afd5d3151afb445b33c59</string>
    <string>fea9a46783f935a0acd44078a7c8b0bc</string>
    <string>7e64e319657a9516ec78490da03edccb</string>
    <string>76d537b474d43a143539dd4ad0000d9c</string>
    <string>9713ca41539b6bcc9215a8bbed2b1b32</string>
    <string>e957f9042f99d8b3c9c0f7f4d81898b8</string>
    <string>40b0fe5dacfa2819842f5facb9fd9a24</string>
    <string>1e718d3df428c1e97f7f2e95db8d1222</string>
    <string>2c7c652c0f2ba701e263c45458e1c57b</string>
    <string>28b5d5b8bef4bd1f1914503b5c11ac91</string>
    <string>e571044e42838df0e0bc9ba33cf224c7</string>
    <string>0a07eda4493d2a42d1ae97a8df7b3b21</string>
    <string>6a28d8fe1cb7bfb5fc396463c6517f64</string>
    <string>b8c6884895a8fb91c0bd4ec0573e0137</string>
    <string>c914698777de31786bf9b9e072b75fff</string>
    <string>63240527b018956b3a0f932b83094645</string>
    <string>f95523fd1c046d9098cdac5b3d90f524</string>
    <string>8e409df290f325e04cb0e23a1a32a5cf</string>
    <string>c5292ac905a300a966ebf586184ca9b9</string>
    <string>a82f7ae249b029c3426a74ead40e01be</string>
    <string>af71c681da609e9be4975068f35e0328</string>
    <string>26ca8e4674122bc3f4e29538c93b7f7c</string>
    <string>43a51d38c695a517a7e96ff386bd50d4</string>
    <string>df31785e72859e28ab28928c49169431</string>
    <string>42edd5f8bcd9c2116dacc56796ba4a1e</string>
    <string>f45fb1f3c4b9c67cc10a5c681f319870</string>
    <string>2b2bca16aacc8a14d53a11bb829eafa5</string>
    <string>95b0ff84299690f6fb05e4f4d4938a31</string>
    <string>07df27936eb53f0f0fe0dbaf825c08e7</string>
  </OrderedViews>

 

非常谢谢,这让我距离最好的解决方法更进一步了.有没有哪个文件是规定库ID的默认顺序,修改它以便于后续的新用户沿用此顺序

Thank you so much, this brings me one step closer to the best solution. Is there any file that specifies the default order of library IDs and modify it so that subsequent new users can follow this order

Link to comment
Share on other sites

Happy2Play
1 minute ago, zhowl said:

非常谢谢,这让我距离最好的解决方法更进一步了.有没有哪个文件是规定库ID的默认顺序,修改它以便于后续的新用户沿用此顺序

Thank you so much, this brings me one step closer to the best solution. Is there any file that specifies the default order of library IDs and modify it so that subsequent new users can follow this order

As far as I know it is database driven.

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