Commit Graph

1874 Commits

Author SHA1 Message Date
Martin Konecny 176dd91e20 use proper parameters for earlier versions of 'timeout' command
-hide warning if older version of timeout doesn't support --version
2013-05-28 16:29:07 -04:00
Martin Konecny 3247c7288d use proper parameters for earlier versions of 'timeout' command
-small typo
2013-05-28 16:21:45 -04:00
Martin Konecny a4ca2deb0f use proper parameters for earlier versions of 'timeout' command
-lucid has timeout with incompatible parameters compared to newer
versions of ubuntu.
2013-05-28 16:18:29 -04:00
Martin Konecny 4c3d2b20db CC-5123 Pypo: Redundant Pypopush happens after restart pypo service
-if does not exist does not work on pre 5.2 monit version
2013-05-28 15:54:31 -04:00
Martin Konecny 66bb1f6d93 CC-5123 Pypo: Redundant Pypopush happens after restart pypo service
-added timeout so that monit doesn't try to start Liquidsoap while
it is already being restarted.
2013-05-28 15:48:15 -04:00
Martin Konecny 82c0fe1088 CC-5123
Pypo: Redundant Pypopush happens after restart pypo service

-added timeout so that monit doesn't try to start Liquidsoap while
it is already being restarted.
2013-05-28 15:24:26 -04:00
Martin Konecny 1130cf961c CC-5049: Error messages on Liquidsoap start up/shut down after Airtime install
-fixed
2013-05-27 13:41:36 -04:00
Martin Konecny ca37ec3aff CC-5049:
Error messages on Liquidsoap start up/shut down after Airtime install

Suppress global warning messages. Clients should decide whether to print
or not.
2013-05-23 17:17:00 -04:00
Martin Konecny 2a897414a4 make operators more local to each queue source
Conflicts:
	python_apps/pypo/liquidsoap_scripts/ls_script.liq
2013-05-23 13:02:50 -04:00
Martin Konecny 8e617b33de add ability to use id's with mksafe operator 2013-05-21 16:31:32 -04:00
Martin Konecny 76a02796b7 implement method stub 2013-05-17 12:16:04 -04:00
Martin Konecny d205b0dbd3 remove string literal 2013-05-17 12:14:33 -04:00
Martin Konecny 59785a952f make up for lack of 'total_seconds()' lib function for pre 2.7 version of python 2013-05-16 12:25:21 -04:00
Martin Konecny d2f29b1f88 more informative message to user about new init.d script behaviour 2013-05-16 12:08:32 -04:00
Martin Konecny 1ab27e3cf8 be more idiomatic 2013-05-15 17:18:42 -04:00
Martin Konecny 95bb5b2f36 CC-5153:
Cancel show won't cut off current song after airtime-playout is restarted

-fixed
2013-05-15 17:18:15 -04:00
Martin Konecny 8545803dbf CC-5126: Media Monitor: Exception happens when cuein value is 00:00:00
-slightly better way of not writing cue-in/cue-out
2013-05-15 13:19:29 -04:00
Martin Konecny 4a82fe2e52 Revert "CC-5126: Media Monitor: Exception happens when cuein value is 00:00:00"
This reverts commit 9ad42b2b2c.
2013-05-15 13:13:37 -04:00
Martin Konecny ba3703b556 Revert "CC-5126:"
This reverts commit a2b500729c.
2013-05-15 13:10:56 -04:00
Martin Konecny 80686b7063 add parameter parsing to airtime-liquidsoap script.
-Allow us to prevent running as daemon
2013-05-15 13:06:16 -04:00
Martin Konecny 9ad42b2b2c CC-5126: Media Monitor: Exception happens when cuein value is 00:00:00
-also removed functions that query for cue-in/cue-out,
since we don't care about these.
2013-05-14 22:26:48 -04:00
Martin Konecny a2b500729c CC-5126:
Media Monitor: Exception happens when cuein value is 00:00:00

-fixed this be ensuring we're not writing cue-in/out values to the file.
This should never have been allowed.
2013-05-14 22:16:30 -04:00
Martin Konecny c693c4b015 remoe id's for mksafe (they aren't supported params) 2013-05-14 15:14:57 -04:00
Martin Konecny a59fc69d17 Merge branch 'master' of dev.sourcefabric.org:airtime 2013-05-14 15:10:13 -04:00
Martin Konecny b3f0a2fcdd CC-5144:
SHOUTcast listener stats auth not working
2013-05-14 15:10:04 -04:00
Martin Konecny 298e5a9b77 better idenfication of which mksafe is being applied 2013-05-13 17:52:43 -04:00
Martin Konecny f5a0d0a9a4 CC-5123:
Pypo: Redundant Pypopush happens after restart pypo service

-was clearing the queue after fetching the schedule :S
2013-05-13 17:52:22 -04:00
Martin Konecny be465be9b2 CC-5133: Make sure Liquidsoap 1.1.1 is used
add missing file
2013-05-13 16:10:21 -04:00
Martin Konecny 85afe53c89 CC-5133: Make sure Liquidsoap 1.1.1 is used
fixed
2013-05-13 15:45:56 -04:00
Martin Konecny 28576adf42 disable liquidsoap's add operator normalizing audio 2013-05-10 23:19:54 -04:00
Martin Konecny d06b2f3f94 CC-5116:
Please add opus into the file name filter

-fixed
2013-05-08 17:06:50 -04:00
Martin Konecny 4dba722272 Merge branch 'master' of dev.sourcefabric.org:airtime 2013-05-08 16:53:42 -04:00
Martin Konecny 56b9d0580f CC-5071:
Better RabbitMQ passwords

-fixed
2013-05-08 15:25:30 -04:00
Martin Konecny f0e846db75 CC-5049: Error messages on Liquidsoap start up/shut down after Airtime install
fixed
2013-05-08 13:47:24 -04:00
Martin Konecny 3ae3c7e802 sanity check to warn if cue_out - cue_in != end - start 2013-05-07 15:05:14 -04:00
Martin Konecny 81b2012a45 remove some overly-verbose logging 2013-05-07 13:25:21 -04:00
Martin Konecny 1895686c85 CC-5098: Liquidsoap: Restart liquidsoap will make the output stream silence until next song starts
-fixed
2013-05-06 16:39:17 -04:00
Martin Konecny 2fc4afef68 ensure a proper environment everytime we restart liquidsoap 2013-05-06 12:11:19 -04:00
Martin Konecny 2eaf81d366 ensure a proper environment everytime we restart liquidsoap 2013-05-06 12:08:57 -04:00
Martin Konecny 3a1048bdec ensure pypo registers with server before doing Liquidsoap check 2013-05-06 11:42:39 -04:00
Martin Konecny ec7eb5f264 CC-5094 Liquidsoap crash if unsupported encoder in the liq script
-keep up with liquidsoap changes
2013-05-04 14:11:21 -04:00
Martin Konecny fdcfc4d06c CC-5094
Liquidsoap crash if unsupported encoder in the liq script
2013-05-04 10:57:22 -04:00
Martin Konecny 6c42064c14 refactor methods into appropriate locations 2013-05-02 18:46:16 -04:00
Martin Konecny 84efb4a9b7 work around to work with annoying static methods - should remove these later.. 2013-05-02 17:59:03 -04:00
Martin Konecny 1e25d786ee Merge branch 'master' of dev.sourcefabric.org:airtime 2013-05-02 17:31:42 -04:00
Martin Konecny f2564cf732 temporarily disable opus + aac until liquidsoap binaries are ready 2013-05-02 16:09:04 -04:00
Martin Konecny 88ba36601f Merge branch 'master' of dev.sourcefabric.org:airtime 2013-05-01 00:37:26 -04:00
Martin Konecny 623a67d6aa CC-5072:
Ensure all api requests are returning valid JSON

-fixed
2013-04-26 18:27:40 -04:00
Martin Konecny 21b84c153a better logging for return values 2013-04-26 17:54:52 -04:00
Martin Konecny 21bed91678 add brackets to force operator precedence 2013-04-26 15:56:48 -04:00
Martin Konecny 49d1755b52 fix incorrect merge 2013-04-26 13:58:44 -04:00
Martin Konecny 705329ee5d cleanup of unecessary code
-we shouldn't be loading config file multiple times.
2013-04-26 13:48:15 -04:00
Martin Konecny 6cc366b100 CC-5069:
Airtime 2.4 upgrade scripts

-initial commit
2013-04-26 13:43:40 -04:00
Martin Konecny 655c1eb5a9 CC-5043:
Invalid literal for float error from mutagen
2013-04-26 11:37:46 -04:00
Martin Konecny 628e075828 pypo syntax error 2013-04-26 11:35:52 -04:00
Martin Konecny 1158fc2c9e more legible comment 2013-04-25 22:38:06 -04:00
Martin Konecny ca86d6b68b fix potential out-of-bounds string index error 2013-04-25 22:36:21 -04:00
Martin Konecny 7bf6f3669b more stringent verification of equivalence between tracks 2013-04-25 22:33:03 -04:00
Martin Konecny 039d8a7c0f fix worst offenders of > 80 character row length 2013-04-25 22:32:27 -04:00
Martin Konecny 1a765e6cb9 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	python_apps/pypo/pypocli.py
	python_apps/pypo/pypofetch.py
	python_apps/pypo/pypopush.py
2013-04-25 22:20:03 -04:00
Martin Konecny fb4a02faec cleanup of unecessary code
-we shouldn't be loading config file multiple times.
2013-04-25 22:11:26 -04:00
Martin Konecny 5b2e8e221f Merge branch 'CC-4417-opus-support'
Conflicts:
	python_apps/pypo/airtime-liquidsoap
2013-04-25 18:23:37 -04:00
Martin Konecny ccd3293f3d CC-4417: Opus codec support 2013-04-25 18:23:02 -04:00
Martin Konecny 45ac5282b8 clean unused import 2013-04-24 15:16:50 -04:00
Martin Konecny 80bd57ce4e CC-5050: Tracks with a very high track count cannot be saved into database
-fixed
2013-04-22 17:54:25 -04:00
Martin Konecny 07f0ae6c28 CC-1469: Crossfading support (non-equal power)
-fix restarting airtime playout not resyncing to schedule correctly
2013-04-22 17:33:56 -04:00
Martin Konecny 96579b7ef4 CC-5057: Pypopush error: no attribute 'push_item'
-fixed
2013-04-22 16:48:52 -04:00
Martin Konecny 54a9f50055 CC-5004: Fix mistake in api_client.cfg
-fixed by simply removing all unnecessary stuff to python file
2013-04-18 18:02:54 -04:00
Martin Konecny 479e69de12 CC-5009:
Use Silan to silently update track length in the background

-done
2013-04-18 15:40:33 -04:00
Martin Konecny 5cb950e43f Merge branch '2.3.x' 2013-04-08 18:55:54 -04:00
Martin Konecny 5b4bc038b0 Merge branch '2.3.x' of dev.sourcefabric.org:airtime into 2.3.x 2013-04-08 18:53:49 -04:00
Martin Konecny aca651a1b4 better logging 2013-04-08 18:53:35 -04:00
Martin Konecny f13f6c6a70 Merge branch 'master' of dev.sourcefabric.org:airtime 2013-04-07 20:20:57 -04:00
Martin Konecny 0d45d7b8cd CC-5042:
Do process matching by process name instead of PID file

-fixed
2013-04-07 20:19:51 -04:00
Martin Konecny db5d2283f4 Merge branch '2.3.x'
Conflicts:
	python_apps/pypo/pypofetch.py
2013-04-05 17:33:02 -04:00
Martin Konecny 3d135a9f4a improved logging on why files sometimes aren't removed 2013-04-05 17:31:55 -04:00
Martin Konecny 18574fd10f Merge branch '2.3.x' 2013-04-05 15:57:54 -04:00
Martin Konecny 5ff7ce857f use sigkill immediately for unresponsive telnet
-fix order of arguments
2013-04-05 15:57:16 -04:00
Martin Konecny 4595aab694 Merge branch '2.3.x' 2013-04-05 15:33:48 -04:00
Martin Konecny d1f655d79d CC-5038: Silan error: list index out of range
-fixed
2013-04-05 15:32:44 -04:00
Martin Konecny afb55c7b51 CC-5038:
Silan error: list index out of range

cosmetic bug fix to prevent so much logging
2013-04-05 14:20:34 -04:00
Martin Konecny 08c93e10fd Merge branch '2.3.x' 2013-04-05 13:57:32 -04:00
Martin Konecny cdb53048c7 ensure that an empty listener stats dict is not sent to the server 2013-04-05 13:56:41 -04:00
Martin Konecny 1a8ab6cd89 Merge branch '2.3.x' 2013-04-05 12:43:01 -04:00
Martin Konecny 266823b1d9 use sigkill immediately for unresponsive telnet 2013-04-05 12:42:05 -04:00
Martin Konecny 2b019c4615 Merge branch '2.3.x' 2013-04-05 11:28:47 -04:00
Martin Konecny f8dbbe71ab increase monit timeout after liquidsoap starts to 30 seconds. 2013-04-05 11:27:45 -04:00
Martin Konecny fcbac2a044 Merge branch '2.3.x' into devel 2013-04-04 15:15:19 -04:00
Martin Konecny 301115c035 CC-5039: Encoded forward slash causing lots of apache error logs
-fixed: data should have been sent as POST rather than GET
2013-04-04 15:12:52 -04:00
Martin Konecny 61f8e64329 Merge branch '2.3.x' into devel 2013-04-03 17:59:04 -04:00
Martin Konecny 3c68a295b4 CC-5039:
Encoded forward slash causing lots of apache error logs

-fixed: data should have been sent as POST rather than GET
2013-04-03 17:57:29 -04:00
Martin Konecny e2e6a4263c Merge branch '2.3.x' into devel 2013-04-03 16:48:19 -04:00
Martin Konecny ec7c898f5a fix some problems with invalid Liquidsoap PID file 2013-04-03 16:47:46 -04:00
Martin Konecny bfb252edf5 CC-4417: Opus codec support 2013-04-03 11:40:57 -04:00
Martin Konecny 0bb7fa4975 don't change monit monitor state on service start/stop 2013-04-02 12:30:15 -04:00
Martin Konecny 811abc4baf don't change monit monitor state on service start/stop 2013-04-01 19:31:13 -04:00
Martin Konecny 894887bd62 Merge branch '2.3.x' into devel 2013-03-26 15:02:17 -04:00
Martin Konecny caa2413fd8 Merge branch '2.3.x' of dev.sourcefabric.org:airtime into 2.3.x 2013-03-26 15:02:08 -04:00
Martin Konecny 7237d48ef6 fix missing import 2013-03-26 15:01:53 -04:00
Martin Konecny d79bfaaef9 -fix infinite loop on invalid files 2013-03-26 15:01:44 -04:00