Metadata generator #20

Open
opened 2025-10-16 18:55:29 +02:00 by robin-mu · 0 comments
robin-mu commented 2025-10-16 18:55:29 +02:00 (Migrated from github.com)

Has to work even without calling the downloader before.

  • Has an attribute for the metadata table
  • Has a collection as an attribute

Methods:

  • generate_suggestions:
    • Generate metadata suggestions by running a postprocessor that is a subclass of yt-dlp's ParseMetadataPP (remember to respect special suggestion values)
      • The first suggestion is always %(0:[field])s
    • Suggestions whose condition evaluates to false will not be processed. Use yt-dlp's match_filter_func to evaluate conditions.
    • Empty and duplicate suggestions will be removed
    • Returns a dataframe with lists as cell contents
  • save_metadata:
    • gets passed a dataframe with selected metadata and saves that metadata into the metadata table
Has to work even without calling the downloader before. - [ ] Has an attribute for the metadata table - [ ] Has a collection as an attribute Methods: - `generate_suggestions`: - [ ] Generate metadata suggestions by running a postprocessor that is a subclass of yt-dlp's `ParseMetadataPP` (remember to respect special suggestion values) - [ ] The first suggestion is always `%(0:[field])s` - [ ] Suggestions whose condition evaluates to false will not be processed. Use yt-dlp's [match_filter_func](https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/utils/_utils.py#L3303-L3327) to evaluate conditions. - [ ] Empty and duplicate suggestions will be removed - [ ] Returns a dataframe with lists as cell contents - `save_metadata`: - [ ] gets passed a dataframe with selected metadata and saves that metadata into the metadata table
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
robin/MusicSync#20
No description provided.