Skip to content

Commit

Permalink
bump regex filter field to 200 chars, resolves #486
Browse files Browse the repository at this point in the history
  • Loading branch information
meeb committed Mar 13, 2024
1 parent e7d3705 commit 85bb92b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tubesync/sync/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class IndexSchedule(models.IntegerChoices):
)
filter_text = models.CharField(
_('filter string'),
max_length=100,
max_length=200,
default='',
blank=True,
help_text=_('Regex compatible filter string for video titles')
Expand Down Expand Up @@ -566,7 +566,7 @@ def is_regex_match(self, media_item_title):
if not self.filter_text:
return True
return bool(re.search(self.filter_text, media_item_title))

def index_media(self):
'''
Index the media source returning a list of media metadata as dicts.
Expand Down

0 comments on commit 85bb92b

Please sign in to comment.