Skip to content

[Agent] Library refresh needs to function properly. #3672

Description

@tomp8628

Objective

In TVOS when the Library view option is set to TV Media (Drawer), the game library does not refresh when roms are manually added to rom directories.

Acceptance Criteria

When a rom is manually placed in a rom directory, and the library view is set to TV Media (Drawer) Provenance TVOS

  • periodically scan rom sub directories for new files
  • populate the roms in the library with metadata and cover art.
  • no attempt to match the files to a system should be made since the files are already in their correct directory
  • this functionality currently exists in UIKit (Default) library view
  • if functionality cannot be integrated, a Rescan Library, or Refresh Library button should be added to the TV Nedia Drawer Home Screen.

Affected Modules

  • PVLibrary
  • ProvenanceTVOS

Constraints

  • Do not modify submodule source code
  • Do not modify project.pbxproj unless necessary

Test Plan

  • swift build passes for affected modules
  • swift test passes for affected modules
  • swiftlint reports no new violations
  • a rom is added to a Roms subdirectory while a Provenance session is in use
  • Provenance will either periodically (30- 60 seconds) , scan rom sub directories for new files and populate any new roms with metadata and cover art.
    Or
  • Create a new button in the side menu to rescan the rom subdirectories and refresh the library, populating new roms based on new files that are found.

Estimated Scope

< 50 lines

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-workPR or issue being worked on by the AI agentbugsomething broken that needs fixing, confirmed and reproduceableimporter-relatedrelated to incoming ROM processing, matching and categorization and meta dataneeds-manual-interventionAgent workflow needs human helptvOSisolated to tvOS only (unless like tag is paired)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions