Skip to content

Commit f86a30a

Browse files
committed
lms: update playlists.available command
1 parent 65f4e5a commit f86a30a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lms/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
'newclient': {'read': True, 'write': False, 'item_type': 'str', 'dev_datatype': 'str', 'reply_pattern': r'^({CUSTOM_PATTERN1}) client new$', 'custom_disabled': True},
1919
'players': {'read': True, 'write': False, 'read_cmd': 'players 0 100', 'item_type': 'dict', 'dev_datatype': 'LMSPlayers', 'reply_pattern': r'^players 0 100 (.*)', 'custom_disabled': True, 'item_attrs': {'initial': True, 'item_template': 'players'}},
2020
'playlists': {
21-
'available': {'read': True, 'write': False, 'read_cmd': 'playlists 0 1000 tags:u', 'item_type': 'dict', 'dev_datatype': 'LMSPlaylists', 'reply_pattern': r'^playlists 0 1000(?: tags:[u,s])? (.*)', 'item_attrs': {'initial': True, 'item_template': 'playlists'}},
21+
'available': {'read': True, 'write': False, 'read_cmd': 'playlists 0 1000 tags:u', 'item_type': 'dict', 'dev_datatype': 'LMSPlaylists', 'reply_pattern': r'^playlists 0 1000(?: tags:[u,s])? (.*)', 'custom_disabled': True, 'item_attrs': {'initial': True, 'item_template': 'playlists'}},
2222
'rename': {'read': False, 'write': True, 'write_cmd': 'playlists rename {VALUE}', 'item_type': 'str', 'dev_datatype': 'LMSPlaylistrename', 'reply_pattern': r'^playlists rename\s+(.*?)(?:\s+overwritten_playlist_id:.*)?$', 'custom_disabled': True, 'item_attrs': {'attributes': {'remark': '"needed value:<playlist_id> <newname> with a space inbetween"'}}},
2323
'delete': {'read': True, 'write': True, 'write_cmd': 'playlists delete playlist_id:{VALUE}', 'item_type': 'str', 'dev_datatype': 'str', 'reply_pattern': r'^playlists delete playlist_id:{LOOKUP}', 'custom_disabled': True, 'lookup': 'PLAYLIST_IDS', 'item_attrs': {'enforce': True, 'item_template': 'playlist_delete'}},
2424
},

0 commit comments

Comments
 (0)