mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 00:55:50 +00:00
docs: Restored todo as this did not resolve it. Cleaned up overly verbose comment.
This commit is contained in:
parent
5eb118478b
commit
b63650799a
1 changed files with 1 additions and 3 deletions
|
|
@ -451,10 +451,8 @@ class Channel(models.Model):
|
|||
def effective_stream_profile_obj(self):
|
||||
return self._resolve_effective_fk("stream_profile")
|
||||
|
||||
# @TODO: honor stream's stream profile
|
||||
def get_stream_profile(self):
|
||||
# Respect per-channel overrides: effective_stream_profile_obj uses
|
||||
# _resolve_effective_fk which picks override.stream_profile when set,
|
||||
# falling back to the channel's own stream_profile field.
|
||||
stream_profile = self.effective_stream_profile_obj
|
||||
if not stream_profile:
|
||||
stream_profile = StreamProfile.objects.get(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue