Post Reply 
Streaming music from cloud storage
08-12-2023, 21:05
Post: #9
RE: Streaming music from cloud storage
(08-12-2023 12:25)simoncn Wrote:  I am pleased to hear you have this working.

You will need to do a rescan whenever you add new files or update tags in files. This requires MinimServer to check the attributes of all existing files to see if they have been updated and read any files that were added or updated.

I would be interested to know whether checking a file's attributes takes about the same amount of time as reading the file or is a quicker operation. This should become clear when you do your next rescan. If this takes significantly less time than doing the initial scan, it means that reading a file's attributes is quicker than reading a portion of the file.

The scan done at startup (at which point it is presumably doing the attribute check you describe) is very much quicker, approx. 8 minutes vs. over 3 hours.

It seems to me quite plausible that OneDrive might cache directory information, including attributes such as last modification time, but that is pure speculation on my part. At some point, I suppose I could put Wireshark on the Pi to check what the round trips look like, but I’m afraid I don’t have time to do that right now.

I dare say when I upload some new albums it will be back to the c.300ms per file round trip, but that really doesn’t matter for a few tens of files at a time.

Thanks again for the various explanations and guidance.

Andrew
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Streaming music from cloud storage - GrumpyPatzer - 08-12-2023 21:05

Forum Jump:


User(s) browsing this thread: 1 Guest(s)