Bookplayer: 3.0.0-5 iTunes import may fail

Created on 13 Jul 2018  路  5Comments  路  Source: TortugaPower/BookPlayer

I fear we may have put us in a corner there.

  • Processed folder is irritating to iTunes users
  • We could remove the folder and maintain a list of processed files inside our DB
  • Instead of renaming the file to the hash, we can append the hash to the file name (maybe even as extension) (marking the processed book that way)
  • We need some way to rescan the folder without having to refresh manually
  • If that is not possible, we have to reintroduce the refresh button, which is something I'd rather not do.
bug

All 5 comments

this problem might be augmented by the fact that if you import multiple files, after one file finishes processing, the loading wheel is dismissed, after a while the books will pop-up one by one, but this might give the user the idea that the books weren't added properly until they start popping up 馃

I wanted to postpone this for the Library redesign, but maybe we need to show a special cell on top of the list which shows that processing is happening and that progress is being made.

Sometimes the app just won't process the files since that only happens on launch, to avoid this, we should add a listener to the documents folder to get an event when a file is imported
Resources:
https://github.com/hwaxxer/MHWDirectoryWatcher
https://developer.apple.com/library/archive/samplecode/DocInteraction/Listings/ReadMe_txt.html

These are good news! At least we have a way to tackle this.

I'm limiting this issue to the lack of a listener that handled the immediate change of the contents of the documents folder, which was solved in #219. The next step of the process to better provide feedback for the user will continue in #225

Was this page helpful?
0 / 5 - 0 ratings