anacrolix / dms

A UPnP DLNA Digital Media Server that includes basic video transcoding. Tested on a Panasonic Viera television, several Android UPnP apps, and Chromecast.
BSD 3-Clause "New" or "Revised" License
646 stars 96 forks source link

BubbleUPnP and DMS #105

Open adler99 opened 2 years ago

adler99 commented 2 years ago

Hi,

I've problems to browse large libraries with BubbleUPnP (Android Phone) and a DMS server. Talking about ~26k of mp3s.

How many files can DMS manage? What are you experiences? Is there any tuning possible?

Thanks!

anacrolix commented 2 years ago

This might be related to https://github.com/anacrolix/dms/issues/47. I suspect you need to ensure caching occurs across process restarts, and might be struggling to trigger metadata for the first use of your (very large) directory?

adler99 commented 2 years ago

yes, I guess you need a persistent cache for large directories. I've the feeling that even when one scan completes, the next request coming in is triggering another full scan. As if there would be no caching at all... Could you share how many files you found to work well? Thanks!

anacrolix commented 2 years ago

I've tested with a few 1000, but a few small fixes will make this scale to arbitrary levels.