New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More intelligent file scanner #299
Comments
Yes! Player doesn't notice when I add books to my book directory. Maybe a "rescan" function ? |
It should recognize them as of today. Maybe you added them in a wrong folders, or the files are defect, or its some special file format? |
I'll try again with the latest version. It was at least partly my Julian. On 11/28/2015 7:57 AM, Paul Woitaschek wrote:
|
Well if you misunderstood it it means that it is not clear enough explained. Do you have a suggestion to prevent these misunderstandings? |
That's very modest of you, Paul :-) Challenge accepted; let me get properly familiar with it and I would be Julian. On 11/28/2015 12:29 PM, Paul Woitaschek wrote:
|
Paul, I'm having trouble with basics now, and my installation is essentially I'm having trouble rebuilding my folder now. Do you have a document Thanks, On 11/28/2015 12:29 PM, Paul Woitaschek wrote:
|
Which version are you using? If you find a bug please report on a separate issue. The file structure is not very complicated. Either you add a single book which means all contents inside that folder (including subfolders) will be recognized as a a single book. (i.e /storage/.../HarryPotter1/ Or you have a multiple folder one like /storage/../Audiobooks/ |
I understand the individual words, but not the meaning of what you How does the app resolve a book title name? For example, do you use the How does the app expect to see individual chapter files named ? What filename structure does the app want to see for files from each I have a folder structure as follows: This has worked for me for months, except that the title of the book has Today, after update, it crashes continuously. Sometimes I have to Maybe this is a clue: This did not happen previously - say, before Friday, Where is the version shown? I don't see it anywhere. Where are configuration/library files stored? Julian. On 11/29/2015 5:21 AM, Paul Woitaschek wrote:
|
Why not offer a way to do manual scan only? |
For convenience. |
I personally think that a manual scan is much more convenient solution, given that i can exrend my battery hold that way. |
Did you measure the duration? |
I did not but i see that couple minutes min eachtime it rescans. i am sure thus number will go up as I add new audio. also the scan is not one time you kniw. It foes this multiple times during the life of the app usage. |
Sorry for the typos I am on a phone and my addons block rediting scripts |
I don't expect that it costs too much battery. Most of the times users stay in a book and the scanner only gets triggered when you enter the book shelf. |
Actually that logic does not hold well and the reason is this. What is the likely hood of recurring adding multiple new books to the lib by the user while the app is open or closing? No user is going to add new audio book every 10-20 mins to the lib everytime they use the app. |
That is the reason why this ticket exists. |
To me this auto scan is just causing unnecessary energy use. at lwast that is how i personally see theis issue. Manual scan is not unheard of, many apps take that route. |
How do you actually know this? What do the battery stats show? |
Well any disk activity will cause energy consumption and this app does that activity a lot. but in all fairness i will try to find and up to stat it to be precise. |
I would love a manual scan option--not so much for battery life in my case, but because when I add books, it seems to take forever for them to show up in MP. For some reason, closing and re-opening the app hasn't helped me in the past--I have to just sit and wait for the books to appear in the list. (I haven't tested, but one ebook with 1218 files may be causing the delay.) |
There are two issues with the current scanner on android 6 from what i can tell #460 and #475 There seems to be a bug where the app will only display the first book of a series listed in a subfolder such as: Audtiobooks > Author > Series Name > Book 1, 2 etc Take a look at the above two issues #460 and #475 and your see the current bug, perhaps this could be fixed while a rewrite of the scanner is happening ? Thanks David |
An intelligent file scanner is not necessary as the current one works perfectly. However I just introduced a change that massively increase the scanning time. I added a timestamp to each chapter that contains the time of the last modification of the file. When the file to scan has the same timestamp, that chapter will be used and the metadata won't be scanned at all. The first scan will however take its time, but there is no way around that. Can you test the version and tell me if it works as expected? https://github.com/PaulWoitaschek/MaterialAudiobookPlayer/releases/tag/v3.0.13-RC |
You can also grab the latest version by joining the beta: |
Write a more intelligent file scanner who is able to scan only once on startup.
After that watch all directories recursively and update / add / remove the books accordingly.
The text was updated successfully, but these errors were encountered: