Count Number Videos In Subfolders From Parent Folder?
#1
Hi

I have large music video collection with folder structure as follows.

-Music Videos
-----Artist1:
-----------video.mp4
-----------videos2.avi
-----------videos3.mkv
-----Artist2:
-----------video.mp4
-----------video2.mkv
-----Artist100:
-----------video.mp4

The music videos dont have nfo files so they arent added to the library. Im just browsing the file folder structure when viewing them.

I would like to add a label on home screen showing the total number of music videos.

Container.numitems() only counts the number of artist folders.

Is there way for it to count inside the subfolders from the parent folder.

Thanks for any info.
Reply
#2
Mmm, not something that i'm aware of.

But, I think that skin helper service can help you.
http://forum.kodi.tv/showthread.php?tid=235676
Ask there, maybe Marcel will add it as a feature.

B.t.w,
Why not scan the media to the library?
Yes, it will take some time, but once you created the nfo's, its for good.
Phenomenal™ Skin • ForumWebsiteGitHub
Reply
#3
(2016-03-11, 07:40)tomer953 Wrote: Mmm, not something that i'm aware of.

But, I think that skin helper service can help you.
http://forum.kodi.tv/showthread.php?tid=235676
Ask there, maybe Marcel will add it as a feature.

B.t.w,
Why not scan the media to the library?
Yes, it will take some time, but once you created the nfo's, its for good.

The only thing I don't like with NFO files for music videos is when you click on an artist you have select album then shows videos for that album. Be better just to show all music videos when click on artist.

Thanks for info anyways I'll have look into skin helper.
Reply

Logout Mark Read Team Forum Stats Members Help
Count Number Videos In Subfolders From Parent Folder?0