Posts: 389
Joined: Feb 2015
Reputation:
40
It does not run a full export. Every time you use your Drive, google is saving all those files changed or touched. Then when the addon asks for latest changes, all that list will be given by the api and the addon will start analyze them. If any of those files are within your exported folders, it will export them. If no, then they will be ignored.
In any case, it has to analyze and/or process all reported files so your local copy is in sync.
I'm doing a change now to "hide" those files not really exported from the progress bar, so user does not get confused and think they are been exported. This is only a visual change, the file has to be analyzed anyway. Functionally, it changes nothing.
Posts: 48
Joined: Mar 2020
Reputation:
2
Hi Carlos, sorry I don't have a log but I am considering implementing the option. The 1.36 version of the add-on was working great for me but I cannot get the new version to finish a full export of my TV Shows. Granted I have a large collection and I let the export run for 36 hours. According to the progress bar it was close to finishing but the add-on crashed while Kodi was running but the add-on did restart itself. Sadly, it started exporting again from the beginning. For me the beginning is the TV Series The Mentalist. My Movies exported fine, slower than before much slower but because it's basically 1/18 the size of my TV Shows based on number of files it finished.
Honestly, I don't know what to do because I have tried this several times over the last few days including uninstalling the add-on and trying again. If I could somehow just get the add-on to scan a portion of the TV Shows and honor that as the new export starting point at a future time. As far as I can tell any failure to fully complete the export results in the process starting over. This also happened during the failed migration of my 1.36 version from cfg to db.
As per previous postings by me, disabling the add-on during export crashes kodi. Uninstalling the add-on during export crashes kodi.
I hope you know we all appreciate you hard work and dedication to the add-on and I am grateful even if I can't use it anymore.
Thanks, Droid
Posts: 48
Joined: Mar 2020
Reputation:
2
Carlos, I took my own advice and started over.
Movies exported perfectly albeit slower than v. 1.3.6
TV Shows - here is the curious part.
1. I did an initial export with only 10 series which were all my series that started with a number in the google drive tv show folder. Perfect no problems. Closed kodi and restarted kodi to confirm it wasn't going to try and scan all of those again. It did not and functioned perfectly.
2. For my own sanity I added by alphabet the next series obviously starting with A in this case A Confession (2019). Boom perfect, kodi saw it and added it quite rapidly. Strms created immediately*****
3. Added the next A series and same result fast export and strms created immediately****.
4. I got brave (or maybe stupid) I added all of the A series which was 31 series, 31 folders. Export started immediately but the strms did not get created until all the scans were finished. Then the google add-on started scanning again and essential export those same 31 folders again without overwriting and ultimately finished successfully but it was totally different behaviors and it scanned twice and exported twice or at least went through the motions.
I do not have a log file, I'm sorry as I got sidetracked. I hope this helps somehow.
Posts: 389
Joined: Feb 2015
Reputation:
40
So, to be clear, you did not re-included or re-added any of the previously added folders, right?
About all your folders been created first and then your strms, that is exactly how the export works.
What the addon does first is to get the list of files and folders (of the folders been exported). If it is a folder, then a folder will be created. If it's a exportable file or movie, it will create a .strm file.
Now, if you have all your movies in separated folders, those movies files are not detected on this run. They are not part of the current folder.
Once all files and folders are created, it will go deep on each folder to repeat the same process: get all files and folders, if there is a folder, create a folder, if there is a exportable file, create a .strm file, and so on.
Posts: 389
Joined: Feb 2015
Reputation:
40
btw, I found a possible improvement in the export process that can avoid scaning the same folder twice when watching for changes. it can potentially speed up the watch analysis (I don't see a possible improvement in a full export though). will try to release it soon.
Posts: 389
Joined: Feb 2015
Reputation:
40
There is a new version in my repo that improves exports.
Also the restart should be working fine now. If something happens in between an export, it will automatically restart when Kodi starts, and pending files only, not the whole export again.
Posts: 389
Joined: Feb 2015
Reputation:
40
it is not. it will help if you turn your debug on and try again and extract the log file.
Posts: 28
Joined: May 2015
Reputation:
1
Alien0
Junior Member
Posts: 28
Thanks for the update - working well on my end.
Google Drive Watching Changes Starting please wait... only waited a few seconds.
GD has 332 tv shows and <600 movies = 32TB
Using ODroiid N2 with CoreElec