Rudi Grinberg
1916ea8b0e
Put duplicate code into mediamonitorcommon. Removed unnecessary blank lines
2012-07-05 16:32:54 -04:00
Rudi Grinberg
6c1af8a96e
Changed uses of 'find' to respect supported_file_formats list
2012-07-05 16:32:54 -04:00
Rudi Grinberg
3dfb35d2d1
Fixed typo. Made supported_file_formats static because they should be same for all instances
2012-07-05 16:32:54 -04:00
Rudi Grinberg
2317a3eba8
removed more code duplication
2012-07-05 16:32:54 -04:00
Rudi Grinberg
5f1b2d23bf
fixed code duplication and replaced manual path concatenation with os.path.join
2012-07-05 16:32:54 -04:00
Rudi Grinberg
d73197b89a
Added traceback log to section where a general exception can be caught
2012-07-04 16:40:35 -04:00
Rudi Grinberg
f8660ed89d
Fixed bug where exception was thrown and logged when metadata was missing(bitrate, samplerate)
2012-07-04 16:40:35 -04:00
Rudi Grinberg
4064512c83
A couple of stylistic changes
2012-07-04 16:40:35 -04:00
Rudi Grinberg
96da87bccb
removed a few line characters
2012-07-04 16:40:35 -04:00
denise
bc93119adc
Merge branch '2.1.x' into devel
2012-07-04 09:46:30 -04:00
Martin Konecny
619f17b2f9
fix indentation
2012-07-03 16:43:24 -04:00
denise
d02607ed94
CC-3561: Add button to automatically rescan watched folders.
...
-done
2012-06-15 12:16:19 -04:00
Martin Konecny
22453f3820
CC-3968: Cannot preview file as * .MP3
...
-fixed
2012-06-12 11:31:10 -04:00
James
841dd298d5
CC-3946: Files with upper case "MP3" extension not being imported
...
- fixed
2012-06-08 15:07:14 -04:00
James
0ca45e343b
CC-3878: Recorded media file's track number is changed after restarting media-monitor
...
- fixed
2012-06-06 14:18:54 -04:00
denise
c521e3c545
CC-3849: PlaylistLibrary->Edit Metadata: The deletion of metadata entries has no effect after saving
...
-fixed
2012-06-05 11:20:00 -04:00
Martin Konecny
b6446442ba
CC-3917: record_date field in recorded shows causing problem
...
-fixed
2012-06-04 11:43:41 -04:00
Martin Konecny
b9c6eab39c
make sure we explicitly need to tell Airtime services to start
2012-05-28 17:42:48 -04:00
Martin Konecny
910f8e8627
ensure dirs end with "/"
2012-05-25 16:19:39 -04:00
Martin Konecny
b677d2985b
-remove useless to utf8 conversions
2012-05-16 15:38:26 -04:00
Martin Konecny
191de74bae
CC-3811: Error found in Media Monitor and Apache's log about Media Monitor try to store recorded file
2012-05-15 17:36:33 -04:00
Martin Konecny
4a6a31c5a4
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-indent error
2012-05-14 19:55:38 -04:00
Martin Konecny
cadf0acac7
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-fix utf-8 check
2012-05-14 19:53:07 -04:00
Martin Konecny
c397a6f797
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-move utf-8 locale check to bash
2012-05-14 19:46:53 -04:00
Martin Konecny
c1d33e9f72
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-syntax errors
2012-05-14 19:31:50 -04:00
Martin Konecny
b79f02ab88
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
2012-05-14 19:19:42 -04:00
Martin Konecny
92931f662f
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-override LC_ALL=POSIX that happens on system bootup
2012-05-14 18:35:20 -04:00
Martin Konecny
c24a8a2308
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-override LC_ALL=POSIX that happens on system bootup
2012-05-14 17:50:08 -04:00
Martin Konecny
08c20cff10
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-add UTF-8 header everywhere...
2012-05-14 16:09:49 -04:00
Martin Konecny
a734540e5b
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-fixed with hack...
2012-05-10 14:36:59 -04:00
Martin Konecny
a7a3da85c3
more debug information for system encoding
2012-05-10 11:16:51 -04:00
Martin Konecny
b7285bba0d
-fix missing import
2012-05-10 11:14:44 -04:00
Martin Konecny
9bb8e2ad8e
CC-3792: Record show's file cannot be saved
...
-fixed
2012-05-10 00:12:14 -04:00
Martin Konecny
ee52d2e36e
CC-3792: Record show's file cannot be saved
...
-fixed
2012-05-09 23:24:15 -04:00
Martin Konecny
a56755ed47
CC-3789: Need to place rejected files into /problem_files directory
...
-test liquidsoap playability before organizing file
2012-05-09 22:03:58 -04:00
Martin Konecny
aeb9db95f0
CC-3794: Liquidsoap isn't in media monitor's path
2012-05-09 14:18:17 -04:00
Martin Konecny
3b2e812e51
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-debug info
2012-05-09 12:21:53 -04:00
Martin Konecny
80861bc643
CC-3771: year column in cc_files sometimes has values greater than 2^31-1, which causes postgresql to fail when trying to convert this to a year.
...
-better way to do this...
2012-05-09 01:18:58 -04:00
Martin Konecny
0c6144a0f6
CC-3789: Need to place rejected files into /problem_files directory
...
-make test_file_playability() a class method
2012-05-09 01:02:49 -04:00
Martin Konecny
032fb4e981
CC-3789: Need to place rejected files into /problem_files directory
...
-only do this for files under /srv/airtime/stor
2012-05-09 00:06:33 -04:00
Martin Konecny
4caba5bdea
CC-3789: Need to place rejected files into /problem_files directory
...
-done
2012-05-09 00:02:02 -04:00
Martin Konecny
f769472252
CC-3788: In Media Monitor convert to UTF-8 "just" before passing to urlencode, not before that.
...
-fixed
2012-05-08 23:58:48 -04:00
Martin Konecny
7376e16077
CC-3784: Some media files can be added twice when trying to upload 200 media files
...
-should be fixed
2012-05-08 17:32:50 -04:00
Martin Konecny
ad7964899c
-better logging.
...
-Also moved "-type f" argument to end of find command so that it doesn't
need to do a "stat" on non ogg/mp3 files.
2012-05-08 14:57:16 -04:00
Martin Konecny
a895c3a354
CC-3783: Liquidsoap file verification rejects all mono files
...
-fixed
2012-05-08 14:56:13 -04:00
Martin Konecny
8de8a0be33
replace many Popen calls with more modern subprocess.call
2012-05-07 15:46:49 -04:00
Martin Konecny
ece93ac054
CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.
...
-fix silly regression
2012-05-07 14:39:54 -04:00
Martin Konecny
d997047f5e
CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.
...
-fixed
2012-05-07 14:25:49 -04:00
Martin Konecny
91d1dfbbfa
CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.
...
-fixed
2012-05-07 13:54:39 -04:00
Martin Konecny
0685148c10
CC-3749: Media Monitor should not load files pypo cannot read
...
-incorrect variable name
2012-05-04 18:05:02 -04:00
Martin Konecny
b1611f5b86
CC-3749: Media Monitor should not load files pypo cannot read
...
-incorrect variable name
2012-05-04 18:01:49 -04:00
Martin Konecny
4d7d17fe55
fix invalid file variable name
2012-05-04 17:25:59 -04:00
Martin Konecny
676205bb00
CC-3750Media Library->Edit Metadata: media-monitor throw exception when trying to edit metadata with non-ascii characters
...
-Improved save metadata function
2012-05-04 15:49:33 -04:00
Martin Konecny
906b6e8bd0
CC-3749: Media Monitor should not load files pypo cannot read
...
-logic error
2012-05-04 15:22:54 -04:00
Martin Konecny
d98d23d483
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 15:04:54 -04:00
Martin Konecny
7e9d1a3308
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 13:50:38 -04:00
Martin Konecny
e13d06df45
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 13:45:43 -04:00
Martin Konecny
d6a12053eb
CC-3752: Media Monitor DB sync
...
-forgot to exit
2012-05-04 13:39:48 -04:00
Martin Konecny
fa373a683e
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 13:37:43 -04:00
Martin Konecny
08217d59fc
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 13:23:46 -04:00
Martin Konecny
ebc8af0863
CC-3749: Media Monitor should not load files pypo cannot read
2012-05-04 13:03:05 -04:00
Martin Konecny
141d27bf27
CC-3736: Full Install fail at Ubuntu 12.04
...
-various fixes
2012-04-30 17:06:35 -04:00
Martin Konecny
cf1e9e7615
configure locale for pypo
2012-04-27 17:25:12 -04:00
Martin Konecny
d7b6146ef9
locales for media-monitor
2012-04-27 16:08:51 -04:00
Martin Konecny
0e32b5586f
make sure we create tmp directory for media-monitor if it doesn't exist.
2012-04-27 16:04:19 -04:00
Martin Konecny
da7b87866c
-check whether getdefaultlocale actually returns a value before attempting to use it.
2012-04-26 17:59:25 -04:00
Martin Konecny
773206ab22
http://www.python.org/dev/peps/pep-0008/#package-and-module-names
2012-04-26 17:50:35 -04:00
Martin Konecny
ec8115828a
CC-3673: media monitor encoding problem
...
-made media-monitor not start if non UTF-8 encoding detected.
2012-04-24 16:24:54 -04:00
Martin Konecny
7c49fc77d5
CC-3700: media-monitor- Surround all accesses to external resources with try/except
...
-fixed
2012-04-22 13:42:45 -04:00
Martin Konecny
dae8682e51
CC-3691: Pypo needs to write stderr + stdout to the log file
...
-fixed
2012-04-20 19:12:36 -04:00
James
c1a6202da8
CC-3630: Deleting files from organize folder if they don't have
...
correct Meta data
- done
2012-04-20 10:56:51 -04:00
Martin Konecny
5bc720fd4c
CC-3657: Watch Folders -> mp3 files could not be loaded
...
-fixed
2012-04-16 15:11:05 -04:00
Martin Konecny
f96b990275
Merge branch '2.0.x' into devel
...
Conflicts:
VERSION
airtime_mvc/application/models/Systemstatus.php
install_minimal/include/airtime-constants.php
install_minimal/include/airtime-upgrade.php
python_apps/api_clients/api_client.py
python_apps/media-monitor/install/media-monitor-copy-files.py
python_apps/media-monitor/install/media-monitor-initialize.py
python_apps/pypo/install/pypo-initialize.py
python_apps/pypo/liquidsoap_bin
python_apps/pypo/pypopush.py
utils/airtime-log.php
2012-04-12 19:10:17 -04:00
James
86718cc58e
CC-3628: Media Monitor not sending a delete message to Airtime
...
- fixed
2012-04-12 17:20:31 -04:00
Naomi Aro
e2adaff5cf
CC-3630 : Deleting files from organize folder if they don't have correct Meta data
2012-04-12 18:07:16 +02:00
Martin Konecny
92f057593e
CC-3428: liquidsoap seems to have troubles with this file
...
-need to escape double quotes not single :P
2012-04-11 11:21:51 -04:00
Martin Konecny
bc6e911673
CC-3615: AddMedia,Add Watched Folders-> Uploading of certain playable media fails
...
-fixed
2012-04-10 21:52:54 -04:00
Martin Konecny
1344c27d30
CC-3615: AddMedia,Add Watched Folders-> Uploading of certain playable media fails
...
-fixed
2012-04-10 19:55:53 -04:00
Martin Konecny
c71fb37c74
CC-3428: liquidsoap seems to have troubles with this file
...
-update path so that media-monitor finds our liquidsoap first instead
of system's
2012-04-09 11:52:37 -04:00
Martin Konecny
6e471c0060
CC-3428liquidsoap seems to have troubles with this file
...
-check file integrity before adding to library.
2012-04-08 20:16:53 -04:00
Martin Konecny
b9e840552b
-cleaned up some WTF!?!??! code
2012-04-08 19:29:55 -04:00
Martin Konecny
60d521a88a
CC-3575: Use invoke-rc.d to start and stop services, rather than calling init scripts directly
...
-done
2012-04-05 20:42:15 -04:00
Martin Konecny
3611f1071d
CC-3575: Use invoke-rc.d to start and stop services, rather than calling init scripts directly
...
-fixed
2012-04-05 15:09:20 -04:00
Martin Konecny
b00e74e831
-remove "disable_auto_start_services" install option
2012-04-05 14:56:11 -04:00
Martin Konecny
57f782d3c2
CC-3520: Change default password of monit
...
-fixed
2012-04-01 00:20:47 -04:00
Martin Konecny
f8a71a3923
CC-3531: When importing watched directory, correcting a file's permissions does not work correctly.
...
-fixed
2012-03-27 16:59:26 -04:00
Martin Konecny
d7af91f306
CC-3520: Change default password of monit
...
-done
2012-03-26 17:59:44 -04:00
Martin Konecny
4f5b9a0c91
-decoding exec_command from UTF-8 multiple times (bad)
2012-03-26 10:57:56 -04:00
Martin Konecny
0716e0425c
-Media monitor not handling unicode incorrectly or comparing UTF-8 with unicode
2012-03-15 23:28:47 -04:00
Martin Konecny
54cbc86a0a
Merge branch '2.0.x' into devel
...
Conflicts:
VERSION
airtime_mvc/application/Bootstrap.php
airtime_mvc/application/controllers/LibraryController.php
airtime_mvc/application/controllers/ScheduleController.php
airtime_mvc/application/models/Nowplaying.php
airtime_mvc/application/models/Show.php
airtime_mvc/application/models/airtime/CcShowInstances.php
2012-02-14 14:47:07 -05:00
Martin Konecny
0424a7f1d1
-We don't want any of our python services running at install time. Disable them early on.
2012-02-12 11:44:23 -05:00
James
9ae0bed01a
CC-3299: Media monitor should not change the owner of watched files
...
- Media Monitor will try to set files to world readable upon adding
2012-02-08 17:43:32 -05:00
James
86150a5fba
CC-3299: Media monitor should not change the owner of watched files
...
- Media Monitor will try to set files to world readable upon adding
2012-02-08 17:42:42 -05:00
James
af305fce47
CC-3299: Media monitor should not change the owner of watched files
...
- it sets dir permission 02777 and file permission to 0666 if the path
is under "stor" dir, else it tries add world readable bit.
2012-02-08 15:16:11 -05:00
James
5b47402ed0
CC-3299: Media monitor should not change the owner of watched files
...
- it sets dir permission 02777 and file permission to 0666 if the path
is under "stor" dir, else it tries add world readable bit.
2012-02-08 15:14:58 -05:00
james
b08e7787d3
CC-3299: Media monitor should not change the owner of watched files
...
- bug fix
- better logging
2012-02-07 13:37:42 -05:00
james
22a53dd250
CC-3282: Issue with file causing media-monitor to crash (Spotted on Resonance FM)
...
- removed part of the code where it tries to handle cp1252 which ended up
causing more issues
Conflicts:
python_apps/media-monitor/airtimefilemonitor/airtimemetadata.py
2012-02-07 13:37:27 -05:00
james
951f90adc0
CC-3299: Media monitor should not change the owner of watched files
...
- bug fix
- better logging
2012-02-07 13:35:55 -05:00
james
e5a8d65576
CC-3282: Issue with file causing media-monitor to crash (Spotted on Resonance FM)
...
- removed part of the code where it tries to handle cp1252 which ended up
causing more issues
2012-02-07 13:35:46 -05:00
James
94aaf5b70e
CC-3299: Media monitor changes the owner of watched files?
...
- bug fixed
2012-02-06 12:33:24 -05:00