Kodi on Raspberry Pi - library won't update - help!
Kodi on Raspberry Pi - library won't update - help!
Author
Discussion

oobster

Original Poster:

7,712 posts

242 months

Tuesday 30th April 2019
quotequote all
Got a Raspberry Pi attached to my TV running Kodi as a media centre, 2 x 2TB USB drives attached which contain all my files. Been running fine for at least 2 years.

The system, as of a few days ago, doesn't recognise any new files I add to the USB drives when I Update Library.

Pi is using OpenElec, I updated to latest version and then latest version of Kodi too, no change.

Pulling my hair (what little I have left!) out with this one, any help would be appreciated, willing to chuck some ££ to someone who can help me sort.


Oakey

27,984 posts

247 months

Tuesday 30th April 2019
quotequote all
Are they in the same location as the other files and if not have you added their location as a source?

Dave.

7,902 posts

284 months

Tuesday 30th April 2019
quotequote all
I've had a corrupt library/database file before now, might be worth removing your sources, deleting the database files & re-add the sources.

If you set up a Trakt.tv account, you can sync your played/unplayed films/episodes so you won't lose much (well, you might do this time if it won't sync due to the errors).


oobster

Original Poster:

7,712 posts

242 months

Tuesday 30th April 2019
quotequote all
Oakey said:
Are they in the same location as the other files and if not have you added their location as a source?
Hi Oakey, thanks for the response. 1 USB drive contains Movies which updates the library no problem when new files are added to that drive, the other USB drive contains TV shows and it's that drive that no longer picks up any new episodes when I update the library.

Bear in mind both drives have been attached to the Pi for many months without issue, it's only in the last couple of days the Update Library function isn't picking up any new files i've added to the 'TV' drive. It still works absolutely fine with the Movie drive.

The Pi (appears to) recognise both drives as sources, all existing content in both drives play fine via the Kodi 'home' screen, its just when delving into the TV Show library no new content will show up.

The new content can still be found, and played, via the Files section and browsing to the applicable folder on the USB drive, I wonder if it's a TVDB scraper issue?

oobster

Original Poster:

7,712 posts

242 months

Tuesday 30th April 2019
quotequote all
Dave. said:
I've had a corrupt library/database file before now, might be worth removing your sources, deleting the database files & re-add the sources.
Yea, I did wonder if the Database had become corrupt, but as above it'll still allow me to play ALL the content currently in the Database, it just won't allow me to add anything new.

Dave.

7,902 posts

284 months

Tuesday 30th April 2019
quotequote all
oobster said:
Yea, I did wonder if the Database had become corrupt, but as above it'll still allow me to play ALL the content currently in the Database, it just won't allow me to add anything new.
Yup, that's what I had.

Have you tried "cleaning" the database for the TV Shows? Mine cleanups ran reeeeaaaaaally slow too when it was corrupt.

bigandclever

14,417 posts

269 months

Tuesday 30th April 2019
quotequote all
Not very helpful I know, but kodi haven’t recommended using openelec since last year. Maybe there’s some weirdness there. They recommend libreelec.

oobster

Original Poster:

7,712 posts

242 months

Tuesday 30th April 2019
quotequote all
bigandclever said:
Not very helpful I know, but kodi haven’t recommended using openelec since last year. Maybe there’s some weirdness there. They recommend libreelec.
^ This chap. This chap right here. It LOOKS like you've connected the nail with the head by hitting it.

Updated from OpenElec to LibreElec and it is almost 100% perfect now, still a few (minor) gremlins to sort out but Kodi now updates the library with the new files.