How do i use "the library" function?
Adding the videos to the library scrapes all the information's one time and stores at at kodi, so it just opens the remembered link and thats it.
Adding video sources - Official Kodi Wiki
so you end up with something like that