Merge pull request #1322 from jooola/feat/housekeeping

Housekeeping
This commit is contained in:
Kyle Robbertze 2021-09-02 18:59:04 +00:00 committed by GitHub
commit 1d33c037e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 917 additions and 2009 deletions

29
.github/lock.yml vendored
View File

@ -1,29 +0,0 @@
# Configuration for Lock Threads - https://github.com/dessant/lock-threads
# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 365
# Skip issues and pull requests created before a given timestamp. Timestamp must
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
skipCreatedBefore: false
# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels: []
# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel: false
# Comment to post before locking. Set to `false` to disable
lockComment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.
Please chat to us on [discourse](https://discourse.libretime.org/) or
ask for help on our [chat](https://chat.libretime.org/) if you have any
questions or need further assistance with this issue.
# Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason: true
# Limit to only `issues` or `pulls`
# only: issues

501
CREDITS
View File

@ -1,501 +0,0 @@
=======
CREDITS
=======
Version 2.5.2
Albert Santoni (albert.santoni@sourcefabric.org)
Denise Rigato (denise.rigato@sourcefabric.org)
Cliff Wang (cliff.wang@sourcefabric.org)
Nareg Asmarian (nareg.asmarian@sourcefabric.org)
Daniel James (daniel.james@sourcefabric.org)
Community Contributors:
Robbt E
Version 2.5.1
Albert Santoni (albert.santoni@sourcefabric.org)
Role: Developer Team Lead
Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Community Contributors:
John Chewter
Version 2.5.0
-------------
Albert Santoni (albert.santoni@sourcefabric.org)
Role: Developer Team Lead
Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Version 2.4.1
-------------
Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Localizations:
Albert (French)
Helmut Müller, Christoph Rombach, Micz Flor, Silvio Mende (German)
Claudia Cruz (Spanish)
Katerina Michailidis (Greek)
Erich Pöttinger (Austrian)
Luba Sirina (Russian)
Luciano De Fazio (Brazilian Portuguese)
Sebastian Matuszewski (Polish)
Staff Pingu (Italian)
Magyar Zsolt (Hungarian)
Version 2.3.0/2.3.1
-------------
Martin Konecny (martin.konecny@sourcefabric.org)
Role: Developer Team Lead
James Moon (james.moon@sourcefabric.org)
Role: Software Developer
Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
Mikayel Karapetian (michael.karapetian@sourcefabric.org)
Role: QA
Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Localizations:
Albert (French)
Helmut Müller, Christoph Rombach, Micz Flor (German)
Claudia Cruz (Spanish)
Katerina Michailidis (Greek)
Erich Pöttinger (Austrian)
Luba Sirina (Russian)
Luciano De Fazio (Brazilian Portuguese)
Sebastian Matuszewski (Polish)
Staff Pingu (Italian)
Version 2.2.1
-------------
Martin Konecny (martin.konecny@sourcefabric.org)
Role: Developer Team Lead
James Moon (james.moon@sourcefabric.org)
Role: Software Developer
Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
Mikayel Karapetian (michael.karapetian@sourcefabric.org)
Role: QA
Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Version 2.2.0
-------------
Martin Konecny (martin.konecny@sourcefabric.org)
Role: Developer Team Lead
Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
James Moon (james.moon@sourcefabric.org)
Role: Software Developer
Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
Rudi Grinberg (rudi.grinberg@sourcefabric.org)
Role: Software Developer
Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
Mikayel Karapetian (michael.karapetian@sourcefabric.org)
Role: QA
Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
=======
CREDITS
=======
Version 2.1.3
-------------
Same as previous version.
=======
CREDITS
=======
Version 2.1.2
-------------
Same as previous version.
=======
CREDITS
=======
Version 2.1.1
-------------
Same as previous version.
=======
CREDITS
=======
Version 2.1.0
-------------
Martin Konecny (martin.konecny@sourcefabric.org)
Role: Developer Team Lead
Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
James Moon (james.moon@sourcefabric.org)
Role: Software Developer
Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
Mikayel Karapetian (michael.karapetian@sourcefabric.org)
Role: QA
Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Manager
=======
CREDITS
=======
Version 2.0.3
-------------
Same as previous version.
=======
CREDITS
=======
Version 2.0.2
-------------
Same as previous version.
=======
CREDITS
=======
Version 2.0.1
-------------
Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
Martin Konecny (martin.konecny@sourcefabric.org)
Role: Software Developer
James Moon (james.moon@sourcefabric.org)
Role: Software Developer
Daniel Franklin (daniel.franklin@sourcefabric.org)
Role: Software Developer
Ofir Gal (ofir.gal@sourcefabric.org)
Role: QA
Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Manager
Version 2.0.0
-------------
Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
Martin Konecny (martin.konecny@sourcefabric.org)
Role: Software Developer
James Moon (james.moon@sourcefabric.org)
Role: Software Developer
Yuchen Wang (yuchen.wang@sourcefabric.org)
Role: Software Developer
Ofir Gal (ofir.gal@sourcefabric.org)
Role: QA
Daniel James
Role: Documentor & QA
Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Manager
Vladimir Stefanovic (vladimir.stefanovic@sourcefabric.org)
Role: User Interface Designer
Version 1.9.5
-------------
Same as previous version.
Version 1.9.4
-------------
Same as previous version.
Version 1.9.3
-------------
Same as previous version.
Version 1.9.2
-------------
Same as previous version.
Version 1.9.1
-------------
Same as previous version.
Version 1.9.0
-------------
Same as previous version.
Version 1.8.2
-------------
Welcome to James Moon!
Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
Martin Konecny (martin.konecny@sourcefabric.org)
Role: Software Developer
James Moon (james.moon@sourcefabric.org)
Role: Software Developer
Ofir Gal (ofir.gal@sourcefabric.org)
Role: QA
Daniel James
Role: Documentor & QA
Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Manager
Vladimir Stefanovic (vladimir.stefanovic@sourcefabric.org)
Role: User Interface Designer
Version 1.8.1
-------------
Same as previous version.
Version 1.8.0
-------------
Same as previous version.
Version 1.7.0
-------------
Same as previous version.
Version 1.6.1
-------------
Same as previous version.
Version 1.6.0
-------------
This version marks a major change to the project, completely replacing the
custom audio player with liquidsoap, dropping the custom desktop GUI, and
completely rewriting the web interface. The project has also been renamed
from "Campcaster" to "Airtime" for this release.
Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Lead / Software Developer
Highlights:
- Integration and development of liquidsoap scheduler
- Separation of playlists from the scheduler
Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
Highlights:
- New User Interface
- Conversion to Propel DB backend
Martin Konecny (martin.konecny@sourcefabric.org)
Role: Software Developer
Highlights:
- New User Interface
- Scheduler/Backend
Vladimir Stefanovic (vladimir.stefanovic@sourcefabric.org)
Role: User Interface Designer
Ofir Gal (ofir.gal@sourcefabric.org)
Role: QA
Daniel James
Role: Documentor & QA
Version 1.4.0 - "Monrovia"
--------------------------
The great deal of the work on Campcaster 1.4 "Monrovia" was commissioned by the
Open Society Initiative for West Africa (www.osiwa.org), and by West Africa
Democracy Radio (www.wadr.org). We would like to thank Ben Akoh at OSIWA and
Peter Kahler at WADR for their immeasurable contributions to the project.
A number of improvements to Campcaster 1.4 were commissioned by Openbroadcast, a user-
generated radio station based in Basel, Switzerland powered by Campcaster. We are
very grateful for their contributions, and specifically to Thomas Gilgen, Dirk Claes,
Rigzen Latshang and Fabiano Sidler.
Douglas Arellanes
- Tester and user feedback
Robin Gareus
- Packaging
Ferenc Gerlits
- Studio GUI
Sebastian Göbel
- Web interface, storage server
Nebojsa Grujic
- Scheduler, XML-RPC interface, Gstreamer plugins
Tomáš Hlava
- Bug fixes
Sava Tatić
- Manager
Version 1.3.0 - "Dakar"
-----------------------
Douglas Arellanes
- Tester and user feedback
Ferenc Gerlits
- Studio GUI, scheduler, packaging
Sebastian Göbel
- Web interface
Tomáš Hlava
- Bug fixes
Sava Tatić
- Manager
Version 1.2.0 - "Kotor"
-----------------------
In alphabetical order:
Douglas Arellanes
- Tester and user feedback
Paul Baranowski
- Project manager, HTML UI, storage server
Ferenc Gerlits
- Studio GUI, scheduler, packaging
Tomáš Hlava
- Bug fixes
Robert Klajn
- Superuser feedback
Mark Kretschmann
- Audio player
Sava Tatić
- Manager
Version 1.1.X - "Freetown"
--------------------------
In alphabetical order:
Douglas Arellanes
- Tester and user feedback
Paul Baranowski
- Project manager, HTML UI, storage server, scheduler
János Csikós
- HTML UI
Ferenc Gerlits
- Studio GUI, scheduler, packaging
Tomáš Hlava
- Storage server, network hub
Mark Kretschmann
- Audio player
Ákos Maróy
- Architecture design, scheduler, audio player
Sava Tatić
- Manager
Version 1.0
-----------
The original Campcaster (LiveSupport) concept was drafted by Micz Flor. It was
fully developed by Robert Klajn, Douglas Arellanes, Ákos Maróy, and Sava Tatić.
The user interface has been designed by Charles Truett, based on the initial work
done by a team of his then-fellow Parsons School of Design students Turi McKinley,
Catalin Lazia and Sangita Shah. The team was led by then-head of the school's
Department of Digital Design Colleen Macklin, assisted by Kunal Jain.
In alphabetical order:
Douglas Arellanes
Michael Aschauer
Micz Flor
Ferenc Gerlits
Sebastian Göbel
Tomáš Hlava
Nadine Kokot
Ákos Maróy
Sava Tatić
Charles Truett

812
LEGACY.md Normal file
View File

@ -0,0 +1,812 @@
# Campcaster / Airtime (Legacy)
This document regroup all information about Campcaster / AirTime and its authors before the LibreTime fork.
Table of content:
- [Changelog](#changelog)
- [Credits](#credits)
## Changelog
#### 2.5.0 - October 8th, 2013
New features:
- Playout History feature overhaul.
- custom templates for log sheets.
- ability to manually log an item.
- ability to edit a history item.
- 3 history views: log, file summary, show summary.
- hosts can now view/log their own show history.
- Ubuntu 13.10 Saucy Salamander support (PHP 5.5)
Bug Fixes:
- Several important timezone handling improvements
- Rebroadcast shows bugfix
- Reduce likelihood of playout stalls under high memory pressure
- Fixed calendar not loading sometimes
- Fixed webstream disconnections due to Now Playing page
- Prevent admin password changes in demo mode
- Plus dozens of other bugfixes!
#### 2.4.1 - August 28th, 2013
Bug Fixes:
- Playout Engine locking issue
- Liquidsoap input harbor blocking scheduled contents
- Mono file playout problems
- Adding watched folder sometimes causes an exception based on length format
#### 2.4.0 - June 18th, 2013
New features:
- Show linking
- Repeating shows on every nth week of the month (2nd Monday etc)
- Waveform Editor (for cues/fades)
- Global crossfade setting, separate global fade in/fade out setting
- Library view shows which tracks are scheduled and/or in playlist
- Opus and AAC/AAC+ output support
Improvements:
- Show creation overhaul
- Library view re-ordering columns issue fixed
- Improved track length detection
#### 2.3.1 - March 19th, 2013
Bug Fixes:
- Security fixes with running unescaped shell commands
- Fix backend services not coming back online if RabbitMQ crashed and then restarted
- Fix uninstall not properly cleaning system
- Improved Services watchdog (test whether Services are running and responding, not just running)
- Much faster library import (Silan analyzer runs in background)
- Fixed zombie process sometimes being created
Other:
- Upgrade to Mutagen (tag reader) 1.21
#### 2.3.0 - Jan 21st, 2013
New features:
- Localization (Chinese, Czech, English, French, German, Italian, Korean, Portuguese, Russian, Spanish)
- User management page for non-admin users
- Listener statistics (Icecast/Shoutcast)
- Airtime no longer requires Apache document root
- Replay Gain offset in real-time
- Enable/disable replay gain
- Liquidsoap memory footprint improvements
- Automatically set cue points on import to avoid leading/trailing silence
#### 2.2.1 - December 4th, 2012
Bug Fixes:
- Improved fades between webstreams
- Fix webstreams disconnecting occasionally
- Put 'and' and 'or' connectors between smart blocks
- Fix inability to preview webstreams in the Now Playing page on some browsers
- Fix airtime-import script failing on FLAC files
- Fix DJ's being able to delete files they don't own
- Add support for 'x-scpls' webstream playlist types
- Fix media-monitor requiring a restart for initial import.
#### 2.2.0 - October 25th, 2012
New features:
- Smart Playlists
- Webstream rebroadcasts
- Replaygain support
- FLAC + WAV support (AAC if you compile your own Liquidsoap)
- Huge performance increase on library import
- User ownership of files
- Stereo/mono streams
- Rescan watched folders button (useful for network drives where keeping in sync is more difficult)
#### 2.1.3 - July 4th, 2012
Changes:
- Clarify inputs and output labels under stream settings
Bug Fixes:
- Fix playout engine crashing in rare cases after the system is restarted
- Fix entries in the Calendar unable to have multiple icons (recorded icon, soundcloud icon etc.)
- Fixed unwatching a watched folder with a large number of files (50,000+) can take a long time
- Fixed files deleted in the Web UI would delete files from the disk in watched folders
- Fixed jQuery widgets not showing the incorrectly showing the past Sunday on Sunday
- Fixed dragging and dropping tracks into a live show could cause to web UI to become unsynchronized from what is actually playing
- Fixed unable to receive mono streams for Master or Show source rebroadcasts
#### 2.1.2 - June 18th, 2012
Bug Fixes:
- Fixed problem where playout engine may not retrieve program schedule after extended periods of user inactivity.
#### 2.1.1 - June 12th, 2012
Changes:
- Add Media page will now display error message and reject uploaded file if it is corrupt
- jQuery schedule widget now show upcoming Sunday instead of previous Sunday
- fixed uploading files with upper case file extensions
- fixed master/source override URL being reverted to original setting after clicking 'Save' in stream settings.
- Add several helpful tips in the Stream Settings page and some UI cleanup
- DJ user type cannot delete Playlists that aren't their own or delete tracks
- Playlist Builder should remember your position instead of resetting to the first page every time an operation was performed
- If Master or Live input source is disconnected, Airtime will no longer automatically switch off that source. This should allow the source to reconnect and continue playback.
Bug Fixes:
- Fixed playout engine sometimes not receiving new schedule which could result in dead air
- Fixed script timeout which caused Apache to become unresponsive
- Fixed various Apache warnings
- Fixed not being able to delete some tracks that had been played
- Fixed calendar highlighting the wrong day due to server timezone being different from client browser timezone
- Promote my station opt-out button now works
- Fixed recording working sporadically on some system configurations
#### 2.1.0 - June 5th, 2012
New features:
- Real-time show editing in the Now Playing and Calendar screens
- Add/Remove/Rearrange tracks within a show, even if it currently playing
- Color-coded which tracks are inside the show, which are on the show boundary, and which are outside the show boundary
- Ability to cut all tracks that are outside the show boundary
- Edit the length of a show that is currently playing
- Live Stream Rebroadcasting
- Two live streams can be connected to Airtime: DJ stream and Master stream. The DJ stream can connect to Airtime and override the scheduled playout. The Master stream can connect to Airtime and override the DJ stream and the scheduled playout. Live Streams are activated in the interface and the interface displays which stream is being output.
- Library usability improvements
- Bulk actions added: "Add to Playlist", "Add to Show", and "Delete File"
- Ability to choose which columns to display and the order of the columns, sort by multiple columns
- Any metadata can be shown in the list
- Added a "Date Uploaded" column
- Preview tracks
- Ability to seek to a specific part of a track
- Ability to listen to all tracks in a playlist or show back-to-back.
- Media Monitor - added support for network and USB drives.
- Removing a watched directory and adding it again preserves playlists & shows with those files.
- An icon in the playlist shows whether a file is missing on disk, warning the user that the playlist will not go according to plan.
- Media monitor detects add and removal of watched temporary local storage (USB disks for example) and network drives.
- Broadcast Log - export play count of tracks within a given time range. Useful for royalty reporting purposes.
Improvements:
- Ability to turn off the broadcast.
- Editing metadata in the library will update the metadata on disk.
- Password reset - user can request a password reset if they forgot it.
- Overbooked shows now fade out properly
- Playlists & Shows can now be infinite length. Previously they were limited to 24 hours long.
- Default fade time set to 0.5 of a second
- Repeating shows default to "No End"
- Ability to "View on Soundcloud" for recorded shows in the calendar
- "Listen" preview player no longer falls behind the broadcast (you can only mute the stream now, not stop it)
- Tracks that cannot be played will be rejected on upload and put in to the directory "/srv/airtime/stor/problem_files" (but currently it will not tell you that it rejected them - sorry\!)
- Library is automatically refreshed when media import is finished
- Show "Disk Full" message when trying to upload a file that won't fit on the disk
- Reduced CPU utilization for OGG streams
- New command line utilities:
- airtime-test-soundcard - verify that the soundcard is working
- airtime-test-icecast - verify that you can connect to an Icecast server
#### 2.0.3 - April 3rd, 2012
Bug Fixes:
- monit user should have read-only permissions by default
- pypo user's shell should be /bin/false by default
#### 2.0.2 - February 28, 2012
Bug Fixes:
- Fixed Airtime could stop automatically playing after 24 hours if the web interface isn't used (regression in 2.0.1).
- Fixed Airtime could stop automatically recording after 2 hours if the web interface isn't used.
- Fixed upgrading from 1.8.2 when the stor directory was a symlink would cause filenames to not be preserved.
- Fixed Day View in the Now Playing tab showed some items on incorrect days.
- Fixed problems with having an equal '=' sign as an icecast password
Other:
- Various optimizations to make Airtime feel snappier in the browser. Various views should load much quicker.
#### 2.0.1 - February 14, 2012
Changes:
- Widgets should have a version string so users can make sure widgets are up to date
Bug Fixes:
- Fixed: Media monitor should not change the ownership of watched files if unnecessary
- Fixed: Sometimes the Current Playing Item on the top Panel in the UI incorrectly shows "Nothing Scheduled"
- Fixed: Stream settings page does not remember the stream metadata format
- Fixed: Airtime is missing Australia and Arctic timezones
- Fixed: Shows not recorded after upgrade to 2.0.0 from 1.8.2
- Fixed: Don't make it necessary users clear their browser cache when Airtime is upgraded
- Fixed: Media-Monitor does not handle corrupt audio metadata gracefully
#### 2.0.0 - January 24, 2012
New features:
- Stream configuration through the browser
- You can have up to three streams with different bitrates and point them to different Icecast/SHOUTcast servers
- Any connection problems between Liquidsoap and Icecast are shown in the interface (no more blaming Airtime for your misconfigured Icecast server!)
- Ability to change the hardware output API from the browser: you can now switch between ALSA, OSS, AO, Pulseaudio, and Portaudio.
- Listen from the browser: You can now listen to the streams directly from the web interface without having to start a 3rd party application(such as VLC) to listen to the stream.
- Service monitoring from the browser: You can now see the status of the services and the disk space available.
- Time zone can now be set in the browser. Times are now stored in the database in UTC time, there is no more need to adjust server time or values stored in ".htaccess" or "php.ini" files.
- Ability to change the "Start Day of the Week" that is shown in the calendar.
- View settings saved in calendar(time scale and time increments) and playlists(number of items displayed, search term)
- Soundcloud integration improvements
- Upload any clip to Soundcloud (not just the recorded shows as it was in previous versions)
- Upload many files at once
- View the file on Soundcloud.com once it is uploaded
- Re-upload a file to Soundcloud (for example, if the file has been edited)
- Automatically set the Soundcloud "Downloadable" flag
- Protection against brute-force password guessing attacks: after three failed login attempts, the user will be presented with a RECAPTCHA.
- Right-click on an item in the library to see the metadata for the audio file.
- Notification of new Airtime releases built into the interface.
Improvements:
- Add Show: only allow valid input when entering times
- Login page auto-focuses on user name field
- Install checks that Virtualenv is functional before proceeding
- Added a 404 page design
- Changing password does not require first & last name to be filled in
- The playlist now expands as you add items instead of keeping everything within a small scrolled box.
- Better error checking in cases where two users alter the same data at the same time (for example, in playlists and shows)
- Playlists: Removed intermediate "Add Playlist" screen where it asked you to fill in the name and description of the playlist. This wasn't necessary since everything could be changed from the playlist editor itself.
- Added "airtime-log" command to display, dump, and view all of Airtime's log files
Bug fixes:
- Liquidsoap logs are now logrotated
- Media monitor
- Now correctly handles the case where a watched directory or subdirectory is deleted or moved
- Fixed bug where Airtime import could start reading a file before it had finished copying, leading to import failure. This only happened in rare cases.
#### 1.9.5 - Nov 2, 2011
Bug Fixes:
- (CC-2743, CC-2769) Fixed problem where Media-Monitor would try to parse a file's metadata while the OS was still copying it
- (CC-2882) Fixed a bug where a couldn't unregister an old directory name from Airtime after it was renamed.
- (CC-2891) Fixed a bug with parsing Unicode metadata in audio files.
- (CC-2972) Fixed a bug where systems behind a firewall would have Airtime services communicating via its external IP.
- (CC-2975) Issue with older python-virtualenv identified. Airtime installer now requires virtualenv >= 1.4.9
- (CC-3012, CC-3013) Fixed an issue with Media-Monitor crashing when parsing certain audio tracks
#### 1.9.4 - Sept 13, 2011
Improvements:
- DEB packages now available for Ubuntu & Debian
- "airtime-easy-install" DEB package now available which will install everything with a single click
- "airtime-import" command-line utility now offers better help when invalid parameters have been passed.
Bug Fixes:
- Fixed "Show Contents" displaying full-length of tracks, even if cue-points had been set.
- Fixed start date of show not updating after dragging and dropping.
- Fixed audio preview still playing after deleting a file in the Playlist Builder.
- Fixed uploads via the web-interface while using Internet Explorer failing when tracks contained "+" or whitespace characters.
- Fixed issue where deleting a file from the Playlist Builder wouldn't always refresh the list to remove the file.
- Fixed issue where upgrading from any previous Airtime would set "Toronto/America" as the default timezone
- Fixed playout engine (Pypo) using a large amount of CPU when there was a long history of played shows
- Fixed playout engine (Pypo) using 100% CPU when it could not connect to RabbitMQ
- Fixed issue where incorrect Start Date and Time entered for a new show was not handled gracefully
- Fixed issue where using Cyrillic characters in a show name would sometimes cause it to not play
- Fixed pypo hanging if web server is unavailable
- Fixed items that were being dragged and dropped in the Playlist Builder being obscured by other UI elements.
#### 1.9.3 - August 26th, 2011
Improvements:
- It is now possible to upgrade your system while a show is playing. Playout will be temporarily interrupted for about 5-10 seconds and then playout will resume. Previously playout would not resume until the next scheduled show.
Bug Fixes:
- Fixed bug where playout system did not work with mono files.
- Fixed bug where sometimes audio files could be played out of order.
#### 1.9.2 - August 23rd, 2011
Bug Fixes:
- Fixed restarting sometimes caused media-monitor to forget all of its watched directories
- Fixed Media-monitor crashes when moving sub-directories within its watched directory
- Upgrade script would crash on upgrade from 1.8.2
#### 1.9.1 - August 17th, 2011
Changes:
- Support Settings moved to a separate page accessible by Admin user only.
Bug Fixes:
- "airtime-user" shell script failing to start
- Progress bar for tracks appearing when no content scheduled
- Fix upgrades from Airtime 1.8.2 failing
- Fix various install issues with virtualenv
- Prevent users from doing a manual install of Airtime if they already have the Debian package version installed
#### 1.9.0 - August 9, 2011
New features:
- New file storage system:
- Human-readable file structure. The directory structure and file names on disk are now human-readable. This means you can easily find files using your file browser on your server.
- Magic file synchronization. Edits to your files are automatically noticed by Airtime. If you edit any files on disk, such as trimming the length of a track, Airtime will automatically notice this and adjust the playlist lengths and shows for that audio file.
- Auto-import and multiple-directory support. You can set any number of directories to be watched by Airtime. Any new files you add to watched directories will be automatically imported into Airtime, and any deleted files will be automatically removed.
- The "airtime-import" command line tool can now set watched directories and change the storage directory.
- Graceful recovery from reboot. If the playout engine starts up and detects that a show should be playing at the current time, it will skip to the right point in the track and start playing. Previously, Airtime would not play anything until the next show started. This also fixes a problem where the metadata on the stream was lost when a file had cue-in/out values set. Thanks to the Liquidsoap developers for implementing the ability to do all of this!
- Output to Shoutcast. Now both Shoutcast and Icecast are supported.
- A new "Program Manager" role. A program manager can create shows but can't change the preferences or modify users.
- No more rebooting after install! Airtime now uses standard SystemV initd scripts instead of non-standard daemontools. This also makes for a much faster install.
- Frontend widgets are much easier to use and their theme can be modified with CSS (Click here for more info and installation instructions).
- Improved installation - only one command to install on Ubuntu!
Changes:
- Cumulative time shown on playlists. The Playlist Builder now shows the total time since the beginning of the playlist for each song.
- "End Time" instead of "Duration". In the Add/Edit Show dialog, we replaced the "Duration" field with "End Time". Users reported that this was a much more intuitive way to schedule the show. Duration is still shown as a read-only field.
- Feedback & promotion system. Airtime now includes a way to send feedback and promote your site on the Sourcefabric web page. This will greatly enhance our ability to understand who is using the software, which in turn will allow us to make appropriate features and receive grant funding.
- The show recorder can now instantly cancel a show thanks to the use of RabbitMQ.
- Only admins have the ability to delete files now.
- The playout engine now runs with a higher priority. This should help prevent any problems with audio skipping.
- Airtime has been contained. It is now easier to run other apps on the same system with Airtime because it no longer messes with the system-wide Python or PHP configurations. The python libraries needed for Airtime are now contained in a local Python virtualenv, and the PHP config variables are set in the Apache virtualhost and .htaccess files.
- Message indicating import status is now displayed on Playlist Builder page( above the search box).
Bug Fixes:
- Fixed bug where you couldn't import a file with a name longer than 255 characters.
- Fixed bug where searching an audio archive of 15K+ files was slow.
- Fixed bug where upgrading from more than one version back (e.g. 1.8.0 -> 1.9.0) did not work.
- Fixed bug where the wrong file length was reported for very large CBR mp3 files (thanks to mutagen developers for the patch!)
#### 1.8.2 - June 8, 2011
Changes:
- You can now download audio files from the search screen and from the "Show Content" screen.
- The "Now Playing" screen now shows whether a show is being recorded.
- In the "Playlist Builder" screen, you can now edit the title of the playlist and the description inline, without having to switch to another page.
- When you click on "Add Show", the cursor is placed on the show title field and a default name is automatically filled in.
- It is now possible to cancel a show that was recording.
- An new command-line program was added to verify an installation and help identify where problems are: "airtime-check-system"
- Airtime now runs on Ubuntu 11.04 (though we do not offer support for this).
Bug Fixes:
- Fixed serious problem with the upgrading and installing process. The Airtime install will now automatically detect if you should upgrade or install and take the appropriate action. Reinstalls cannot happen except by using a specific command.
- "Show Contents" screen will now display properly on smaller screens.
- Install/uninstall now works on Debian without needing the "sudo" command.
- Editing a playlist name or deleting a playlist now reflects immediately in the media search window.
- In the "Add Media" page, the "start upload" button vanished after upload. Now it remains there after upload so it is possible to upload again.
- When canceling a playing show, the currently playing audio file still showed as playing. This has been fixed.
- Audio files greater than 100MB were not being played.
- Fixed uploading audio on Chrome 11 and higher
- Fixed various editing show problems
- Fixed airtime-pypo-stop/start causing playback problems
- Fixed incorrect information being occasionally shown in the top panel
- Fixed problem with Record Check box occasionally being greyed-out when creating new show
- Fixed a problem with default genre not being applied to recorded shows
- Fixed a problem where shows repeating bi-weekly or monthly did not update properly when edited.
- Fixed problem when a user changed the name of a recorded show right before it started playing would cause the recorded audio not to be linked to the show.
- and many more...
#### 1.8.1 - May 2, 2011
Bug Fixes:
- Fixed issue where an track's progress bar would keep updating, even if the track was no longer playing.
- Fixed problem where editing a show would only update some of the show instances.
- Fixed an issue related to editing a show that had instances scheduled in the past.
- airtime-clean-storage command-line utility should now work properly
- Fixed an issue related the "airtime-import" command-line utility
- Fixed an issue with the Airtime Debian package overwriting configuration files
- Fixed some database install issues on Debian
- Fixed an issue with show names and foreign characters causing the show to not start (temporarily disabled allowing the usage of these characters)
#### 1.8.0 - April 19, 2011
Changes:
- The biggest feature of this release is the ability to edit shows. You can change everything from 'Name', 'Description', and 'URL', to repeat and rebroadcast days. Show instances will be dynamically created or removed as needed. Radio stations will be pleased to know they can now have up to ten rebroadcast shows too.
- Airtime's calendar now looks, feels and performs better than ever. Loading a station schedule is now five to eight times faster. In our tests of 1.7, if the month calendar had shows scheduled for every hour of every day, it used to take 16 seconds to load. Now in 1.8 it takes two seconds.
- It is possible to have up to ten rebroadcast shows now, in 1.7 it was only up to five.
- Airtime's new installation script has two options for increased install flexibility: --preserve to keep your existing config files, or --overwrite to replace your existing config files with new ones. Uninstall no longer removes Airtime config files or the music storage directory.
- New improved look & feel of the calendar (thanks to the "FullCalendar" jQuery project).
- Installation now puts files in standard locations in the Linux file hierarchy, which prepares the project to be accepted into Ubuntu and Debian. Also because of our wish to be part of those projects, the default output stream type is now OGG instead of MP3 -- due to MP3 licensing issues. This configuration can be changed in "/etc/airtime/liquidsoap.conf".
- You now have the ability to start and stop pypo and the show recorder from the command line with the commands "airtime-pypo-start", "airtime-pypo-stop", "airtime-show-recorder-start", and "airtime-show-recorder-stop".
Bug Fixes:
- CC-2192 Schedule sent to pypo is not sorted by start time.
- CC-2175 Overbooking: Cut off shows when they are done
- CC-2174 Need formatting and a warning icon for the message for overbooking a show
- CC-2039 Upload file: file name cropped
- CC-2177 Schedule editing does not work under Firefox 4
#### 1.7.0 - April 4, 2011
Changes:
- Recording and automatic scheduling/broadcasting of live shows
- Recording/rebroadcast status of a show is shown in "Now Playing" and "Calendar"
- Can rebroadcast a show at multiple times and dates
- Automatic upload of recorded shows to Soundcloud
- Frontend JQuery widgets for public-facing websites to show your visitors what's playing and the upcoming schedule.
- Ability to over-book a show and automatically cut and fade out song if it goes beyond the show time
- Ability to delete audio files
- Ability to cancel the currently playing show
- Any changes to the schedule are immediately seen by the playout engine
- In version 1.6, you had to make sure that your show was ready to go 30 seconds before it started.
- Upgrade support (should be able to upgrade from any version, unlike 1.6.1 which required an uninstall of 1.6.0 first)
- "Now Playing" list view:
- audio items are now grouped by show.
- If a show is not fully scheduled, the user is notified how many seconds of silence are at the end of the show in this View.
- Audio items that play past the show's end time have a visual notification that they will be cut off
- Ability to change metadata tag display format for web streams
- Config files moved to /etc/airtime. This means all config files are in one convenient location and separated from the code, so you can upgrade your code independently of your config files.
- Redesign of Preferences screen
Bug Fixes:
- CC-2082 OGG stream dies after every song when using MPlayer
- CC-1894 Warn users about time zone differences or clock drift problems on the server
- CC-2058 Utilities are not in the system $PATH
- CC-2051 Unable to change user password
- CC-2030 Icon needed for Cue In/Out
- CC-1955 Special character support in the library search
#### 1.6.1 - Feb 23, 2011
Bug fixes:
- CC-1973 Liquidsoap crashes after multi-day playout
- CC-1970 API key fix (Security fix) - Each time you run the install scripts, a new API key is now generated.
- CC-1992 Editing metadata goes blank on 'submit'
- CC-1993 ui start time and song time unsynchronized
#### 1.6.0 - Feb 14, 2011
First official version of Airtime.
## Credits
#### Version 2.5.2
- Albert Santoni (albert.santoni@sourcefabric.org)
- Denise Rigato (denise.rigato@sourcefabric.org)
- Cliff Wang (cliff.wang@sourcefabric.org)
- Nareg Asmarian (nareg.asmarian@sourcefabric.org)
- Daniel James (daniel.james@sourcefabric.org)
Community Contributors:
- Robbt E
#### Version 2.5.1
- Albert Santoni (albert.santoni@sourcefabric.org)
Role: Developer Team Lead
- Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
- Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
- Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
- Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Community Contributors:
- John Chewter
#### Version 2.5.0
- Albert Santoni (albert.santoni@sourcefabric.org)
Role: Developer Team Lead
- Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
- Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
- Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
- Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
#### Version 2.4.1
- Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
- Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
- Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
- Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Localizations:
- Albert (French)
- Helmut Müller, Christoph Rombach, Micz Flor, Silvio Mende (German)
- Claudia Cruz (Spanish)
- Katerina Michailidis (Greek)
- Erich Pöttinger (Austrian)
- Luba Sirina (Russian)
- Luciano De Fazio (Brazilian Portuguese)
- Sebastian Matuszewski (Polish)
- Staff Pingu (Italian)
- Magyar Zsolt (Hungarian)
#### Version 2.3.0...2.3.1
- Martin Konecny (martin.konecny@sourcefabric.org)
Role: Developer Team Lead
- James Moon (james.moon@sourcefabric.org)
Role: Software Developer
- Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
- Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
- Mikayel Karapetian (michael.karapetian@sourcefabric.org)
Role: QA
- Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
Localizations:
- Albert (French)
- Helmut Müller, Christoph Rombach, Micz Flor (German)
- Claudia Cruz (Spanish)
- Katerina Michailidis (Greek)
- Erich Pöttinger (Austrian)
- Luba Sirina (Russian)
- Luciano De Fazio (Brazilian Portuguese)
- Sebastian Matuszewski (Polish)
- Staff Pingu (Italian)
#### Version 2.2.1
- Martin Konecny (martin.konecny@sourcefabric.org)
Role: Developer Team Lead
- James Moon (james.moon@sourcefabric.org)
Role: Software Developer
- Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
- Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
- Mikayel Karapetian (michael.karapetian@sourcefabric.org)
Role: QA
- Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
#### Version 2.2.0
- Martin Konecny (martin.konecny@sourcefabric.org)
Role: Developer Team Lead
- Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
- James Moon (james.moon@sourcefabric.org)
Role: Software Developer
- Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
- Rudi Grinberg (rudi.grinberg@sourcefabric.org)
Role: Software Developer
- Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
- Mikayel Karapetian (michael.karapetian@sourcefabric.org)
Role: QA
- Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
#### Version 2.1.0...2.1.3
- Martin Konecny (martin.konecny@sourcefabric.org)
Role: Developer Team Lead
- Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
- James Moon (james.moon@sourcefabric.org)
Role: Software Developer
- Denise Rigato (denise.rigato@sourcefabric.org)
Role: Software Developer
- Cliff Wang (cliff.wang@sourcefabric.org)
Role: QA
- Mikayel Karapetian (michael.karapetian@sourcefabric.org)
Role: QA
- Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
- Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Manager
#### Version 2.0.1...2.0.3
- Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
- Martin Konecny (martin.konecny@sourcefabric.org)
Role: Software Developer
- James Moon (james.moon@sourcefabric.org)
Role: Software Developer
- Daniel Franklin (daniel.franklin@sourcefabric.org)
Role: Software Developer
- Ofir Gal (ofir.gal@sourcefabric.org)
Role: QA
- Daniel James (daniel.james@sourcefabric.org)
Role: Documentor & QA
- Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Manager
#### Version 2.0.0
- Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
- Martin Konecny (martin.konecny@sourcefabric.org)
Role: Software Developer
- James Moon (james.moon@sourcefabric.org)
Role: Software Developer
- Yuchen Wang (yuchen.wang@sourcefabric.org)
Role: Software Developer
- Ofir Gal (ofir.gal@sourcefabric.org)
Role: QA
- Daniel James
Role: Documentor & QA
- Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Manager
- Vladimir Stefanovic (vladimir.stefanovic@sourcefabric.org)
Role: User Interface Designer
#### Version 1.8.2...1.9.5
Welcome to James Moon!
- Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
- Martin Konecny (martin.konecny@sourcefabric.org)
Role: Software Developer
- James Moon (james.moon@sourcefabric.org)
Role: Software Developer
- Ofir Gal (ofir.gal@sourcefabric.org)
Role: QA
- Daniel James
Role: Documentor & QA
- Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Manager
- Vladimir Stefanovic (vladimir.stefanovic@sourcefabric.org)
Role: User Interface Designer
#### Version 1.6.0...1.8.1
This version marks a major change to the project, completely replacing the
custom audio player with liquidsoap, dropping the custom desktop GUI, and
completely rewriting the web interface. The project has also been renamed
from "Campcaster" to "Airtime" for this release.
- Paul Baranowski (paul.baranowski@sourcefabric.org)
Role: Project Lead / Software Developer
Highlights: - Integration and development of liquidsoap scheduler - Separation of playlists from the scheduler
- Naomi Aro (naomi.aro@sourcefabric.org)
Role: Software Developer
Highlights: - New User Interface - Conversion to Propel DB backend
- Martin Konecny (martin.konecny@sourcefabric.org)
Role: Software Developer
Highlights: - New User Interface - Scheduler/Backend
- Vladimir Stefanovic (vladimir.stefanovic@sourcefabric.org)
Role: User Interface Designer
- Ofir Gal (ofir.gal@sourcefabric.org)
Role: QA
- Daniel James
Role: Documentor & QA
#### Version 1.4.0 - "Monrovia"
The great deal of the work on Campcaster 1.4 "Monrovia" was commissioned by the
Open Society Initiative for West Africa (www.osiwa.org), and by West Africa
Democracy Radio (www.wadr.org). We would like to thank Ben Akoh at OSIWA and
Peter Kahler at WADR for their immeasurable contributions to the project.
A number of improvements to Campcaster 1.4 were commissioned by Openbroadcast, a user-
generated radio station based in Basel, Switzerland powered by Campcaster. We are
very grateful for their contributions, and specifically to Thomas Gilgen, Dirk Claes,
Rigzen Latshang and Fabiano Sidler.
- Douglas Arellanes
Role: Tester and user feedback
- Robin Gareus
Role: Packaging
- Ferenc Gerlits
Role: Studio GUI
- Sebastian Göbel
Role: Web interface, storage server
- Nebojsa Grujic
Role: Scheduler, XML-RPC interface, Gstreamer plugins
- Tomáš Hlava
Role: Bug fixes
- Sava Tatić
Role: Manager
#### Version 1.3.0 - "Dakar"
- Douglas Arellanes
Role: Tester and user feedback
- Ferenc Gerlits
Role: Studio GUI, scheduler, packaging
- Sebastian Göbel
Role: Web interface
- Tomáš Hlava
Role: Bug fixes
- Sava Tatić
Role: Manager
#### Version 1.2.0 - "Kotor"
- Douglas Arellanes
Role: Tester and user feedback
- Paul Baranowski
Role: Project manager, HTML UI, storage server
- Ferenc Gerlits
Role: Studio GUI, scheduler, packaging
- Tomáš Hlava
Role: Bug fixes
- Robert Klajn
Role: Superuser feedback
- Mark Kretschmann
Role: Audio player
- Sava Tatić
Role: Manager
#### Version 1.1.X - "Freetown"
- Douglas Arellanes
Role: Tester and user feedback
- Paul Baranowski
Role: Project manager, HTML UI, storage server, scheduler
- János Csikós
Role: HTML UI
- Ferenc Gerlits
Role: Studio GUI, scheduler, packaging
- Tomáš Hlava
Role: Storage server, network hub
- Mark Kretschmann
Role: Audio player
- Ákos Maróy
Role: Architecture design, scheduler, audio player
- Sava Tatić
Role: Manager
#### Version 1.0
The original Campcaster (LiveSupport) concept was drafted by Micz Flor. It was
fully developed by Robert Klajn, Douglas Arellanes, Ákos Maróy, and Sava Tatić.
The user interface has been designed by Charles Truett, based on the initial work
done by a team of his then-fellow Parsons School of Design students Turi McKinley,
Catalin Lazia and Sangita Shah. The team was led by then-head of the school's
Department of Digital Design Colleen Macklin, assisted by Kunal Jain.
- Douglas Arellanes
- Michael Aschauer
- Micz Flor
- Ferenc Gerlits
- Sebastian Göbel
- Tomáš Hlava
- Nadine Kokot
- Ákos Maróy
- Sava Tatić
- Charles Truett

View File

@ -1,7 +1,7 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@ -643,7 +643,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
@ -658,4 +658,4 @@ specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.

View File

@ -1,185 +0,0 @@
This application uses the following 3rd Party software:
----------------------
Common Non-linked Code
----------------------
* Linux
- What is it: Kernel
- Web site: https://github.com/torvalds/linux
- License: GPLv2
* RabbitMQ
- What is it: Interprocess Message Passing with Queuing
- Web site: http://www.rabbitmq.com/
- License: Mozilla Public License (http://www.rabbitmq.com/mpl.html)
* monit
- What is it: Monitors processes and restarts them if they die
- Web site: http://mmonit.com/monit/
- License: GPLv3
-----------
Airtime Web
-----------
Linked code:
* Zend Framework 1.10.3
- What is it: Framework for PHP web apps
- Web site: http://framework.zend.com/
- License: New BSD license
- Compatible with GPLv3: Yes
* PEAR
- What is it: PHP library
- Notes: We only use the PEAR base class PEAR_Error, in the "PEAR" PEAR library.
- License: New BSD License
- Compatible with GPLv3? Yes.
* Propel ORM
- What is it: Maps DB data into PHP objects
- Web site: http://www.propelorm.org/
- License: MIT/Expat License
- Compatible with the GPL: Yes. See http://www.gnu.org/licenses/license-list.html
* Phing
- What is it: PHP project build system
- Web site: http://phing.info/trac/
- Note: Only used for development, not needed to run Airtime.
- License: LGPLv3
* PHP-AMQPLIB
- What is it: PHP library to interact with RabbitMQ
- Web site: https://github.com/tnc/php-amqplib
- License: LGPLv2.1
- Compatible with GPLv3? Yes
* getID3()
- What is it: PHP script that extracts useful information from MP3s & other multimedia file formats:
- Web site: https://github.com/JamesHeinrich/getID3
- License: GPLv3
Non-linked code:
* Apache Web Server 2.2
- Web site: http://httpd.apache.org/
- License: Apache 2.0. See http://httpd.apache.org/docs/2.2/license.html
* PostgreSQL 9.1
- Web site: http://www.postgresql.org/
- License: The PostgreSQL License. See http://www.postgresql.org/about/licence
* PHP 5.3
- Web site: http://www.php.net/
- License: The PHP License. See http://www.php.net/license/3_01.txt
* jQuery
- Web site: http://jquery.com/
- License: MIT and GPL. See http://jquery.org/license
- jQuery components used:
* Full Calendar
- Web site: http://arshaw.com/fullcalendar/
- License: Dual licensed under MIT and GPLv2
* Colorpicker
- Web site: http://www.eyecon.ro/colorpicker/
- License: Dual licensed under the MIT and GPL licenses.
* Context Menu
- Web site: http://jursza.net/dev/jjmenu/
- License: MIT [http://www.opensource.org/licenses/mit-license.php]
* PLUpload
- Web site: http://www.plupload.com
- License: GPLv2
* jPlayer
- Web site: http://www.jplayer.org/
- License: Dual licensed under the MIT and GPL licenses.
* qtip
- Web site: http://craigsworks.com/projects/qtip/
- License: MIT
* TimePicker
- Web site: http://fgelinas.com/code/timepicker/
- License: Dual licensed under the MIT or GPL Version 2 licenses.
* Data Tables
- Web site: http://www.datatables.net/
- License: GPLv2 or BSD 3-Clause
* Server Browse
- Web site: http://code.google.com/p/jq-serverbrowse/
- License: BSD 2-Clause
* Flot
- Web site: http://www.flotcharts.org/
- License: MIT
-------------
Media-Monitor
-------------
Linked code:
* Mutagen
- What is it: Parser of audio file metadata
- Web site: http://code.google.com/p/mutagen/
- License: GPLv2-only
* Kombu
- What is it: Python interface to RabbitMQ
- Web site: http://pypi.python.org/pypi/kombu/
- License: New BSD
- Compatible with GPLv3? Yes.
* pyinotify
- Python interface to inotify
- Web site: https://github.com/seb-m/pyinotify
- License: MIT
Non-linked code:
* Python 2.7
- Web site: http://www.python.org/
- License: PSF License. See http://docs.python.org/license.html
* Silan
- What is it: Silence detector
- Web site: https://github.com/x42/silan
- License: GPL-2+
- Compatible with GPLv3? Yes.
-------------
Show Recorder
-------------
Linked code:
* Kombu
- What is it: Python interface to RabbitMQ
- Web site: http://pypi.python.org/pypi/kombu/
- License: New BSD
- Compatible with GPLv3? Yes.
Non-linked code:
* Python 2.7
- Web site: http://www.python.org/
- License: PSF License. See http://docs.python.org/license.html
* ecasound 2.8.1
- What is it: Records audio from line-in
- Web site: http://www.eca.cx/ecasound/
- License: GPLv2
----
Pypo
----
Linked code:
* Kombu
- Web site: http://pypi.python.org/pypi/kombu/
- License: New BSD
- Compatible with GPLv3? Yes.
Non-linked code:
* Python 2.7
- Web site: http://www.python.org/
- License: PSF License. See http://docs.python.org/license.html
* Liquidsoap 1.1.1
- Web site: http://savonet.sourceforge.net/
- License: GPLv2

538
changelog
View File

@ -1,538 +0,0 @@
2.5.0 - October 8th, 2013
* New features
* Playout History feature overhaul.
- custom templates for log sheets.
- ability to manually log an item.
- ability to edit a history item.
- 3 history views: log, file summary, show summary.
- hosts can now view/log their own show history.
* Ubuntu 13.10 Saucy Salamander support (PHP 5.5)
* Bug Fixes
* Several important timezone handling improvements
* Rebroadcast shows bugfix
* Reduce likelihood of playout stalls under high memory pressure
* Fixed calendar not loading sometimes
* Fixed webstream disconnections due to Now Playing page
* Prevent admin password changes in demo mode
* Plus dozens of other bugfixes!
2.4.1 - August 28th, 2013
* Bug Fixes
* Playout Engine locking issue
* Liquidsoap input harbor blocking scheduled contents
* Mono file playout problems
* Adding watched folder sometimes causes an exception based on length format
2.4.0 - June 18th, 2013
* New features
* Show linking
* Repeating shows on every nth week of the month (2nd Monday etc)
* Waveform Editor (for cues/fades)
* Global crossfade setting, separate global fade in/fade out setting
* Library view shows which tracks are scheduled and/or in playlist
* Opus and AAC/AAC+ output support
* Improvements/Bug Fixes
* Show creation overhaul
* Library view re-ordering columns issue fixed
* Improved track length detection
2.3.1 - March 19th, 2013
* Bug fixes
* Security fixes with running unescaped shell commands
* Fix backend services not coming back online if RabbitMQ crashed and
then restarted
* Fix uninstall not properly cleaning system
* Improved Services watchdog (test whether Services are running and
responding, not just running)
* Much faster library import (Silan analyzer runs in background)
* Fixed zombie process sometimes being created
* Other
* Upgrade to Mutagen (tag reader) 1.21
2.3.0 - Jan 21st, 2013
* New features
* Localization (Chinese, Czech, English, French, German, Italian, Korean,
Portuguese, Russian, Spanish)
* User management page for non-admin users
* Listener statistics (Icecast/Shoutcast)
* Airtime no longer requires Apache document root
* Replay Gain offset in real-time
* Enable/disable replay gain
* Liquidsoap memory footprint improvements
* Automatically set cue points on import to avoid leading/trailing silence
2.2.1 - December 4th, 2012
* Bug fixes
* Improved fades between webstreams
* Fix webstreams disconnecting occasionally
* Put 'and' and 'or' connectors between smart blocks
* Fix inability to preview webstreams in the Now Playing page on some
browsers
* Fix airtime-import script failing on FLAC files
* Fix DJ's being able to delete files they don't own
* Add support for 'x-scpls' webstream playlist types
* Fix media-monitor requiring a restart for initial import.
2.2.0 - October 25th, 2012
* New features
* Smart Playlists
* Webstream rebroadcasts
* Replaygain support
* FLAC + WAV support (AAC if you compile your own Liquidsoap)
* Huge performance increase on library import
* User ownership of files
* Stereo/mono streams
* Rescan watched folders button (useful for network drives where keeping in sync is more difficult)
2.1.3 - July 4th, 2012
* Changes
* Clarify inputs and output labels under stream settings
* Bug Fixes
* Fix playout engine crashing in rare cases after the system is restarted
* Fix entries in the Calendar unable to have multiple icons (recorded icon, soundcloud icon etc.)
* Fixed unwatching a watched folder with a large number of files (50,000+) can take a long time
* Fixed files deleted in the Web UI would delete files from the disk in watched folders
* Fixed jQuery widgets not showing the incorrectly showing the past Sunday on Sunday
* Fixed dragging and dropping tracks into a live show could cause to web UI to become unsynchronized from what is actually playing
* Fixed unable to receive mono streams for Master or Show source rebroadcasts
2.1.2 - June 18th, 2012
* Bug Fixes
* Fixed problem where playout engine may not retrieve program schedule after extended periods of user inactivity.
2.1.1 - June 12th, 2012
* Changes
* Add Media page will now display error message and reject uploaded file if it is corrupt
* jQuery schedule widget now show upcoming Sunday instead of previous Sunday
* fixed uploading files with upper case file extensions
* fixed master/source override URL being reverted to original setting after clicking 'Save' in stream settings.
* Add several helpful tips in the Stream Settings page and some UI cleanup
* DJ user type cannot delete Playlists that aren't their own or delete tracks
* Playlist Builder should remember your position instead of resetting to the first page every time an operation was performed
* If Master or Live input source is disconnected, Airtime will no longer automatically switch off that source. This should allow the source to
reconnect and continue playback.
* Bug fixes
* Fixed playout engine sometimes not receiving new schedule which could result in dead air
* Fixed script timeout which caused Apache to become unresponsive
* Fixed various Apache warnings
* Fixed not being able to delete some tracks that had been played
* Fixed calendar highlighting the wrong day due to server timezone being different from client browser timezone
* Promote my station opt-out button now works
* Fixed recording working sporadically on some system configurations
2.1.0 - June 5th, 2012
* The cool stuff:
* Real-time show editing in the Now Playing and Calendar screens
* Add/Remove/Rearrange tracks within a show, even if it currently playing
* Color-coded which tracks are inside the show, which are on the show boundary, and which are outside the show boundary
* Ability to cut all tracks that are outside the show boundary
* Edit the length of a show that is currently playing
* Live Stream Rebroadcasting
* Two live streams can be connected to Airtime: DJ stream and Master stream. The DJ stream can connect to Airtime and override the scheduled playout. The Master stream can connect to Airtime and override the DJ stream and the scheduled playout. Live Streams are activated in the interface and the interface displays which stream is being output.
* Library usability improvements
* Bulk actions added: "Add to Playlist", "Add to Show", and "Delete File"
* Ability to choose which columns to display and the order of the columns, sort by multiple columns
* Any metadata can be shown in the list
* Added a "Date Uploaded" column
* Preview tracks
* Ability to seek to a specific part of a track
* Ability to listen to all tracks in a playlist or show back-to-back.
* Media Monitor - added support for network and USB drives.
* Removing a watched directory and adding it again preserves playlists & shows with those files.
* An icon in the playlist shows whether a file is missing on disk, warning the user that the playlist will not go according to plan.
* Media monitor detects add and removal of watched temporary local storage (USB disks for example) and network drives.
* Broadcast Log - export play count of tracks within a given time range. Useful for royalty reporting purposes.
* Minor Improvements:
* Ability to turn off the broadcast.
* Editing metadata in the library will update the metadata on disk.
* Password reset - user can request a password reset if they forgot it.
* Overbooked shows now fade out properly
* Playlists & Shows can now be infinite length. Previously they were limited to 24 hours long.
* Default fade time set to 0.5 of a second
* Repeating shows default to "No End"
* Ability to "View on Soundcloud" for recorded shows in the calendar
* "Listen" preview player no longer falls behind the broadcast (you can only mute the stream now, not stop it)
* Tracks that cannot be played will be rejected on upload and put in to the directory "/srv/airtime/stor/problem_files" (but currently it will not tell you that it rejected them - sorry\!)
* Library is automatically refreshed when media import is finished
* Show "Disk Full" message when trying to upload a file that won't fit on the disk
* Reduced CPU utilization for OGG streams
* New command line utilities:
* airtime-test-soundcard - verify that the soundcard is working
* airtime-test-icecast - verify that you can connect to an Icecast server
2.0.3 - April 3rd, 2012
* Bug Fixes:
* monit user should have read-only permissions by default
* pypo user's shell should be /bin/false by default
2.0.2 - February 28, 2012
* Bug Fixes:
* Fixed Airtime could stop automatically playing after 24 hours if the web interface isn't used (regression in 2.0.1).
* Fixed Airtime could stop automatically recording after 2 hours if the web interface isn't used.
* Fixed upgrading from 1.8.2 when the stor directory was a symlink would cause filenames to not be preserved.
* Fixed Day View in the Now Playing tab showed some items on incorrect days.
* Fixed problems with having an equal '=' sign as an icecast password
* Other
* Various optimizations to make Airtime feel snappier in the browser. Various views should
load much quicker.
2.0.1 - February 14, 2012
* Changes:
* Widgets should have a version string so users can make sure widgets are up to date
* Bug Fixes:
* Fixed: Media monitor should not change the ownership of watched files if unnecessary
* Fixed: Sometimes the Current Playing Item on the top Panel in the UI incorrectly shows "Nothing Scheduled"
* Fixed: Stream settings page does not remember the stream metadata format
* Fixed: Airtime is missing Australia and Arctic timezones
* Fixed: Shows not recorded after upgrade to 2.0.0 from 1.8.2
* Fixed: Don't make it necessary users clear their browser cache when Airtime is upgraded
* Fixed: Media-Monitor does not handle corrupt audio metadata gracefully
2.0.0 - January 24, 2012
* The cool stuff:
* Stream configuration through the browser
* You can have up to three streams with different bitrates and point them
to different Icecast/SHOUTcast servers
* Any connection problems between Liquidsoap and Icecast are shown in the
interface (no more blaming Airtime for your misconfigured Icecast
server!)
* Ability to change the hardware output API from the browser: you can now
switch between ALSA, OSS, AO, Pulseaudio, and Portaudio.
* Listen from the browser: You can now listen to the streams directly from
the web interface without having to start a 3rd party application(such
as VLC) to listen to the stream.
* Service monitoring from the browser: You can now see the status of the
services and the disk space available.
* Time zone can now be set in the browser. Times are now stored in the
database in UTC time, there is no more need to adjust server time or
values stored in ".htaccess" or "php.ini" files.
* Ability to change the "Start Day of the Week" that is shown in the
calendar.
* View settings saved in calendar(time scale and time increments) and
playlists(number of items displayed, search term)
* Soundcloud integration improvements
* Upload any clip to Soundcloud (not just the recorded shows as it was
in previous versions)
* Upload many files at once
* View the file on Soundcloud.com once it is uploaded
* Re-upload a file to Soundcloud (for example, if the file has been
edited)
* Automatically set the Soundcloud "Downloadable" flag
* Protection against brute-force password guessing attacks: after three
failed login attempts, the user will be presented with a RECAPTCHA.
* Right-click on an item in the library to see the metadata for the audio
file.
* Notification of new Airtime releases built into the interface.
* Improvements
* Add Show: only allow valid input when entering times
* Login page auto-focuses on user name field
* Install checks that Virtualenv is functional before proceeding
* Added a 404 page design
* Changing password does not require first & last name to be filled in
* The playlist now expands as you add items instead of keeping everything
within a small scrolled box.
* Better error checking in cases where two users alter the same data at
the same time (for example, in playlists and shows)
* Playlists: Removed intermediate "Add Playlist" screen where it asked you
to fill in the name and description of the playlist. This wasn't
necessary since everything could be changed from the playlist editor
itself.
* Added "airtime-log" command to display, dump, and view all of Airtime's
log files
* Bug fixes
* Liquidsoap logs are now logrotated
* Media monitor
* Now correctly handles the case where a watched directory or
subdirectory is deleted or moved
* Fixed bug where Airtime import could start reading a file before it
had finished copying, leading to import failure. This only happened
in rare cases.
1.9.5 - Nov 2, 2011
* Bug fixes:
* (CC-2743, CC-2769) Fixed problem where Media-Monitor would try to parse a
file's metadata while the OS was still copying it
* (CC-2882) Fixed a bug where a couldn't unregister an old directory name
from Airtime after it was renamed.
* (CC-2891) Fixed a bug with parsing Unicode metadata in audio files.
* (CC-2972) Fixed a bug where systems behind a firewall would have Airtime
services communicating via its external IP.
* (CC-2975) Issue with older python-virtualenv identified. Airtime installer
now requires virtualenv >= 1.4.9
* (CC-3012, CC-3013) Fixed an issue with Media-Monitor crashing when parsing
certain audio tracks
1.9.4 - Sept 13, 2011
* Improvements
- DEB packages now available for Ubuntu & Debian
- "airtime-easy-install" DEB package now available which will install
everything with a single click
- "airtime-import" command-line utility now offers better help when invalid
parameters have been passed.
* Fixes
- Fixed "Show Contents" displaying full-length of tracks, even if cue-points
had been set.
- Fixed start date of show not updating after dragging and dropping.
- Fixed audio preview still playing after deleting a file in the Playlist
Builder.
- Fixed uploads via the web-interface while using Internet Explorer failing
when tracks contained "+" or whitespace characters.
- Fixed issue where deleting a file from the Playlist Builder wouldn't
always refresh the list to remove the file.
- Fixed issue where upgrading from any previous Airtime would set
"Toronto/America" as the default timezone
- Fixed playout engine (Pypo) using a large amount of CPU when there was a
long history of played shows
- Fixed playout engine (Pypo) using 100% CPU when it could not connect to
RabbitMQ
- Fixed issue where incorrect Start Date and Time entered for a new show was
not handled gracefully
- Fixed issue where using Cyrillic characters in a show name would sometimes
cause it to not play
- Fixed pypo hanging if web server is unavailable
- Fixed items that were being dragged and dropped in the Playlist Builder
being obscured by other UI elements.
1.9.3 - August 26th, 2011
* Improvements
- It is now possible to upgrade your system while a show is playing.
Playout will be temporarily interrupted for about 5-10 seconds and then
playout will resume. Previously playout would not resume until the next
scheduled show.
* Fixes
- Fixed bug where playout system did not work with mono files.
- Fixed bug where sometimes audio files could be played out of order.
1.9.2 - August 23rd, 2011
* Fixes
- Fixed restarting sometimes caused media-monitor to forget all of its
watched directories
- Fixed Media-monitor crashes when moving sub-directories within its watched
directory
- Upgrade script would crash on upgrade from 1.8.2
1.9.1 - August 17th, 2011
* Fixes
- "airtime-user" shell script failing to start
- Progress bar for tracks appearing when no content scheduled
- Fix upgrades from Airtime 1.8.2 failing
- Fix various install issues with virtualenv
- Prevent users from doing a manual install of Airtime if they already have
the Debian package version installed
* Changes
- Support Settings moved to a separate page accessible by Admin user only.
1.9.0 - August 9, 2011
The cool stuff:
* New file storage system.
- Human-readable file structure. The directory structure and file names on
disk are now human-readable. This means you can easily find files using
your file browser on your server.
- Magic file synchronization. Edits to your files are automatically
noticed by Airtime. If you edit any files on disk, such as trimming the
length of a track, Airtime will automatically notice this and adjust the
playlist lengths and shows for that audio file.
- Auto-import and multiple-directory support. You can set any number of
directories to be watched by Airtime. Any new files you add to watched
directories will be automatically imported into Airtime, and any deleted
files will be automatically removed.
- The "airtime-import" command line tool can now set watched directories
and change the storage directory.
- Graceful recovery from reboot. If the playout engine starts up and
detects that a show should be playing at the current time, it will skip
to the right point in the track and start playing. Previously, Airtime
would not play anything until the next show started. This also fixes a
problem where the metadata on the stream was lost when a file had
cue-in/out values set. Thanks to the Liquidsoap developers for
implementing the ability to do all of this!
- Output to Shoutcast. Now both Shoutcast and Icecast are supported.
- A new "Program Manager" role. A program manager can create shows but
can't change the preferences or modify users.
- No more rebooting after install! Airtime now uses standard SystemV initd
scripts instead of non-standard daemontools. This also makes for a much
faster install.
- Frontend widgets are much easier to use and their theme can be modified
with CSS (Click here for more info and installation instructions).
- Improved installation - only one command to install on Ubuntu!
* Improvements:
- Cumulative time shown on playlists. The Playlist Builder now shows the
total time since the beginning of the playlist for each song.
- "End Time" instead of "Duration". In the Add/Edit Show dialog, we
replaced the "Duration" field with "End Time". Users reported that this
was a much more intuitive way to schedule the show. Duration is still
shown as a read-only field.
- Feedback & promotion system. Airtime now includes a way to send feedback
and promote your site on the Sourcefabric web page. This will greatly
enhance our ability to understand who is using the software, which in
turn will allow us to make appropriate features and receive grant
funding.
- The show recorder can now instantly cancel a show thanks to the use of
RabbitMQ.
- Only admins have the ability to delete files now.
- The playout engine now runs with a higher priority. This should help
prevent any problems with audio skipping.
- Airtime has been contained. It is now easier to run other apps on the
same system with Airtime because it no longer messes with the system-wide
Python or PHP configurations. The python libraries needed for Airtime are
now contained in a local Python virtualenv, and the PHP config variables
are set in the Apache virtualhost and .htaccess files.
- Message indicating import status is now displayed on Playlist Builder
page( above the search box).
* Bug fixes:
- Fixed bug where you couldn't import a file with a name longer than 255
characters.
- Fixed bug where searching an audio archive of 15K+ files was slow.
- Fixed bug where upgrading from more than one version back
(e.g. 1.8.0 -> 1.9.0) did not work.
- Fixed bug where the wrong file length was reported for very large CBR
mp3 files (thanks to mutagen developers for the patch!)
1.8.2 - June 8, 2011
Highlights:
* Improvements:
- You can now download audio files from the search screen and from the "Show
Content" screen.
- The "Now Playing" screen now shows whether a show is being recorded.
- In the "Playlist Builder" screen, you can now edit the title of the
playlist and the description inline, without having to switch to another
page.
- When you click on "Add Show", the cursor is placed on the show title field
and a default name is automatically filled in.
- It is now possible to cancel a show that was recording.
- An new command-line program was added to verify an installation and help
identify where problems are: "airtime-check-system"
- Airtime now runs on Ubuntu 11.04 (though we do not offer support for
this).
* Bug fixes:
- Fixed serious problem with the upgrading and installing process. The
Airtime install will now automatically detect if you should upgrade or
install and take the appropriate action. Reinstalls cannot happen except
by using a specific command.
- "Show Contents" screen will now display properly on smaller screens.
- Install/uninstall now works on Debian without needing the "sudo" command.
- Editing a playlist name or deleting a playlist now reflects immediately in
the media search window.
- In the "Add Media" page, the "start upload" button vanished after upload.
Now it remains there after upload so it is possible to upload again.
- When canceling a playing show, the currently playing audio file still
showed as playing. This has been fixed.
- Audio files greater than 100MB were not being played.
- Fixed uploading audio on Chrome 11 and higher
- Fixed various editing show problems
- Fixed airtime-pypo-stop/start causing playback problems
- Fixed incorrect information being occasionally shown in the top panel
- Fixed problem with Record Check box occasionally being greyed-out when
creating new show
- Fixed a problem with default genre not being applied to recorded shows
- Fixed a problem where shows repeating bi-weekly or monthly did not update
properly when edited.
- Fixed problem when a user changed the name of a recorded show right before
it started playing would cause the recorded audio not to be linked to the
show.
- and many more...
1.8.1 - May 2, 2011
* Fixed issue where an track's progress bar would keep updating, even if the
track was no longer playing.
* Fixed problem where editing a show would only update some of the show
instances.
* Fixed an issue related to editing a show that had instances scheduled in the
past.
* airtime-clean-storage command-line utility should now work properly
* Fixed an issue related the "airtime-import" command-line utility
* Fixed an issue with the Airtime Debian package overwriting configuration
files
* Fixed some database install issues on Debian
* Fixed an issue with show names and foreign characters causing the show to
not start (temporarily disabled allowing the usage of these characters)
1.8.0 - April 19, 2011
* The biggest feature of this release is the ability to edit shows. You can
change everything from 'Name', 'Description', and 'URL', to repeat and
rebroadcast days. Show instances will be dynamically created or removed as
needed. Radio stations will be pleased to know they can now have up to
ten rebroadcast shows too.
* Airtime's calendar now looks, feels and performs better than ever. Loading
a station schedule is now five to eight times faster. In our tests of 1.7,
if the month calendar had shows scheduled for every hour of every day, it
used to take 16 seconds to load. Now in 1.8 it takes two seconds.
* It is possible to have up to ten rebroadcast shows now, in 1.7 it was only
up to five.
* Airtime's new installation script has two options for increased install
flexibility: --preserve to keep your existing config files, or --overwrite
to replace your existing config files with new ones. Uninstall no longer
removes Airtime config files or the music storage directory.
* New improved look & feel of the calendar (thanks to the "FullCalendar"
jQuery project).
* Installation now puts files in standard locations in the Linux file
hierarchy, which prepares the project to be accepted into Ubuntu and Debian.
Also because of our wish to be part of those projects, the default output
stream type is now OGG instead of MP3 -- due to MP3 licensing issues.
This configuration can be changed in "/etc/airtime/liquidsoap.conf".
* You now have the ability to start and stop pypo and the show recorder from
the command line with the commands "airtime-pypo-start",
"airtime-pypo-stop", "airtime-show-recorder-start", and
"airtime-show-recorder-stop".
* Bug fixes:
- CC-2192 Schedule sent to pypo is not sorted by start time.
- CC-2175 Overbooking: Cut off shows when they are done
- CC-2174 Need formatting and a warning icon for the message for overbooking
a show
- CC-2039 Upload file: file name cropped
- CC-2177 Schedule editing does not work under Firefox 4
1.7.0 - April 4, 2011
* Recording and automatic scheduling/broadcasting of live shows
- Recording/rebroadcast status of a show is shown in "Now Playing" and
"Calendar"
- Can rebroadcast a show at multiple times and dates
* Automatic upload of recorded shows to Soundcloud
* Frontend JQuery widgets for public-facing websites to show your visitors
what's playing and the upcoming schedule.
* Ability to over-book a show and automatically cut and fade out song if it
goes beyond the show time
* Ability to delete audio files
* Ability to cancel the currently playing show
* Any changes to the schedule are immediately seen by the playout engine
- In version 1.6, you had to make sure that your show was ready to go 30
seconds before it started.
* Upgrade support (should be able to upgrade from any version, unlike 1.6.1
which required an uninstall of 1.6.0 first)
* "Now Playing" list view:
- audio items are now grouped by show.
- If a show is not fully scheduled, the user is notified how many seconds of
silence are at the end of the show in this View.
- Audio items that play past the show's end time have a visual notification
that they will be cut off
* Ability to change metadata tag display format for web streams
* Config files moved to /etc/airtime. This means all config files are in one
convenient location and separated from the code, so you can upgrade your
code independently of your config files.
* Redesign of Preferences screen
* Bug fixes:
- CC-2082 OGG stream dies after every song when using MPlayer
- CC-1894 Warn users about time zone differences or clock drift problems on
the server
- CC-2058 Utilities are not in the system $PATH
- CC-2051 Unable to change user password
- CC-2030 Icon needed for Cue In/Out
- CC-1955 Special character support in the library search
1.6.1 - Feb 23, 2011
Bug fixes:
* CC-1973 Liquidsoap crashes after multi-day playout
* CC-1970 API key fix (Security fix) - Each time you run the install scripts,
a new API key is now generated.
* CC-1992 Editing metadata goes blank on 'submit'
* CC-1993 ui start time and song time unsynchronized
1.6.0 - Feb 14, 2011
First official version of Airtime.

View File

@ -1 +0,0 @@
include README.rst

View File

@ -0,0 +1,63 @@
# airtime-celery
airtime-celery is a [Celery](http://www.celeryproject.org/) daemon for handling backend tasks asynchronously.
Communication and the Celery results backend are both handled with amqp (RabbitMQ).
# Installation
```sh
sudo python setup.py install
```
Each instance of airtime-celery has its own worker, and multiple instances can be run in parallel.
[Celery is thread-safe](http://celery.readthedocs.org/en/latest/userguide/application.html), so this parallelization won't cause conflicts.
# Usage
This program must be run with sudo:
```sh
sudo service airtime-celery {start | stop | restart | graceful | kill | dryrun | create-paths}
```
# Developers
To debug, you can run celery directly from the command line:
```sh
cd /my/airtime/root/python_apps/airtime-celery
RMQ_CONFIG_FILE=${LIBRETIME_CONF_DIR}/airtime.conf celery -A airtime-celery.tasks worker --loglevel=info
```
This worker can be run alongside the service without issue.
You may want to use the setuptools develop target to install:
```sh
cd /my/airtime/root/python_apps/airtime-celery
sudo python setup.py develop
```
You will need to allow the "airtime" RabbitMQ user to access all exchanges and queues within the /airtime vhost:
```sh
sudo rabbitmqctl set_permissions -p /airtime airtime .\* .\* .\*
```
# Logging
By default, logs are saved to:
```
/var/log/airtime/airtime-celery[-DEV_ENV].log
```
# Troubleshooting
If you run into issues getting Celery to accept tasks from Airtime:
1. Make sure Celery is running ($ sudo service airtime-celery status).
2. Check the log file (/var/log/airtime/airtime-celery[-DEV_ENV].log) to make sure Celery started correctly.
3. Check your $LIBRETIME_CONF_DIR/airtime.conf rabbitmq settings. Make sure the settings here align with $LIBRETIME_CONF_DIR/$ENVIRONMENT/rabbitmq.ini.
4. Check RabbitMQ to make sure the celeryresults and task queues were created in the correct vhost.
5. Make sure the RabbitMQ user (the default is airtime) has permissions on all vhosts being used.

View File

@ -1,65 +0,0 @@
airtime-celery
==============
airtime-celery is a Celery_ daemon for handling backend tasks asynchronously.
Communication and the Celery results backend are both handled with amqp (RabbitMQ).
Installation
============
$ sudo python setup.py install
Each instance of airtime-celery has its own worker, and multiple instances can be run in parallel.
`Celery is thread-safe`_, so this parallelization won't cause conflicts.
.. _Celery: http://www.celeryproject.org/
.. _Celery is thread-safe: http://celery.readthedocs.org/en/latest/userguide/application.html
Usage
=====
This program must be run with sudo:
$ sudo service airtime-celery {start | stop | restart | graceful | kill | dryrun | create-paths}
Developers
==========
To debug, you can run celery directly from the command line:
$ cd /my/airtime/root/python_apps/airtime-celery
$ RMQ_CONFIG_FILE=${LIBRETIME_CONF_DIR}/airtime.conf celery -A airtime-celery.tasks worker --loglevel=info
This worker can be run alongside the service without issue.
You may want to use the setuptools develop target to install:
$ cd /my/airtime/root/python_apps/airtime-celery
$ sudo python setup.py develop
You will need to allow the "airtime" RabbitMQ user to access all exchanges and queues within the /airtime vhost:
$ sudo rabbitmqctl set_permissions -p /airtime airtime .\* .\* .\*
Logging
=======
By default, logs are saved to:
/var/log/airtime/airtime-celery[-DEV_ENV].log
Troubleshooting
===============
If you run into issues getting Celery to accept tasks from Airtime:
1) Make sure Celery is running ($ sudo service airtime-celery status).
2) Check the log file (/var/log/airtime/airtime-celery[-DEV_ENV].log) to make sure Celery started correctly.
3) Check your $LIBRETIME_CONF_DIR/airtime.conf rabbitmq settings. Make sure the settings here align with
$LIBRETIME_CONF_DIR/$ENVIRONMENT/rabbitmq.ini.
4) Check RabbitMQ to make sure the celeryresults and task queues were created in the correct vhost.
5) Make sure the RabbitMQ user (the default is airtime) has permissions on all vhosts being used.

View File

@ -1 +0,0 @@
include README.rst

View File

@ -0,0 +1,15 @@
# LibreTime Playout
## History
This tool was born out of a collaboration between Open Broadcast and Sourcefabric.
The authors of the code are:
Original Authors:
- Jonas Ohrstrom <jonas@digris.ch>
- Paul Baranowski <paul.baranowski@sourcefabric.org>
- James Moon <james.moon@sourcefabric.org>
Almost a complete refactor/rewrite by: Martin Konecny <martin.konecny@gmail.com>

View File

@ -1,10 +0,0 @@
This tool was born out of a collaboration between Open Broadcast
and Sourcefabric. The authors of the code are:
Original Authors:
Jonas Ohrstrom <jonas@digris.ch>
Paul Baranowski <paul.baranowski@sourcefabric.org>
James Moon <james.moon@sourcefabric.org>
Almost a complete refactor/rewrite by: Martin Konecny <martin.konecny@gmail.com>

View File

@ -1,674 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@ -19,8 +19,6 @@ setup(
license="AGPLv3",
packages=[
"pypo",
"pypo.media",
"pypo.media.update",
"liquidsoap",
],
package_data={"": ["**/*.liq", "*.cfg", "*.types"]},

18
scripts/Makefile Normal file
View File

@ -0,0 +1,18 @@
.PHONY: lint test
.ONESHELL:
SHELL := bash
CPU_CORES := $(shell nproc)
all: lint test
venv:
python3 -m venv venv
source venv/bin/active
pip install -r requirements-dev.txt
lint: venv
pylint scripts
test: venv
pytest -n ${CPU_CORES} --color=yes -v .

3
scripts/README.md Normal file
View File

@ -0,0 +1,3 @@
# Scripts
This folder contains scripts/tools to manage the project.

View File

@ -0,0 +1,3 @@
pylint
pytest
pytest-xdist