Reduce code duplication and update README #11

Merged
gpatti merged 1 commits from cleanup-pass into main 2026-04-06 16:52:22 +00:00
Owner
  • Extract shared utilities (HIDDEN_FILES, VIDEO_EXTENSIONS, fileApiUrl,
    thumbnailApiUrl, findFile) into new src/lib/media-utils.ts, removing
    identical copies from games.ts, movies.ts, tv.ts, files.ts, and scanner.ts
  • Add comment in files.ts clarifying why its VIDEO_EXTENSIONS set intentionally
    differs from the media library set (web-playable formats for the mixed browser)
  • Rewrite README to reflect the current feature set: Movies/TV libraries, auth
    system, tag system, background scanner, updated project structure, folder
    conventions for all four library types, and a complete API reference

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

- Extract shared utilities (HIDDEN_FILES, VIDEO_EXTENSIONS, fileApiUrl, thumbnailApiUrl, findFile) into new src/lib/media-utils.ts, removing identical copies from games.ts, movies.ts, tv.ts, files.ts, and scanner.ts - Add comment in files.ts clarifying why its VIDEO_EXTENSIONS set intentionally differs from the media library set (web-playable formats for the mixed browser) - Rewrite README to reflect the current feature set: Movies/TV libraries, auth system, tag system, background scanner, updated project structure, folder conventions for all four library types, and a complete API reference Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
gpatti added 1 commit 2026-04-06 16:52:15 +00:00
- Extract shared utilities (HIDDEN_FILES, VIDEO_EXTENSIONS, fileApiUrl,
  thumbnailApiUrl, findFile) into new src/lib/media-utils.ts, removing
  identical copies from games.ts, movies.ts, tv.ts, files.ts, and scanner.ts
- Add comment in files.ts clarifying why its VIDEO_EXTENSIONS set intentionally
  differs from the media library set (web-playable formats for the mixed browser)
- Rewrite README to reflect the current feature set: Movies/TV libraries, auth
  system, tag system, background scanner, updated project structure, folder
  conventions for all four library types, and a complete API reference

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
gpatti merged commit 957d884903 into main 2026-04-06 16:52:22 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gpatti/MediaLore#11
No description provided.