[Owncloud] Possible improvements on oC scanner (media)

Martin Mattel martin.mattel at inode.at
Tue Mar 5 08:47:29 UTC 2013


Hello icewind1991,

it seems that not only me but many people have some challenges with the media app not showing all possible music files when (re)scanned. I regularily update respectively completely reinstall oC from scratch directly using the master files from github and do my testing, helping to improve oC. But the issue still remains. Only a subset, and I really mean a close to nothing compared to the complete list, of music files are shown in the music app.
All music files are in one root folder mounted by ubuntu and added via the external storage app. They are shown in files and accessing from there is no problem.

I thought about what the root cause could be and two issues came to my mind.
1.) not all files can be identified to be scanned
2.) not all files found are identified by the mimetype as music

In both cases, we need to find out what the cause could be that so many files are not properly identified.

What about the idea creating a kind of logfile, where oC writes the files identified and their mimetype found? The file could be put in the data directory and be named by the user who ran the scan plus a identifyer. eg: "martin_musicscan.log". Rewritten on each scan (not appended).
 
This would help identifying where the cause of missed files would be.

Martin

Sent from my iPad


More information about the Owncloud mailing list