Skip to main content

Create a playlist in a folder filled with audio-files, using HTML5's audio-tag.

Project description

Introduction

A Plone add-on to turn a folder holding audio-files into a playlist.

Usage

Fill a folder with audiofiles, select ‘adi_playlist’ of the “Display”-dropdown-menu to change the view of the folder and a playlist will be shown.

Default behaviour is to play the list until its end, one track after another, optionally click the inifinity-symbol to play the list infinitely in a loop.

You can use the space-bar to play/pause the current track, the tab-key to walk through the tracks and Enter-key for starting the selected track.

Motivation

My dear sister Angela, who likes to turn the tables and wanted a non-proprietary solution to have her sets “in the cloud” with a decent player avaible right away.

Background

This product takes advantage of browser-native audio-players, using the audio-tag introduced with HTML5 and the fact that all major browsers support this by now, dropping the need to provide a serverside-player.

However there are restrictions of supporting all of the possible audio-file-formats, depending on the browser’s capabilities or choosen lack of support.

The add-on was written to use in conjunction with OGG-formats (‘.ogg’-extension), expressing the love of the author for open (=non-proprietary) standards, dropping support to Safari, the only major-browser not supporting Vorbis.

This leaves out support for Safari, yet it should be fairly easy enough extending this add-on to hold each track in two formats, the other satisfying Safari and distinct which format to use, by checking which browser the client uses.

Used technique

ECMAscript

Author

Ida Ebkes, 2014, <contact@ida-ebkes.eu>

Credits

jQuery, which made writing this a breeze.

Furthermore

Have a look at collective.transcode.star, if you want your arbitrary audio-formats transformed to OGG-format (or another) during upload, using beloved ffmpeg.

Changelog

0.3 (2014-06-22)

  • Adjust MANIFEST and remove trash.

0.2 (2014-06-22)

  • Add MANIFEST.in and repo-url.

0.1 (2014-06-20)

  • Initial release

Project details


Release history Release notifications

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
adi.playlist-0.3-py2.7.egg (16.7 kB) Copy SHA256 hash SHA256 Egg 2.7 Jun 24, 2014
adi.playlist-0.3.tar.gz (18.1 kB) Copy SHA256 hash SHA256 Source None Jun 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page