Various fixes for the v3.0.0b1 release
Fixes:
- Make sure thumbnails are lazyloaded properly on Events tab
- Set a new HLS Client ID everytime the source changes. Resolves some playback issues
- Make Camera Grid on Events page scrollable so the page remains the same size no matter how many cameras you have.
- Reduce some spacing in the frontend
- The Hover Line which shows the time is now properly positioned
- Connect to DB using the postgres user to allow running the container as root
- Set default value for EXTINF for fragmented mp4s if it cant be read properly from the manifest file.
This resolves an issue where playback and loading of the timeline would fail because there were segments that hadEXTINF: null
in the DB
If you get an error similar to this: psycopg2.OperationalError: connection to server at "localhost" (::1), port 5432 failed: FATAL: role "postgres" does not exist
you need to stop Viseron and delete the postgresql
folder in the config dir.
On next restart Viseron will recreate the DB with proper permissions