Commit Graph

15 Commits

Author SHA1 Message Date
tigeren 2442d0dde7 fix: update media viewer layout and maintain aspect ratio for video thumbnails
- Adjusted the layout of media items in the folder viewer to ensure proper aspect ratio handling for video files.
- Modified thumbnail size settings in the video thumbnail generation function to maintain aspect ratio while specifying a fixed width.
- Updated the media database file to reflect recent changes.
2025-08-27 17:49:02 +00:00
tigeren fcf2b19c80 refactor: streamline media scanning process for videos and photos
- Simplified the scanning logic to handle all file types in a single glob pattern, improving efficiency.
- Implemented case-insensitive filtering for video and photo files based on their extensions, enhancing media detection accuracy.
- Refactored code for better readability and maintainability.
2025-08-27 17:12:32 +00:00
tigeren 22e94264ee feat: improve media type detection and scanning functionality
- Enhanced media type detection by normalizing file extensions to handle case variations for videos and photos.
- Updated the scanning process to accommodate different case formats for video and photo file extensions, improving accuracy in file recognition.
- Refactored related code for better readability and maintainability.
2025-08-27 17:03:55 +00:00
tigeren dab3ec5f84 feat: enhance scanning functionality with library selection
- Updated the scan API to allow scanning of specific libraries or all libraries based on user input.
- Enhanced the SettingsPage component to support selection of multiple libraries for scanning.
- Added visual feedback for scanning progress and status updates for individual libraries.
- Introduced new functions for scanning selected libraries and specific libraries, improving user experience and control over the scanning process.
2025-08-27 15:39:31 +00:00
tigeren 6fe6a43cf0 feat: add average rating and star count to media retrieval and display
- Updated media retrieval query to include average ratings and star counts for media files.
- Enhanced FolderViewer and VideosPage components to display star ratings, improving user feedback on media quality.
- Integrated StarRating component for visual representation of ratings in the UI.
2025-08-27 14:53:30 +00:00
tigeren 224b898bcd feat: implement bookmarking and unbookmarking functionality for videos
- Added POST and DELETE endpoints for managing bookmarks in the video API.
- Enhanced the VideosPage component to handle bookmarking and unbookmarking actions.
- Updated the InlineVideoPlayer and VideoViewer components to reflect bookmark state and count.
- Improved error handling for invalid media IDs and existing bookmarks.
2025-08-26 18:42:09 +00:00
tigeren 0ae51402f6 feat: enhance media retrieval and bookmarks functionality
- Updated the media retrieval query to include bookmark counts and average ratings for photos.
- Refactored the bookmarks page to support both videos and photos, improving state management and UI consistency.
- Added search functionality to the photos page, allowing users to filter photos by title or path.
- Implemented a photo viewer modal for enhanced viewing experience, including navigation and bookmarking features.
2025-08-26 16:18:01 +00:00
tigeren 2864e30542 feat: add bookmarking and star rating features to video player
- Implemented bookmark functionality allowing users to bookmark/unbookmark videos.
- Added star rating feature enabling users to rate videos from one to five stars.
- Updated database schema to include bookmarks and stars tables, along with necessary indexes for performance.
- Enhanced inline video player UI to display bookmark status and average star rating, improving user interaction and feedback.
2025-08-26 06:56:40 +00:00
tigeren 6c58219ea0 fix: improve delete library response message and add media deletion step 2025-08-26 02:36:36 +00:00
tigeren 6f938243ad feat: add auto-play functionality to inline video player on load 2025-08-26 02:18:18 +00:00
tigeren 5014434717 feat: enhance thumbnail generation in media scanning process
- Added error handling for thumbnail generation, providing fallback thumbnails for videos and photos if generation fails.
- Updated database insertion logic to reflect the final thumbnail URL used, improving media management reliability.
2025-08-25 16:55:22 +00:00
tigeren 6df7101f80 refactor: update file size and path display to use span elements for better layout consistency 2025-08-25 08:52:51 +00:00
tigeren e248613abb feat: add media library management features, including scanning and displaying photos and videos; implement database integration for media files 2025-08-25 08:11:03 +00:00
tigeren 31e27d4214 feat: add Header component for consistent page titles and layout 2025-08-25 07:28:21 +00:00
tigeren 83dea7c651 feat: Implement file system API and folder viewer
- Added API endpoint to retrieve files from a specified directory.
- Created API for managing media libraries (GET, POST, DELETE).
- Implemented scanning functionality for media libraries.
- Developed video listing page with API integration.
- Introduced folder viewer component to navigate file system.
- Enhanced settings page for managing libraries and initiating scans.
- Built sidebar component for navigation with dynamic library links.
- Established UI components for buttons, cards, and inputs.
- Set up SQLite database schema for libraries and media.
- Integrated thumbnail generation for video files during scanning.
- Configured Tailwind CSS for styling and responsive design.
2025-08-25 06:15:49 +00:00