There is no library in Pokémon Diamond.
The closest equivalent is the Jubilife TV Studio, where you can watch Pokémon-related programs.