mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 07:59:17 +02:00
See #170: subscriptions management UI
This commit is contained in:
parent
926a5cfc83
commit
be067b9ee3
13 changed files with 414 additions and 185 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue