Closed unkn0wn234 closed 3 years ago
You can open the database with https://sqlitebrowser.org/dl/
So upon checking the wiki for where the runtime is stored it is "c09" in my database in "c09" they are all 0. Except for the show DBZ which I have physically in my library that showed a 4 digit number. Aside from that all of them said 0. What are the next steps I can take? Also I will test with an episode of DBZ and get back to u if it works or not since i have the whole show marked as watched ill mark one of them as unwatched and see if my progress doesnt get wiped
It wiped the progrss for my DBZ episode too, it showed up in Progress manager after playing, and when i was playing it live. This episode also has runtime in the DB. Still gets wiped after a Trakt sync. EDIT: Testing a second time saved the progress, let me do it again a few times and on other episodes
Okay so watching an episode part way, backing out, then running a Trakt sync seems to wipe the episode progress. The last thing I did in the log was watch episode 1x2 of DBZ partway, back out, run a trakt sync, episode progress gets wiped.
After Closing Kodi, reopening, then running the Trakt sync again returns the progress! So it somewhat works on physical media, or network drive media that is not a .strm, I assume it comes down to one of two things. 1- There is probalby a certain time for it to refresh or load to trakt servers or something like that so maybe if I just wait long enough and run the Sync, it would keep the progress without me needing to close Kodi and reopen (i believe closing and reopening kodi forces a reconnection/refresh with trakt), or 2- Whatever the bug or reason is for not working, running the trakt sync once and then again after closing/reopening (or maybe even just a 2nd time without closing) will make the playback progress return.
All in all its a small price to pay at least the playback progress is there and here to stay! The main 2 differences between DBZ and my .strm library is one is physical media, and/or the runtime being in the SQL database as u said. I do think we are getting close. I noticed i could manually edit the runtime in the database but with the ridiculous amount of episodes I have doing it one by one would be crazy
Lost Progress Log kodi.log
Progress Return Log kodi.log
I think strm files should also get a proper runtime, if the scraper works correctly. So that should be the first thing we report/fix.
I think strm files should also get a proper runtime, if the scraper works correctly. So that should be the first thing we report/fix.
After some more testing, adding the runtime manually (through SQL) to the shows i had progress for and running Trakt sync added the progress so we are FIXED! But again i faced the smaller issue above where the first sync didnt really restore it (this time it did visually, but when i played it it didnt resume) I ran a second sync, closed the app and opened it and finally when the widget refreshed, my progress actually came back. So as you said my main error is the runtime.
Can you help me figure out how to get the runtime in my shows nfos? I use the default TMDB TV show scraper and it does not add the run time to the nfos. Im not sure if i have anythign set up wrong it seems to be working fine. The NFO only has the tmdb or tvdb url in it and I assume the scraper, or kodi gets all the info from there.
My options are either fix (im not even sure if theres somethign to fix) the scraper or mass generate nfos (if i can figure out how) for my shows again.
Or manually add the runtimes in show by show in the DB using SQL(which I did for some shows already and confirmed trakt now syncs the resume points).
Thank you so much for helping me solve this! I really cannot express how grateful I am for your patience and helpfulness.
You might be able to use ember media manager or tinymediamanager to write the nfo files? I'm not really an expert in that regard, I'm only really using physical media. But I think you will need to add it to the episodes, not just the show. I guess you might also be able to try the tvdb python scraper if your switching to matrix at some point https://github.com/xbmc/metadata.tvdb.com.python
You might be able to use ember media manager or tinymediamanager to write the nfo files? I'm not really an expert in that regard, I'm only really using physical media. But I think you will need to add it to the episodes, not just the show. I guess you might also be able to try the tvdb python scraper if your switching to matrix at some point https://github.com/xbmc/metadata.tvdb.com.python
For the time being, I am not planning on switching to Matrix. Also I heard TVDB is going to become paid soon anyway no?
Anyways, I tried EmberMediaManager and it wouldnt detect any of my shows or movies, I tried TinyMediaManager and it worked. Though I need to pay for it bc it only generates like 10-15 NFOs before hitting the free limit, and it also generates poster images, clearlogos, and a lot of other metadata images. Which if I did for each show the size of my folder would increase a LOT. But I did confirm adding the NFOs without needin to edit the DB, fixed it for me as I tested with Fire Force.
Again thank you a lot for all the help. My next steps will probably be figuring out how to make TMM only add NFOs, and also ignore any of my custom images (poster, clearlogo, etc) in my folders. and then I should be set.
Hi, I added all the NFOs to all my episodes and now the progress is not being saved for new episodes, the previous episodes I had are atleast not being wiped anymore but any new episodes i watch, leave progress, run a sync gets wiped again. The one in question is Stranger Things
eH sorry I think i know whats happening, the NFOs have not been updated into the Kodi database? if I delete the file will it force kodi to refresh or will it break it?
Unfortunatly I don't know how NFOs work very well, I'm not really using them.
Unfortunatly I don't know how NFOs work very well, I'm not really using them.
Setting content to none, then back to tv shows and forcing a complete rescan fixed it for me. Thanks
I watch part way of an episode I back out, the resume point gets saved, but upon doing a Trakt Sync it resets it to the beginning. I can't go to another Kodi build and resume bc this doesn't work. I swear it used to before I fresh installed not sure whats going on. Let me know if you need a log.
EDIT: Issue was caused by Runtime for episodes being 0 in Kodi DB, you can fix it by editing the DB manually or generating NFOs for your episodes.