Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Support download anime #151

Merged
merged 6 commits into from
Aug 23, 2024
Merged

WIP: Support download anime #151

merged 6 commits into from
Aug 23, 2024

Commits on Aug 23, 2024

  1. Add Tailwind CSS custom data and simplify VSCode settings

    - Added `.vscode/tailwind.json` with Tailwind CSS directives and descriptions.
    - Simplified `.vscode/settings.json` by removing unnecessary configurations and retaining essential settings.
    tachibana-shin committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    0f59588 View commit details
    Browse the repository at this point in the history
  2. Add offline video download and management functionality

    - Implement video download to MP4 using HLS streams
    - Add IDB-keyval for storing video metadata and offline registry
    - Create UI components for downloading and removing videos
    - Integrate progress tracking and notifications for download status
    - Add support for selecting video quality before download
    - Implement functions to manage offline video data and storage
    - Update package.json with necessary dependencies for video processing
    - Optimize Vite configuration for FFmpeg dependencies
    - Add constants for offline video storage prefixes and registry
    - Implement utility functions for handling before unload events and listing offline seasons
    tachibana-shin committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    9c0c2a5 View commit details
    Browse the repository at this point in the history
  3. Add offline mode support with file saving options

    - Introduced `questionSaveToFile` function to prompt user for file saving location.
    - Enhanced `download` function to handle saving videos to device or app storage.
    - Added `getURL` and `getFile` functions for retrieving stored files.
    - Updated `SeasonOffline` and `ChapsOffline` interfaces to include offline metadata.
    - Implemented retry logic for fetching poster and image buffers.
    - Modified `download-to-mp4` worker to support saving video buffers directly to device.
    - Created `get-vdm-store` utility for caching VDM store instance.
    tachibana-shin committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    6cdba6e View commit details
    Browse the repository at this point in the history
  4. Refactor offline video download logic and improve localization

    - Removed redundant offline video management functions and constants.
    - Simplified the `download-to-mp4` worker by eliminating unnecessary parameters.
    - Updated `vdm.ts` store to streamline download process and remove unused functions.
    - Enhanced localization support for download-related messages.
    - Adjusted UI components to reflect changes in download logic.
    - Updated VSCode settings for i18n-ally integration.
    tachibana-shin committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    5403184 View commit details
    Browse the repository at this point in the history
  5. Update VSCode settings for improved development experience

    - Enable bracket pair colorization and guides
    - Set Prettier as the default formatter and enable format on save
    - Configure ESLint validation for multiple languages
    - Add custom spell check words and enable Ionic preview in editor
    - Update i18n-ally settings for locale paths and extraction rules
    - Ignore specific i18n keys in various Vue components
    - Add TypeScript SDK path and SCSS linting rule
    - Enable tab completion and code lens in diff editor
    - Set Bun runtime path for Gitpod environment
    tachibana-shin committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    9f50f8c View commit details
    Browse the repository at this point in the history
  6. remove loss file

    tachibana-shin committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    e979fe0 View commit details
    Browse the repository at this point in the history