See #170: subscriptions management UI

This commit is contained in:
Eliot Berriot 2020-03-23 10:44:09 +01:00
parent 926a5cfc83
commit be067b9ee3
13 changed files with 414 additions and 185 deletions

View file

@ -384,12 +384,9 @@ def get_channel_from_rss_url(url, raise_exception=False):
library=channel.library,
delete_existing=True,
)
latest_upload_date = max([upload.creation_date for upload in uploads])
if (
not channel.artist.modification_date
or channel.artist.modification_date < latest_upload_date
):
common_utils.update_modification_date(channel.artist)
if uploads:
latest_track_date = max([upload.track.creation_date for upload in uploads])
common_utils.update_modification_date(channel.artist, date=latest_track_date)
return channel, uploads