From: balastegui Date: Fri, 13 May 2016 14:17:05 +0000 (+0200) Subject: update X-Git-Tag: 1.6.2^2~19^2~4 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=13ae4d849ea0b241d06159a721ddedddd5e5cb46;p=telemeta.git update --- diff --git a/telemeta/static/telemeta/js/playlist.js b/telemeta/static/telemeta/js/playlist.js index 9cd2562d..df538e4e 100644 --- a/telemeta/static/telemeta/js/playlist.js +++ b/telemeta/static/telemeta/js/playlist.js @@ -90,6 +90,26 @@ var playlistUtils = { this.id = ""; // init ID }, + loadSong: function(id){ + alert(id); + var player = $('#player').val(); + var sourceOgg = $('#player').val(); + var sourceMp3 = $('#player').val(); + for (var i=0; i TODO: find another way + //player.play(); //start playing + }, + /** * Returns an uniqid by creating the current local time in millisecond + a random number. Used for markers and some json calls * Copied from Timeside.utils.uniqid (Timeside might NOT ALWAYS be loaded, see home.html when user is authenitcated) diff --git a/telemeta/templates/telemeta/lists.html b/telemeta/templates/telemeta/lists.html index 39167a09..a8f7dcfb 100644 --- a/telemeta/templates/telemeta/lists.html +++ b/telemeta/templates/telemeta/lists.html @@ -143,7 +143,10 @@
- +
{{ playlist.playlist.title }} + {{ playlist.playlist.title }} + + {% trans "Edit" %} CSV Collections @@ -204,9 +207,17 @@ {% if resource.element.file or resource.element.has_mediafile %} - + + + +

d

- +
{% endif %}