-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Kodi Omega Beta 3 and beyond: fix movies not showing up (thanks @Spacetech) #2028
Conversation
check for videoversion table remove trailing whitespace use INSERT OR REPLACE INTO
Evening guys, so my PKC updated to 3.8.6 just a short while ago. I restarted my CoreELEC install & was greeted with a prompt about this version of KODI needing a database reset. So followed it through, unfortunately I now have an empty Movies collection! Has something accidently been regressed by mistake? As when I edited the two files that Spacetech had edited earlier in the week all worked fine for me. Have reset the database via PKC settings too, but just the same. |
No issues at all here after upgrading from 3.8.4 to 3.8.6, followed the pkc prompts for Kodi db reset. |
Ah so in your case you still look to be on KODI 20 & not at least 21 Beta 3. I downgraded back to 3.8.5 & rebuilt the database again and appears to be working OK on that version. |
@croneter This change is causing trouble on the latest nexus release. The result of self.cursor.execute('PRAGMA table_info(videoversion)')
columns = self.cursor.fetchall() is: I think the code needs to be something like: # Check whether all needed columns for table videoversion actually exist
self.cursor.execute('PRAGMA table_info(videoversion)')
columns = self.cursor.fetchall()
needed_columns = (
'idFile',
'idMedia',
'media_type',
'itemType',
'idType'
)
for column_info in columns:
if column_info[1] not in needed_columns:
return
self._has_video_version_table = True |
That's what happens if you can't run Kodi Nexus 3 and try to fix stuff for it 😞. Will hopefully work now |
Can confirm all working OK now, thanks for resolving the issue so quickly both. |
Original PR by @Spacetech: #2026
Fixes #2025