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 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 49

Thread: Display Directory Size

  1. #31
    BrokenUnusableAccount
    Quote Originally Posted by simonc View Post
    It's not about getting places quickly or having a hectic life. It's about user experience. Have a think about the implications of waiting half a second before the UI responds every time you highlight a large directory, or one that's on a slow network and might take 20 seconds or more (see twol's earlier post). Even if you're not interested in the size of the directory, it's still going to kick off a scan of the subdirectories and while that's going on you can't do anything while you're waiting. It becomes a barrier to getting to the items you're interested in and you'll probably press the arrow buttons a few times while you're waiting wondering what's going on, which will exacerbate the problem by kicking off more directory scans.
    In an ideal implementation you wouldn't have to wait for it to scan and add up the sizes unless you wanted to, you would be able to moving the cursor around without waiting if you chose and the scanning would be interrupted before it completed.

    But I am saying this with no real idea of how difficult this would be to do in the OpenViX UI.

  2. #32
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,777
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    You could the count of directories and total size (block count?) of files in each location, along with the percentage of that filesystem in use (or free).
    That should be quick for all instances. But might be no more useful than the current display.
    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

  3. #33

    Title
    ViX Beta Tester
    Join Date
    Nov 2017
    Posts
    888
    Thanks
    103
    Thanked 480 Times in 285 Posts
    Which is bang on what we're getting

  4. The Following User Says Thank You to simonc For This Useful Post:


  5. #34
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    While you're on a roll, any chance of adding the programme description (of the earliest recording?) when highlighting a collection?

  6. #35

    Title
    ViX Beta Tester
    Join Date
    Nov 2017
    Posts
    888
    Thanks
    103
    Thanked 480 Times in 285 Posts
    Ha, I vaguely remembered your request from March and started having a look yesterday. One question: should it actually show the description of the item that's bottom or maybe top of your chosen sort order?

  7. #36
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by simonc View Post
    Ha, I vaguely remembered your request from March and started having a look yesterday. One question: should it actually show the description of the item that's bottom or maybe top of your chosen sort order?
    My sort order is always the default "by date" so my preference would be the bottom of that list.

    I'd rather see the first episode description (the oldest) rather than the last episode (which is at the top), as it might contain spoilers.
    Last edited by ccs; 26-07-21 at 11:23.

  8. #37
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,274
    Thanked 1,122 Times in 884 Posts
    Maybe the collection entry could also show the date of the oldest recording in the list? It currently shows 1st Jan 1970.
    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. #38

    Title
    ViX Beta Tester
    Join Date
    Nov 2017
    Posts
    888
    Thanks
    103
    Thanked 480 Times in 285 Posts
    Quote Originally Posted by Joe_90 View Post
    Maybe the collection entry could also show the date of the oldest recording in the list? It currently shows 1st Jan 1970.
    Ah, yes. Not spotted that because my skin doesn't display that info.

    Agreed that showing the oldest episode description is the safest in all cases.

  10. #39

    Title
    ViX Beta Tester
    Join Date
    Nov 2017
    Posts
    888
    Thanks
    103
    Thanked 480 Times in 285 Posts
    Now that I look again, when selected, directories show 1st Jan 1970 as well. Lets keep things simple and not show a date for those or for collections.

    I experimented with making the selecting of a collection show all the details (start time, durection, picon) of the oldest recording, but it was starting to get a bit misleading: it looked like you'd selected a recording. I'll stick with just the description and the total size of the collection.

  11. The Following 2 Users Say Thank You to simonc For This Useful Post:

    Joe_90 (27-07-21)

  12. #40
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by simonc View Post
    Ah, yes. Not spotted that because my skin doesn't display that info.

    Agreed that showing the oldest episode description is the safest in all cases.
    Thanks for adding the feature, looking good in 5.5.014.008

  13. #41
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by ccs View Post
    Thanks for adding the feature, looking good in 5.5.014.008
    Not sure how (MS Edge), but the g's in looking good have both lost the tail in my last post. Just quoting to see what happens.

    EDIT: looks ok in the quote.

    Changing the magnification up or down from 100% brings the tail back.

    Post #33 does the same, the rest on this page are ok.
    Last edited by ccs; 31-07-21 at 13:35.

  14. #42
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,274
    Thanked 1,122 Times in 884 Posts
    Quote Originally Posted by simonc View Post
    Now that I look again, when selected, directories show 1st Jan 1970 as well. Lets keep things simple and not show a date for those or for collections.

    I experimented with making the selecting of a collection show all the details (start time, durection, picon) of the oldest recording, but it was starting to get a bit misleading: it looked like you'd selected a recording. I'll stick with just the description and the total size of the collection.
    Thanks for that in 5.5 builds. Is it being ported to 5.4 or is it py3 only? I don't see any recent commits for directory/collections in the Dev branch.
    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

  15. #43
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,614
    Thanks
    2,006
    Thanked 4,947 Times in 3,269 Posts
    I think it is about time that we switch to the Py3 compatible branch for all builds.
    Help keep OpenViX servers online.Please donate!

  16. The Following 2 Users Say Thank You to Huevos For This Useful Post:

    Andy_Hazza (03-08-21),Joe_90 (03-08-21)

  17. #44

    Title
    ViX Beta Tester
    Join Date
    Nov 2017
    Posts
    888
    Thanks
    103
    Thanked 480 Times in 285 Posts
    Yes, this feature wouldn't work on Python 2; I used one of the new, faster, Python 3 directory scanning functions.

  18. The Following 4 Users Say Thank You to simonc For This Useful Post:

    Andy_Hazza (03-08-21),Huevos (04-08-21),Joe_90 (03-08-21)

  19. #45
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,614
    Thanks
    2,006
    Thanked 4,947 Times in 3,269 Posts
    Quote Originally Posted by simonc View Post
    Yes, this feature wouldn't work on Python 2; I used one of the new, faster, Python 3 directory scanning functions.
    Does that mean we now have code in that branch that is not compatible with Py2? The plan was that branch would run on both so we could use it for both builds until we drop Py2 altogether.
    Help keep OpenViX servers online.Please donate!

Page 3 of 4 FirstFirst 1234 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.