Add export for all collections and all playlists

This commit is contained in:
JonnyWong16 2020-10-01 14:40:28 -07:00
commit 2803a6095b
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
5 changed files with 98 additions and 61 deletions

View file

@ -614,8 +614,8 @@ DOCUMENTATION :: END
<div class="btn-group">
<button class="btn btn-dark export-button" id="toggle-export-modal" data-toggle="modal" data-target="#export-modal"
data-section_id="${data['section_id']}" data-rating_key="${data['rating_key']}"
data-media_type="${data['media_type']}" data-sub_media_type="${data['sub_media_type'] or ''}">
<i class="fa fa-file-export"></i> Export Metadata
data-media_type="${data['media_type']}" data-sub_media_type="${data['sub_media_type'] or data['playlist_type'] or ''}">
<i class="fa fa-file-export"></i> Export metadata
</button>
</div>
<div class="btn-group">