Skip to content

Tag filtering, private playlists, exact Spotify link

Pre-release
Pre-release
Compare
Choose a tag to compare
@AndreasVolkmann AndreasVolkmann released this 07 Jun 16:13
· 111 commits to master since this release
9ce5662

https://github.com/AndreasVolkmann/spotify-reddit/milestone/6?closed=1

Tag Filtering

Some subreddits make extensive use of tags, which basically means anything that is captured in parenthesis () [].

The tagFilter can be declared at playlist level and is used to filter out reddit posts based on their tags.

Example config:

playlists:
  - id: xyz
    ...
    tagFilter:
      # Tag must be equal
      # Example post that would be included: [FRESH] Luca Brasi - Clothes I Slept In
      includeExact:
        - FRESH
        
      # Tag contains
      # Example post that would be included: Foghorns - All Glands on Deck (indie/folk/punk)
      include:
        - punk
        
      # Tag must not be equal
      # Example post that would be excluded: [Album] Maps & Atlases - Lightlessness Is Nothing New
      excludeExact:
        - Album
        
      # Tag must not include
      # Example post that would be excluded: [FRESH VIDEO] Preoccupations - Decompose 
      exclude: 
        - video