Skip to content

feat: add sports stream file settings, sync paths, and sports nfo support#1066

Open
Serph91P wants to merge 1 commit intom3ue:devfrom
Serph91P:feature/sports-stream-file-settings
Open

feat: add sports stream file settings, sync paths, and sports nfo support#1066
Serph91P wants to merge 1 commit intom3ue:devfrom
Serph91P:feature/sports-stream-file-settings

Conversation

@Serph91P
Copy link
Copy Markdown
Contributor

This pull request introduces comprehensive support for a new "sports" schema in the stream file settings and sync logic. The changes impact both the Filament resource for stream file settings and the background jobs that generate .strm files for series and VOD content. The main focus is on enabling flexible handling and naming of sports events, leagues, and seasons, with new configuration options and filename/path generation logic.

Key changes include:

Sports Schema Support in UI and Configuration

  • Added a new "sports" type option to the stream file settings, with a dedicated configuration fieldset for sports-specific options (league/season sources, episode strategy, filename options, etc.) in StreamFileSettingResource.php. [1] [2]
  • Updated the path structure and metadata options to support sports-specific folders (league, season) and filename conventions, including live preview for sports paths. [1] [2] [3]

Sports Path and Filename Logic in Sync Jobs

  • Integrated the new SportsPathBuilder service into both SyncSeriesStrmFiles and SyncVodStrmFiles jobs to generate correct folder structures and filenames for sports content, including league, season, and event title handling. [1] [2] [3] [4]
  • Implemented per-league and per-season episode counters and flexible episode code strategies for sports, ensuring unique and correctly formatted filenames. [1] [2] [3]

NFO Generation and Miscellaneous

  • Adjusted NFO generation logic to handle sports-specific NFO files at the league and event level, skipping series-level NFOs for sports. [1] [2]
  • Updated table display and selection options in the Filament resource to include the new sports type, with appropriate color coding and labels. [1] [2]

These changes collectively enable robust and configurable support for sports content in the application's stream file handling workflows.

@Serph91P
Copy link
Copy Markdown
Contributor Author

@sparkison not so sure about this one maybe you can take a look in how we can improve this.
The overall sports stream file setting is fine I think so going to open for review.

@Serph91P Serph91P marked this pull request as ready for review April 26, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant