Commit Graph

203 Commits

Author SHA1 Message Date
Naomi Aro 71d853567e CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
selecting a mode to prevent some cases where a duplicate could be entered for only 1 file.
2011-06-10 16:43:30 +02:00
Naomi Aro 79049315c7 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
adding way to change user to pypo
2011-06-09 17:50:51 +02:00
Naomi Aro 2900ef4bb1 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
change for proper file permissions on directories created.
2011-06-09 15:17:17 +02:00
Naomi Aro a4b92fe72d CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
regression testing with refactored storedfile, having permission problems unlinking a file.
2011-06-09 11:50:03 +02:00
Naomi Aro 1f9a39f22d CC-1799Put Airtime Storage into a Human Readable File Naming Convention
new API method to check media status.
2011-06-09 10:28:56 +02:00
martin 8d3b99e440 cc-2055: switch to init.d
-fixed pypo hanging if it was started before rabbitmq.
2011-06-08 14:26:19 -04:00
martin 8a2930b996 -fixed indentation python error in media-monitor 2011-06-08 13:45:58 -04:00
Naomi Aro 16cfae10ed CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
working on proper length saving. need to fix substring method to ensure all get same number of subseconds to be consistent.
2011-06-08 19:33:16 +02:00
martin 50ff1984f2 -python interpreter exceptions are now redirected to a file so
we can see messages related to indentation errors etc. File should
 be useful for devel purposes only.
-a merge with the 1.8.2 branch incorrectly changed the version string. Fixed.
2011-06-08 12:33:38 -04:00
Naomi Aro 11d18ad8e8 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
can drag a bunch of songs into stor, and they are organized and imported to airtime. Need to fix length property.
2011-06-08 18:24:17 +02:00
Naomi Aro 69b4847df3 Merge branch 'cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention' of dev.sourcefabric.org:airtime into cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention
Conflicts:
	python_apps/media-monitor/MediaMonitor.py
2011-06-08 10:23:52 +02:00
Naomi Aro 975f001c86 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
refactoring Storedfile
2011-06-08 10:15:35 +02:00
martin 6e35a77268 CC-2376: pypo-push thread sys.exits when exception is raised. 2011-06-07 16:54:38 -04:00
martin 7d51a04082 CC-2375: Liquidsoap cannot access the ALSA device
-fixed
2011-06-07 14:34:14 -04:00
Naomi Aro 3c689efe06 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
check if file is new or exists
2011-06-07 10:39:57 +02:00
Naomi Aro fb117fb617 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention 2011-06-07 10:36:36 +02:00
Naomi Aro 2e03698f02 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
adding ability to drag music into stor folder.
2011-06-07 10:35:01 +02:00
Naomi bd2859dc1b CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
searching database by filename to retrieve file.
Checking if is supported audio file/temp audio file.
2011-06-07 10:25:47 +02:00
Naomi Aro f46cdd3888 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-06-07 10:00:22 +02:00
martin 61d80b4710 Merge branch '1.8.2' into devel 2011-06-06 20:11:11 -04:00
james 4247f8c7a7 CC-2362:Recorded show wrong file name
- not finished yet. Temp commit
2011-06-06 14:10:12 -04:00
Naomi Aro a370a4e812 Merge branch 'cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention' of dev.sourcefabric.org:airtime into cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention
Conflicts:
	python_apps/media-monitor/MediaMonitor.py
2011-06-06 11:36:47 +02:00
Naomi Aro 850701a9bb CC-1799 Put Airtime Storage into a Human Readable File Naming Convention 2011-06-06 11:26:16 +02:00
Naomi Aro bd5e5be981 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
adding ability to drag music into stor folder.
2011-06-06 11:26:16 +02:00
Naomi c30eeaf5bd CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
searching database by filename to retrieve file.
Checking if is supported audio file/temp audio file.
2011-06-06 11:26:15 +02:00
Naomi Aro cb2ca87516 Merge branch 'cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention' of dev.sourcefabric.org:airtime into cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention
Conflicts:
	python_apps/media-monitor/MediaMonitor.py
2011-06-06 11:22:40 +02:00
Naomi Aro 7c65623477 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention 2011-06-06 11:06:34 +02:00
Naomi Aro f271f31ad8 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
adding ability to drag music into stor folder.
2011-06-06 10:53:58 +02:00
Naomi 6dfad55b89 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
searching database by filename to retrieve file.
Checking if is supported audio file/temp audio file.
2011-06-06 10:53:58 +02:00
martin f97cd4d635 -remove apache2 as a daemon start prerequisite since apache may be remote. 2011-06-03 17:40:58 -04:00
martin f6ae2aaa91 cc-2055: switch to init.d
-enabled media-monitor in the installs scripts.
2011-06-03 11:30:08 -04:00
Martin Konecny 7e0db3b76c cc-2055: switch to init.d
-fix recorder not starting after upgrade
2011-06-02 18:07:48 -04:00
martin 48e05e4b7f cc-2055: switch-to-init.d
-return proper return value when exception is raised in recorder.py
2011-06-02 18:07:48 -04:00
Martin Konecny 963351c6f2 cc-2055: switch-to-init.d
-fix error where python would quit inside an exception due to
 out of bounds array index
2011-06-02 18:07:48 -04:00
martin d516b963e4 cc-2055: switch to init.d
-initial upgrade script
2011-06-02 18:07:48 -04:00
martin 4c9c86bf4f cc-2055: switch to init.d
-remove update-rc.d on uninstall
-remove unecessary imports in install/uninstall scripts
-all daemons now wait until apache2 is available before starting (LSB Init Script)
2011-06-02 18:07:48 -04:00
martin 6ab5ac4582 cc-2055: switch to init.d
-allow install script to be created from any location (no hardcoded paths)
-make python install scripts return 1 on error
-daemon now started automatically on boot using rc.local autostart
-change all prints to logs instead
-create airtime-uninstall shell script (and remove pypo user in here)
-create pypo user in shell script
2011-06-02 18:07:48 -04:00
martin 079d9d36b0 cc-2055: switch to init.d
-fix uninstall scripts
-make daemon script for media-monitor and show-recorder
-create pid file for liquidsoap
-fix airtime-check-system
-make sure all startup scripts are using exec
2011-06-02 18:07:47 -04:00
martin 79e24e5af5 cc-2055: switch to init.d
-Change all python apps to log directly to file
-change airtime-pypo to airtime-playback
-fix airtime install started/completed message bumpers
2011-06-02 18:07:47 -04:00
martin c05c2f1e28 cc-2055: switch to init-d
-fix daemon being able to start multiple times
-make airtime-install shell script to call installers seperately
-
2011-06-02 18:07:47 -04:00
martin 5803635d50 cc-2055: switch to init.d
-disable daemon from starting twice
2011-06-02 18:07:47 -04:00
james 0492ba79c7 CC-2277:Rename airtime-pypo to airtime-playout 2011-05-30 15:46:13 -04:00
martin 6cc334f55f -updated version string number 2011-05-30 11:52:47 -04:00
martin 4eb8a7f394 CC-2325: no audio after running airtime-pypo-stop/start
-seems to work after re-enabling multilog.
2011-05-27 15:51:09 -04:00
Martin Konecny e8dab2340a CC-2320: liquidsoap.cfg vorbis metadata value does not effect the stream.
-fixed
2011-05-25 13:58:50 -04:00
Martin Konecny 05e02f6081 -fix hanging of pypo at system boot. 2011-05-24 20:31:05 -04:00
Naomi b84854c13c CC-2271 1.8.2 code cleanup tasks
changing 1.8.1 upgrade script to using raw source first.
2011-05-19 09:59:13 -04:00
martin 3416ba20d9 cc-2263: unable to cancel recording show
-made cancelled recorded shows still upload.
2011-05-18 14:33:42 -04:00
martin a48f467de7 cc-2263: unable to cancel recording show.
-almost final check-in. Everything looks good right now...
2011-05-18 14:33:41 -04:00
martin cf3e525a0f cc-2278: show-recorder not working under natty.
-Now works under natty. Needs to be tested on 10.04 and 10.10!
2011-05-17 13:43:35 -04:00
martin 9afab251c5 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-05-17 11:55:27 -04:00
martin 35e617911b -show which process id is being shutdown when calling airtime-xxx-stop 2011-05-17 11:55:16 -04:00
Naomi 188f065f4f CC-2256 Airtime-upgrade.php does not upgrade the web app
need to check only a substring of the version constant.
2011-05-17 11:33:22 -04:00
Naomi 70355cc364 CC-2256 Airtime-upgrade.php does not upgrade the web app
trying to fix daemontools upgrade problems
2011-05-17 11:33:22 -04:00
Naomi 3f43c39f41 CC-2256 Airtime-upgrade.php does not upgrade the web app
changing to version 1.8.2
2011-05-17 11:33:22 -04:00
Naomi ea1b254ebd CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
searching database by filename to retrieve file.
Checking if is supported audio file/temp audio file.
2011-05-13 18:03:34 -04:00
martin 84bf12627c -Hide error messages from CREATE USER and CREATE DATABASE
-Move airtime version string into "constant"
2011-05-13 16:47:58 -04:00
martin c2960e9c2a -Fix unbound "response" variable when pypo got 404 error
-Sleep for few seconds after failing is_server_compatible instead of
exiting and instantly being awoken by daemon tools (less stuff in log
files)
-removed some useless try/except blocks
2011-05-13 16:08:04 -04:00
martin f7b2c04aba cc-2241 20 second delay natty
-added special liquidsoap binaries for natty
2011-05-13 13:26:40 -04:00
Naomi 13faeabf32 show recorder daemon uses logging instead of print statements. 2011-05-13 13:26:40 -04:00
Martin Konecny 6a3c3bc334 -replace sudo with setuidgid in media-monitor 2011-05-13 13:25:55 -04:00
naomiaro c191bc906f CC-1799 - Live Studio Playout from media library (pytagsfs)
dealing with programs that modify a file by using a tmp file.
2011-05-13 13:25:55 -04:00
naomiaro 306712fdc1 CC-1799 : Live Studio Playout from media library (pytagsfs)
need to add pypo to www-data group
2011-05-13 13:25:55 -04:00
naomiaro a3d7c5e70b CC-1799 : Live Studio Playout from media library (pytagsfs)
metadata almost working from airtime form -> python daemon. Just need to look into permissions for some stor folders.
2011-05-13 13:25:55 -04:00
Naomi 5be039d349 CC-1799 : Live Studio Playout from media library (pytagsfs)
if a tag is edited by easytag, the change is now reflected in airtime database.
2011-05-13 13:25:55 -04:00
naomiaro dbcfabfb76 CC-1799: Live Studio Playout from media library (pytagsfs)
using mutagen to get audio tags
2011-05-13 13:25:54 -04:00
Naomi 75d0229d39 CC-1799 : Live Studio Playout from media library (pytagsfs)
switching to using mutagen to get audio metadata (used by pytagsfs)
passing gunid of file to locate it in airtime
2011-05-13 13:25:54 -04:00
naomiaro 90e0a739f5 rebasing branch 2011-05-13 13:25:54 -04:00
Naomi 054ecee00a CC-1799 : Live Studio Playout from media library (pytagsfs) 2011-05-13 13:25:54 -04:00
Naomi 15a2022418 CC-1799 : Live Studio Playout from media library (pytagsfs)
sending a file's metadata to airtime when it is modified
2011-05-13 13:25:53 -04:00
Naomi 52efc79f8c CC-1799 : Live Studio Playout from media library (pytagsfs)
set up daemontools process for the media monitor script.
2011-05-13 13:25:53 -04:00
Naomi e2a521aa37 show recorder daemon uses logging instead of print statements. 2011-05-13 11:25:47 -04:00
Martin Konecny 0beed387c5 -replace sudo with setuidgid in media-monitor 2011-05-12 12:34:30 -04:00
naomiaro 6fbd5112dd CC-1799 - Live Studio Playout from media library (pytagsfs)
dealing with programs that modify a file by using a tmp file.
2011-05-11 11:58:36 -04:00
naomiaro c398b82c68 CC-1799 : Live Studio Playout from media library (pytagsfs)
need to add pypo to www-data group
2011-05-11 11:56:30 -04:00
naomiaro 9c46b0d396 CC-1799 : Live Studio Playout from media library (pytagsfs)
metadata almost working from airtime form -> python daemon. Just need to look into permissions for some stor folders.
2011-05-11 11:56:30 -04:00
Naomi 6834ecca76 CC-1799 : Live Studio Playout from media library (pytagsfs)
if a tag is edited by easytag, the change is now reflected in airtime database.
2011-05-11 11:56:30 -04:00
naomiaro f64a1aae34 CC-1799: Live Studio Playout from media library (pytagsfs)
using mutagen to get audio tags
2011-05-11 11:48:56 -04:00
Naomi 5ba7679284 CC-1799 : Live Studio Playout from media library (pytagsfs)
switching to using mutagen to get audio metadata (used by pytagsfs)
passing gunid of file to locate it in airtime
2011-05-11 11:48:56 -04:00
naomiaro 5bd82cd3d7 rebasing branch 2011-05-11 11:47:41 -04:00
Naomi a3e0ab5a8e CC-1799 : Live Studio Playout from media library (pytagsfs) 2011-05-11 11:44:31 -04:00
Naomi a2b44689b4 CC-1799 : Live Studio Playout from media library (pytagsfs)
sending a file's metadata to airtime when it is modified
2011-05-11 11:44:31 -04:00
Naomi c5ce86bd40 CC-1799 : Live Studio Playout from media library (pytagsfs)
set up daemontools process for the media monitor script.
2011-05-11 11:44:31 -04:00
martin dd1a9c3de7 -fix regression with show-recorder not starting. 2011-05-10 20:19:39 -04:00
mkonecny b9c1f7356f CC-2250: airtime-pypo-stop doesnt work
-fixed
2011-05-05 23:18:24 -04:00
mkonecny 3eafdeef5d CC-2215: Add ability to enable metadata for ogg streams
-done
2011-05-05 17:15:58 -04:00
mkonecny ed0f24831d CC-2239-remove-sudo
-done! Replaced with su
2011-05-04 17:39:19 -04:00
martin 0f209d9f00 -liquidsoap-i386 compiled under 64-bit machine by mistake :/. Fixed. 2011-05-02 18:16:45 -04:00
martin 8e2019a935 cc-2182: Convert back to restful design
-done
2011-05-02 16:33:37 -04:00
martin 9e01e389ea cc-2182: convert back to restful design
-initial commit
2011-05-02 15:33:32 -04:00
martin b3beab1dbd CC-2216: Update to latest liquidsoap binaries
-Done
2011-04-29 17:11:31 -04:00
martin f1a314aa0a -update version string number for pypo 2011-04-22 01:05:47 -04:00
Naomi a9d6bc3db5 CC-1799 : Live Studio Playout from media library (pytagsfs)
starting python script using pyinotify
2011-04-21 17:37:59 -04:00
martin 171828f8ad CC-2186: Integration of a logger tool
-initial check-in. Everything appears to be working...
2011-04-20 00:46:03 -04:00
martin c1dd1e7415 CC-2198: airtime-pypo-stop airtime-pypo-start are ineffective
-fixed
2011-04-18 14:51:44 -04:00
Paul Baranowski 173d82007f CC-2166 Packaging improvements
Added command line options to the install process to overwrite or
preserve the existing config files.

Added the pypo-start/stop and recorder-start/stop symlinks to /usr/bin.

Renamed pypo-start.py to airtime-pypo-start.
Renamed pypo-stop.py to airtime-pypo-stop.
Renamed recorder-start.py to airtime-show-recorder-start.
Renamed recorder-stop.py to airtime-show-recorder-stop.

Renamed testrecordscript.py to recorder.py
2011-04-15 18:23:51 -04:00
Paul Baranowski 6d39af6fb9 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	dev_tools/pr.sh
2011-04-15 14:46:07 -04:00
Paul Baranowski aab1ad16e1 CC-2166 : Packaging improvements
Fixed paths for pypo and the show recorder.

Pypo and the show recorder now read their paths from the INI files.
Note that liquidsoap and shell scripts do not yet read from the
INI files, and so that paths are hard-coded in those places.

On uninstall, no longer deleting INI files and the STOR directory.
Included a note to remove those by hand if they want them gone.

Fixed some bugs where not all directories were removed on uninstall.

Fixed bugs in the Show Recorder install where it was adding directories
that it didnt need.
2011-04-15 14:45:10 -04:00
Naomi 4814d90824 CC-2157 : Enable OGG streams by default, not MP3, due to lame distribution problems 2011-04-15 12:14:49 -04:00
Naomi 379e70ff23 CC-2169 : All logging should go to /var/log
pypo-liquidsoap log now in its folder
2011-04-14 17:16:50 -04:00