Commit Graph

416 Commits

Author SHA1 Message Date
martin 0c1f75f01e Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-11 16:14:53 -04:00
martin 2c4e2afb8b -removed airtime-clean-storage.php + airtime-import.php
-default created stor dir now has www-data:www-data permission
-created airtime-install.ini file for specifying install defaults
-removed all references to storDir in /etc/airtime/airtime.conf,
 and get value from database instead.
2011-07-11 16:14:34 -04:00
james 5095cae0f3 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-11 15:45:26 -04:00
james dc2dd3eb97 CC-2514:New airtime-import script
- on -c, -copy, -l, -link, following msg will be displayed

james@james-P35-DS3L:~/src/airtime/python_apps$ python airtime-import.py -l sdfdf
usage: airtime-import.py [-h] [-c] [-l] {move,storage-dir,copy,watch} ...

This script let you do following operations
- import files
- add/remove/list watch folders
- set default storage folder

positional arguments:
  {move,storage-dir,copy,watch}
                        sub-command help
    copy                copy file
    move                move file
    watch               operations on watch directory
    storage-dir         operations on storage directory

optional arguments:
  -h, --help            show this help message and exit
  -c, --copy            copy file(deprecated. Use "copy" sub-command)
  -l, --link            link file(deprecated. Use "watch" sub-command)
james@james-P35-DS3L:~/src/airtime/python_apps$
2011-07-11 15:45:07 -04:00
martin 2659932cfb -added new exception for when apache isn't responding 2011-07-11 14:44:23 -04:00
martin 8bfb7c1afe Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-11 14:24:23 -04:00
martin a8b3745bf4 -found another unicode encoding error
-code cleanup
2011-07-11 14:24:08 -04:00
james e5baf19c71 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-11 14:01:12 -04:00
james e47f80802e CC-2524:MusicDir.php: adding error handling
- following functions now handle error and return code and
error message if there is an error:
addDir(), setStorDir(), removeWatchedDir()
- fixed airtime-importy.py to work with new MusicDir functions
2011-07-11 14:00:31 -04:00
martin 66115de5ea Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-11 12:21:52 -04:00
martin ed41969f0e -touch index file after each inotify event
-make sure to normalize all paths, since we are string comparing them
-remove all empty dirs after moving files out of them
2011-07-11 12:21:30 -04:00
james ece84a04c5 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-08 17:46:50 -04:00
james 6ad3bb306e CC-2514:new-airtime-import-script
- changing set-storage-dir command to storage-dir
- adding sub command 'set' and 'get'
2011-07-08 17:46:07 -04:00
james c0a68e20c2 CC-2514:New airtime-import script
- initial commit.
2011-07-08 17:14:01 -04:00
martin 98173d5e53 CC-2480: media-monitor needs to ensure permissions before importing
-fixed
2011-07-08 17:03:49 -04:00
martin 04e4eb7fc1 CC-2523: Media monitor doesn't import audio tracks hidden in folders
which were copied to

-fixed
2011-07-08 16:01:11 -04:00
martin 80115856ba -use alsa as default output for liquidsoap 2011-07-08 12:21:36 -04:00
martin 012aa51f3a CC-2272: Ability to change storage directory location
-fix SQL syntax error
2011-07-08 10:12:33 -04:00
martin 9d994aa225 -compare relative paths instead of full paths on bootup 2011-07-07 17:41:08 -04:00
martin 73da294089 CC-2505: Media monitor doesn't delete some tracks
from the Airtime server due character encoding

-fixed
2011-07-07 16:05:34 -04:00
martin 75e9ecf985 CC-2272: Ability to change storage directory location
make sure imported and organize dirs are created
2011-07-06 15:58:49 -04:00
martin 67df619c90 CC-2272: Ability to change storage directory location
-done
2011-07-06 14:42:43 -04:00
martin 3d52db5211 CC-2494: Uploading songs getting a 500 error (shows as yellow ! in the UI)
-fixed
-also made it so that files deleted via the UI are deleted on the FS as well.
2011-07-06 13:54:52 -04:00
martin d23a6ef0fe -liquidsoap beta2 binaries 2011-07-06 11:40:30 -04:00
martin 3dc1380fab -updated liquidsoap scripts + library to be liquidsoap-beta2 compliant 2011-07-06 11:14:51 -04:00
martin 022b013dd2 CC-2421: Filename formatting tweaks
-cleaned up
2011-07-06 10:29:08 -04:00
martin 7a4fce1167 CC-2497: Media Monitor: doesn't detect some file change
-properly handle changing file extensions in the stor dir.
2011-07-05 19:06:12 -04:00
martin a44a7d71f2 CC-1799 : Live Studio Playout from media library (pytagsfs)
-dont send delete event if file was deleted from "organize" dir.
2011-07-05 18:48:00 -04:00
martin 66b1924968 CC-1799 : Live Studio Playout from media library (pytagsfs)
-things are starting to work nicely...
2011-07-05 18:43:22 -04:00
martin 3424dcc12d CC-1799 : Live Studio Playout from media library (pytagsfs)
-code cleanup
2011-07-05 17:45:56 -04:00
martin 2be05a8004 CC-1799 : Live Studio Playout from media library (pytagsfs)
-code cleanup, refactoring, and files moved from a watched-dir
 to a non-watched dir are now properly handled
2011-07-05 15:48:50 -04:00
martin 275dfd0cd0 -clean up comments.. 2011-07-04 19:01:06 -04:00
martin 0757fda479 cc-2419: media monitor import on startup
-fixed bug related due to pair not being returned (only scalar value returned)
2011-07-04 18:38:16 -04:00
martin 805d3616fe cc-2419: media monitor import on startup
-fixed support for watched dirs #2
2011-07-04 17:59:02 -04:00
martin df1dec2078 cc-2419: media monitor import on startup
-fixed support for watched dirs
2011-07-04 17:37:05 -04:00
martin c67e711a05 cc-2419: media monitor import on startup
-fixed syntax errors, added more logging.
2011-07-04 15:40:09 -04:00
martin d260c66abc cc-2419: media monitor import on startup
-added multiple dir support
2011-07-04 15:08:02 -04:00
martin 429d8b234c cc-2419: media monitor import on startup
-new method of querying db on startup.
2011-07-04 14:29:09 -04:00
martin d4e4090429 cc-2419: media monitor import on start
-send removed file list before added file list
2011-06-30 18:07:12 -04:00
martin 0f67db9ed7 cc-2419 media monitor import on start 2011-06-30 18:07:12 -04:00
martin 851d5c12b2 cc-2419: media monitor import on start
-files importing working...
2011-06-30 18:07:12 -04:00
martin 778b645a69 CC-2419: Media monitor does not import files that already existed in /srv/airtime/stor
-work in progress
2011-06-30 18:06:43 -04:00
martin 397007efee cc-2419: media monitor import on start
-initial check-in
2011-06-30 18:06:07 -04:00
martin 4f804b17c7 cc-2419: media monitor import on start
-initial check-in
2011-06-30 18:05:19 -04:00
martin 4ab7523a84 CC-2419: Media monitor does not import files that already existed in /srv/airtime/stor
-work in progress
2011-06-30 18:03:44 -04:00
martin 3335ff703a cc-2419: media monitor import on start
-initial check-in
2011-06-30 18:03:43 -04:00
martin 89dd251782 cc-2419: media monitor import on start
-initial check-in
2011-06-30 18:02:58 -04:00
Naomi Aro ee92c5cfb4 cc-1799 : Filesystem
notifier doesn't need to be made a daemon.
2011-06-29 10:46:46 +02:00
martin 7e1dbf8085 -fix exception when rabbitmq wasnt started before media-monitor 2011-06-28 22:09:25 -04:00
martin 3b6723246f -make main thread not exit after spawning new processes 2011-06-28 13:38:34 -04:00
martin e8c36be242 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-06-28 12:50:15 -04:00
martin 00910ae346 -clean up imports in MediaMonitor.py 2011-06-28 12:50:05 -04:00
Naomi Aro 33a247c4de cc-1799 : Filesystem
handling replacing of files in gui, need to handle closing down processes on exit.
2011-06-28 18:40:38 +02:00
Naomi Aro 0111fd5725 cc-1799 : Filesystem
incorrect variable.
2011-06-28 15:04:03 +02:00
Naomi Aro 164c06a5e5 CC-2441 : media-monitor exception on import, cancels all importing
checking if file md fails.
2011-06-28 14:34:16 +02:00
Naomi Aro 4eff714f32 cc-1799 : Filesystem
huge speed increase with multi processes.
2011-06-28 12:42:06 +02:00
Naomi Aro 4c8e6a04ac cc-1799 : Filesystem
running Notifier as a daemon, allows parallel processing of event queue at all times.
2011-06-28 11:39:54 +02:00
martin 1b2800564b CC-2459: Multiple instances of media-monitor running after it is shutdown.
-fixed
2011-06-27 16:56:20 -04:00
Naomi Aro f3746ff197 cc-1799 : filesystem 2011-06-27 18:30:52 +02:00
martin 10c7c0b5fd CC-2419: Media monitor does not import files that already existed in /srv/airtime/stor
-problem where media-monitor froze on startup if rabbitmq
 wasn't running is fixed (now consistent with pypo)
2011-06-24 15:13:47 -04:00
Naomi Aro 0a78605633 cc-1799 : Filesystem
fixing track formatting if there's no track number.
2011-06-24 18:47:27 +02:00
Naomi Aro b2e52a76c9 CC-2421 : Filename formatting tweaks 2011-06-24 17:41:31 +02:00
Naomi Aro 7e5c514638 CC-2272 : Ability to change storage directory location
copying each thing from the direcotyr separately to avoid overwriting anything that already exists in the new stor.
2011-06-24 16:47:43 +02:00
Naomi Aro a27924451d cc-1799 : Filesystem
fix for watched folders
2011-06-24 15:49:56 +02:00
Naomi Aro 4c3af0b44d cc-1799 : Filesystem
putting in up to 6 subsecond precision
2011-06-24 15:15:53 +02:00
Naomi Aro a376413737 cc-1799 : Filesystem
adding timing, finding request to localhost taking 250-500ms too slow.
2011-06-24 14:50:32 +02:00
Naomi Aro 59a11663cf cc-1799 : Filesystem
avoiding useless calls to airtime about renamed files.
2011-06-24 12:47:26 +02:00
Naomi Aro 3f739458cd CC-2421 : Filename formatting tweaks
padding track numbers with 1 leading zero if 0-9

formatting bitrate 128000 as 128kbps
2011-06-24 11:20:42 +02:00
martin cf54434f5e CC-2435: Recorded show gets manually cancelled
-added 3 second delay before actually cancelling
2011-06-23 16:54:59 -04:00
Naomi Aro 66e73b930d Merge branch 'cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention' into devel 2011-06-23 21:22:20 +02:00
Naomi Aro bae771790a cc-1799 Human Filesystem
editing recording shows so they work with the new filesystem/file upload.
2011-06-23 21:14:09 +02:00
martin ecddb33b09 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-06-23 14:06:10 -04:00
martin 95b69b403b CC-2429: Liquidsoap should be run with higher priority
-On a range of -20 to 20, where -20 gives the highest
 priority, set Liquidsoap nice to -15.
2011-06-23 14:06:02 -04:00
Naomi Aro 65e647263f cc-1799 Human Readable File System
refactoring media monitor, separate process for file event processing.
2011-06-23 17:33:05 +02:00
Naomi Aro cd3b787c66 cc-1799 File System
only adding audio files when adding a watched directory.
2011-06-21 18:05:51 +02:00
Naomi Aro bb283e195a cc-1799 Readable Filesystem
check if md dictionary has any md.
2011-06-21 17:13:33 +02:00
Naomi Aro e803b76fcf CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
removing watch/adding new watch when changing stor directory.
2011-06-21 15:11:42 +02:00
Naomi Aro 6adce1ba45 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
adding ability to move stor directory.
2011-06-21 14:58:38 +02:00
Naomi Aro 253eb811c7 Merge branch 'cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention' into devel
Conflicts:
	airtime_mvc/application/controllers/PreferenceController.php
	airtime_mvc/application/models/Preference.php
	airtime_mvc/application/views/scripts/form/preferences.phtml
	airtime_mvc/public/js/airtime/preferences/preferences.js
2011-06-21 11:20:35 +02:00
Naomi Aro b6888489e0 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
adding music dirs concept to Airtime. New cc_music_dirs table/class.
2011-06-21 10:24:02 +02:00
martin 9e4b4a0e93 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-06-20 17:38:27 -04:00
martin aa56344a29 CC-2410: Clean up install process
-hiding a few more warnings.
2011-06-20 17:38:18 -04:00
Paul Baranowski 1bb2e79a78 CC-2397: Support output to Shoutcast
Simply added some config file variables and added the output type in
the liquidsoap script.
2011-06-20 17:34:16 -04:00
martin fe14113b58 CC-2410: Clean up install process
-reduced number of messages
-got rid of some warnings.
-moved airtime-install.php, airtime-upgrade.php, airtime-uninstall.php
2011-06-20 17:24:12 -04:00
martin 9744507078 -Remove unused logging statements 2011-06-20 16:31:53 -04:00
martin 4d790ac42a CC-2015: On reboot, resume at the current time in the show
-added new liquidsoap binaries with cue-in/cue-out support
-revision hash c3c118e
2011-06-17 16:27:04 -04:00
martin 2e4519f156 Merge branch 'cc-2015-on-reboot-resume-show' into devel
Conflicts:
	python_apps/media-monitor/airtime-media-monitor-init-d
2011-06-17 15:10:33 -04:00
Naomi Aro ea21da6b61 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
recursively copying the audio_samples directory.
2011-06-17 17:54:36 +02:00
martin 948a0e584d -added quotes to all paths in rm -rf statements 2011-06-17 11:16:27 -04:00
martin 2f5a1c4df6 cc-2055: switch to init.d
-monit is now temporarily disabled when intentionally stopped a service
2011-06-16 20:01:37 -04:00
martin ec6db96025 cc-2015: on reboot resume show
-use native capabilities of liquidsoap cue-in cue-out
 for song cue-in/cue-out
2011-06-16 18:59:15 -04:00
martin 662d0ebf85 -create-pypo-user scripts missing an "import sys"
-airtime-uninstall will now quit upon the first error
2011-06-16 17:30:16 -04:00
martin 4facadf521 -remove some symbolic links from /usr/bin. These are now
handled through init.d script
2011-06-16 17:29:05 -04:00
martin e90e6d7c12 cc-2015: on reboot resume show
-liquidsoap is having some problems with cue points right now
 need to check if this is my fault.
2011-06-16 13:26:37 -04:00
martin e5ed11ee51 cc-2015: on reboot resume show
-removed cue file from pypo responibility
2011-06-16 13:26:37 -04:00
martin 0d13b9013b cc-2015: on reboot resume show
-calculating the amount of seconds since track began complete
2011-06-16 13:26:36 -04:00
martin 12ae5a289f cc-2015: on reboot resume show 2011-06-16 13:26:36 -04:00
Naomi Aro 0d8a340924 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
changing class structure.
2011-06-16 11:53:36 +02:00
Naomi Aro 6dc3d4d29a CC-1799 Put Airtime Storage into a Human Readable File Naming Convention 2011-06-15 16:49:05 +02:00
Naomi Aro b4b12449ff CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
can mave a dir in stor and sort files from gui/command line.
2011-06-15 16:41:13 +02:00
Naomi Aro 5b26f34033 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
seems mutagen needs everything cast as a string, or one field. Was throwing an exception with no message not sure.
2011-06-15 14:20:14 +02:00
Naomi Aro d5a3aaf3d0 Merge branch 'cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention' into devel
Conflicts:
	python_apps/media-monitor/MediaMonitor.py
2011-06-15 11:02:23 +02:00
Naomi Aro c06b15b964 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
about to merge, need to test more with blank metadata/change paths according to spec. Should test case about moving to trash from UI.
2011-06-15 09:19:41 +02:00
martin 9cfec2c8ef -reorganized/cleaned up python_apps/pypo directory. 2011-06-14 14:37:09 -04:00
Naomi Aro ff61972e82 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
changing ftype calculation to the python script.
2011-06-14 18:52:43 +02:00
Naomi Aro af4ec7b872 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
plupload is now working how I want with moving files.
stub files are added then their metadata updated as the web receives info.
2011-06-14 18:35:07 +02:00
martin f66305e3d3 cc-2055: switch to init.d
-added monit config file
2011-06-14 12:21:25 -04:00
Naomi Aro 17d895861d CC-1799 Put Airtime Storage into a Human Readable File Naming ConventionPut Airtime Storage into a Human Readable File Naming Convention
put initial stub file in when a user uploads via plupload so they aren't wondering why they don't see anything in their playlist builder. Metadata will be updated when the file event completes.
2011-06-14 12:07:21 +02:00
Naomi Aro 51b1f00ac9 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
starting to better work with renamed files.
2011-06-13 18:38:11 +02:00
martin b6262438bd Merge branch '1.8.2' into devel
Conflicts:
	python_apps/pypo/airtime-liquidsoap
	python_apps/pypo/pypopush.py

-merged RC5/final 1.8.2 to devel
2011-06-13 10:51:09 -04:00
Naomi Aro 84dd5dac62 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
delete is working, can upload from plupload.
2011-06-13 16:41:57 +02:00
Naomi Aro 8a15144dc8 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
experimenting with plupload.
2011-06-13 12:41:30 +02:00
Naomi Aro 8d9c0dab1a CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
adding setup to get stor folder etc.
2011-06-13 12:10:25 +02:00
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