Jump to content


Photo

[Feature Request] Number of files of directories/folders on Recorded files... /media/usb/movie/ page


  • Please log in to reply
4 replies to this topic

#1 klorinczi

  • Senior Member
  • 33 posts

0
Neutral

Posted 29 March 2024 - 15:31

I really miss the number of files of directories/folders on Recorded files... /media/usb/movie/ page.
 
Currently shows:
Deleted items                  Trash can
TV show1 directory         Directory
TV show2 directory         Directory
TV show3 directory         Directory
 
 
Feature request result to show:
Deleted items [ 12 movies ]                  Trash can
TV show1 directory [ 18 movies ]         Directory
TV show2 directory [ 0 movies ]           Directory
TV show3 directory [ 3 movies ]           Directory
 
Note the number of files/movies info about subdirectory/subfolder shown in parentheses.
 
Another display format could be to show number of movies in the directory shown in separate line:
Deleted items                   Trash can
[ 12 movies ]
 
TV show1 directory            Directory
[ 18 movies ]
 
TV show2 directory            Directory
[ 0 movies ]
 
TV show3 directory            Directory
[ 3 movies ]

 

 

Could be possible to add this feature?

 



Re: [Feature Request] Number of files of directories/folders on Recorded files... /media/usb/movie/ page #2 littlesat

  • PLi® Core member
  • 57,166 posts

+698
Excellent

Posted 29 March 2024 - 17:27

This also means you need to parse the whole path and keeping in mind masses etc can be involved it will slow down performance

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [Feature Request] Number of files of directories/folders on Recorded files... /media/usb/movie/ page #3 klorinczi

  • Senior Member
  • 33 posts

0
Neutral

Posted 29 March 2024 - 17:38

This also means you need to parse the whole path and keeping in mind masses etc can be involved it will slow down performance

 
Well, you are right, it may affect performance in some situations.
It may not as easy as I imagined.
 
But it can be handled in separate ways.
 
Likely there will be no performance problems with external SATA disks attached on USB port until a few hundreds of files per directory.
It is possible to cache subdir movie counts, display cached numbers, then refresh only rarely.
 
It may really mean performance problem for network attached devices (NAS).
But network devices can be detected, so subdir counting can be disabled for networking devices.
 
There are several possible ways for solution:
 
1) New option in Settings:
Subdirectory movie counting for external : [ X ] Yes (default) [ ] No
 
2) New option in Settings:
Subdirectory movie counting for network drives: [ ] Yes [ X ] No (default)
 
3) New option in Settings:
Subdirectory movie counting (cache movie count): [ X ] Yes (default) [ ] No
 
4) New option in Settings:
Subdirectory movie counting - (display [ # ] character above [ 500 ] ) movies: [ X ] Yes (default) [ ] No
 
With implementing such options, performance problems could be handled.


Re: [Feature Request] Number of files of directories/folders on Recorded files... /media/usb/movie/ page #4 littlesat

  • PLi® Core member
  • 57,166 posts

+698
Excellent

Posted 29 March 2024 - 18:38

You can have subs in subs and ‘loops’ this is not easy….and masses that need to startup… before you know you break a lot with such nice looking ideas.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [Feature Request] Number of files of directories/folders on Recorded files... /media/usb/movie/ page #5 ims

  • PLi® Core member
  • 13,785 posts

+214
Excellent

Posted 29 March 2024 - 19:53

if you need count number files in directory and size, use moviemanager plugin and "inverse"


Kdo nic nedělá, nic nezkazí!


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users