removed requirement for parts or references in execute user
added default sort enum type
This commit is contained in:
parent
f5eb07ca21
commit
2ead141d0c
@ -484,7 +484,6 @@ def execute_user(username):
|
||||
logger.info(f'running {username}')
|
||||
|
||||
for iterate_playlist in playlists:
|
||||
if len(iterate_playlist.parts) > 0 or len(iterate_playlist.playlist_references) > 0:
|
||||
if iterate_playlist.uri:
|
||||
|
||||
if os.environ.get('DEPLOY_DESTINATION', None) == 'PROD':
|
||||
|
@ -9,8 +9,9 @@ import music.db.database as database
|
||||
|
||||
|
||||
class Sort(Enum):
|
||||
shuffle = 1
|
||||
release_date = 2
|
||||
default = 1
|
||||
shuffle = 2
|
||||
release_date = 3
|
||||
|
||||
|
||||
class Playlist:
|
||||
|
Loading…
Reference in New Issue
Block a user