Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 9 123 ... LastLast
Results 1 to 15 of 132

Thread: Movie list directory sort order

  1. #1
    Forum Supporter
    Donated Member
    Willo3092's Avatar

    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    749
    Thanks
    615
    Thanked 291 Times in 216 Posts

    Movie list directory sort order

    Has anything changed in the directory sort function in ViX 6.0?
    I have the default sort setting of 'recordings by date and other media by name' on ViX 5.4 and ViX 6.0 on the same receiver.

    On ViX 5.4 and previous versions it has always showed the directories containing the newest recordings first.

    MovieList-5.4.0.16.jpg

    On ViX 6.0 the directories are just in alphabetic order and even changing to 'sort by date' doesn't work.

    MovieList-6.0.0.02.jpg

    I record to a NAS, not sure if this makes a difference?

  2. #2
    ViX Beta Tester ccs's Avatar

    Join Date
    Sep 2014
    Posts
    5,097
    Thanks
    512
    Thanked 1,172 Times in 1,001 Posts
    Is that the default ViX movielist you're using?

  3. #3
    Forum Supporter
    Donated Member
    Willo3092's Avatar

    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    749
    Thanks
    615
    Thanked 291 Times in 216 Posts
    Yes, with the Simple 1080 skin. The only thing I changed was the number of rows.

  4. #4
    ViX Beta Tester ccs's Avatar

    Join Date
    Sep 2014
    Posts
    5,097
    Thanks
    512
    Thanked 1,172 Times in 1,001 Posts
    Where does "Goto: MOVIES" come from?

  5. #5
    Forum Supporter
    Donated Member
    Willo3092's Avatar

    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    749
    Thanks
    615
    Thanked 291 Times in 216 Posts
    Oh sorry, I also have the coloured button designations changed to different shared folders on my NAS (Movies, Series and Recordings).

  6. #6
    Forum Supporter
    Donated Member
    Willo3092's Avatar

    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    749
    Thanks
    615
    Thanked 291 Times in 216 Posts
    Tried again and ViX 5.4 allows directories to be sorted by date but ViX 6.0 only sorts alphabetically even if sort by date is selected

  7. #7
    Moderator birdman's Avatar

    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    6,718
    Thanks
    191
    Thanked 1,514 Times in 1,179 Posts
    Quote Originally Posted by Willo3092 View Post
    I have the default sort setting of 'recordings by date and other media by name' on ViX 5.4 and ViX 6.0 on the same receiver.
    Given that a directory is not a recording, I'd expect that to sort directories by name.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  8. #8
    Moderator Joe_90's Avatar

    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    3,310
    Thanks
    1,059
    Thanked 917 Times in 723 Posts
    Quote Originally Posted by birdman View Post
    Given that a directory is not a recording, I'd expect that to sort directories by name.
    Maybe directory "Date Modified" could be a sort option?
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

  9. The Following User Says Thank You to Joe_90 For This Useful Post:

    abu baniaz (17-11-21)

  10. #9
    Forum Supporter
    Donated Member
    Willo3092's Avatar

    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    749
    Thanks
    615
    Thanked 291 Times in 216 Posts
    Quote Originally Posted by birdman View Post
    Given that a directory is not a recording, I'd expect that to sort directories by name.
    Yes, so would I but in ViX 5.4 the directories in my recordings NAS share have always been sorted by whichever directory has the newest recordings with it set as 'recordings by date and other media by name'.
    All other shared folders such as Movies and TV Series are alphabetical with the same settings.
    The Movies share is similar to recordings, in that it has directories and individual files but it is all sorted alphabetically

    This actually suited me in ViX 5.4 because I knew all of the latest recordings were in directories at the top of the list. In ViX 6.0 I would like to do the same but even sorting by date doesn't work.

  11. #10
    Moderator abu baniaz's Avatar

    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,196
    Thanks
    5,977
    Thanked 8,729 Times in 5,887 Posts
    Quote Originally Posted by birdman View Post
    Given that a directory is not a recording, I'd expect that to sort directories by name.
    But some people put their recordings in a directory. It is a GUI option in the Timer menus asking where to put the recording.

  12. #11
    Moderator Joe_90's Avatar

    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    3,310
    Thanks
    1,059
    Thanked 917 Times in 723 Posts
    @abu - the files (recordings) within a directory can be sorted by date. It appears from @Willo's posts that Vix 6.0 is sorting the actual directories alphabetically by default whereas 5.4 was doing so by date. The linux command ls -al will sort directories by name. ls -alt will sort them by modification date/time with newest first.
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

  13. The Following 2 Users Say Thank You to Joe_90 For This Useful Post:

    abu baniaz (17-11-21),Willo3092 (17-11-21)

  14. #12
    Moderator birdman's Avatar

    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    6,718
    Thanks
    191
    Thanked 1,514 Times in 1,179 Posts
    Quote Originally Posted by Joe_90 View Post
    @abu - the files (recordings) within a directory can be sorted by date. It appears from @Willo's posts that Vix 6.0 is sorting the actual directories alphabetically by default whereas 5.4 was doing so by date.
    Which wouldn't help you if you had multiple directory levels, as the top level wouldn't change date when a lower level directory's date was changed.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  15. #13
    Moderator birdman's Avatar

    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    6,718
    Thanks
    191
    Thanked 1,514 Times in 1,179 Posts
    The code to do the sort (for "by date" - this hasn't changed in 6.0) is:
    Code:
                   elif self.current_sort == MovieList.SORT_RECORDED: 
                            self.list = sorted(self.list[:numberOfDirs], key=self.buildBeginTimeSortKey) + sorted(self.list[numberOfDirs:], key=self.buildBeginTimeSortKey)
    so the intention is to put all of the directories first, sorted by time, then any files, sorted by time.

    The thing that has changed is buildBeginTimeSortKey(). It now returns 3 items, not 2. I'm not sure why....

    EDIT: oddly, it can now return a name, despite the function supposedly setting up a time key.

    It's this change that did it (lines 969/970):
    Code:
    https://github.com/OpenViX/enigma2/commit/ea343a1977250596d4c9669dcfc5f0e80b56bf13
    Last edited by birdman; 17-11-21 at 19:13.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  16. #14
    Moderator Huevos's Avatar

    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,864
    Thanks
    1,826
    Thanked 3,988 Times in 2,626 Posts
    Certain sorts are not available on a per directory basis. Only global.

    I think this thread is a déjà vu of one we had in the private area about a year ago, but I can't find it at the moment.
    Last edited by Huevos; 17-11-21 at 19:07.

  17. #15
    Moderator Joe_90's Avatar

    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    3,310
    Thanks
    1,059
    Thanked 917 Times in 723 Posts
    Quote Originally Posted by birdman View Post
    Which wouldn't help you if you had multiple directory levels, as the top level wouldn't change date when a lower level directory's date was changed.
    This would be true, but I think the OP does not have subdirectories. He just wants his top directories sorted in date order.
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

Page 1 of 9 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.