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
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,067
    Thanks
    752
    Thanked 403 Times in 303 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
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Is that the default ViX movielist you're using?

  3. #3
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,067
    Thanks
    752
    Thanked 403 Times in 303 Posts
    Yes, with the Simple 1080 skin. The only thing I changed was the number of rows.

  4. #4
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Where does "Goto: MOVIES" come from?

  5. #5
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,067
    Thanks
    752
    Thanked 403 Times in 303 Posts
    Oh sorry, I also have the coloured button designations changed to different shared folders on my NAS (Movies, Series and Recordings).

  6. #6
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,067
    Thanks
    752
    Thanked 403 Times in 303 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
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,792
    Thanks
    237
    Thanked 1,658 Times in 1,306 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
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,275
    Thanked 1,122 Times in 884 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
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,067
    Thanks
    752
    Thanked 403 Times in 303 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
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,360
    Thanks
    6,442
    Thanked 9,160 Times in 6,235 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
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,275
    Thanked 1,122 Times in 884 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
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,792
    Thanks
    237
    Thanked 1,658 Times in 1,306 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
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,792
    Thanks
    237
    Thanked 1,658 Times in 1,306 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
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,629
    Thanks
    2,006
    Thanked 4,953 Times in 3,274 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.
    Help keep OpenViX servers online.Please donate!

  17. #15
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,275
    Thanked 1,122 Times in 884 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.