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
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
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
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
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
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
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
7c49fc77d5
CC-3700: media-monitor- Surround all accesses to external resources with try/except
...
-fixed
2012-04-22 13:42:45 -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
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
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
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
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
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
James
3689d229d1
Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x
2012-02-06 12:32:40 -05:00
James
4b7272a173
CC-3299: Media monitor changes the owner of watched files?
...
- bug fixed
2012-02-06 12:32:21 -05:00
Martin Konecny
62d1d56fd2
Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x
2012-02-06 12:28:49 -05:00
Martin Konecny
e8afd086bd
-fix annoying issue where media-monitor refuses to start if tmp directory
...
/var/tmp/airtime does not exist. Just create it.
2012-02-06 12:28:39 -05:00
James
4043f011b5
Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x
2012-02-06 12:28:31 -05:00
James
084214b6c8
CC-3299: Media monitor changes the owner of watched files?
...
- media monitor now tries to set the permission to www-data if the file/dir
cannot be read by www-data
2012-02-06 12:28:16 -05:00
James
a79dd4fe04
CC-3299: Media monitor changes the owner of watched files?
...
- media monitor now tries to set the permission to www-data if the file/dir
cannot be read by www-data
2012-02-06 12:26:20 -05:00
Martin Konecny
214c6e85cc
-remove unneeded check of "if file_info is not None:"
...
-remove undefined variable fomr phone_home_stat.php
2012-02-02 16:14:13 -05:00
James
08a09e4096
CC-2977: Never delete files from the database
...
- using mtab(previous and current) files to figure out directories to be
added or removed
- adding index to cc_files
- see the tickets and media monitor design page for more info
2012-01-12 17:55:05 -05:00
James
04b48d47cc
CC-2977: Never delete files from the database
...
- Files are marked deleted(file_exists to false) on deletion.
- Dirs are marked removed(removed flag to true) on removal of watched
folder in a usual way. If dir is unmounted, without being removed from
watched list first, it will be marked as not exists(exist flag to false)
- Manage Media Folders will show if dirs exist or not( mounted or not)
- Playlist builder will show if files exists or not
2012-01-11 12:17:48 -05:00
Martin Konecny
21643a3734
SAAS-56: RabbitMQ virtual host support
...
-Add support for specifying vhost in config files
2011-12-05 21:05:28 -05:00
James
f2b3ef1b73
CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
...
- added extra comment
2011-11-09 13:35:22 -05:00
Martin Konecny
b33ced99c8
CC-2954: Exception in media monitor using Dropbox
...
-Need to check if size is >=2, not 3.
2011-11-03 22:12:03 -04:00
James
8e88c56bc6
CC-2954: Exception in media monitor using Dropbox
...
- This will take care of the exception issue
2011-11-03 16:05:52 -04:00
James
a156548ba6
CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
...
- adding comment
2011-11-03 15:35:30 -04:00
James
a85f284296
CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
...
- fixed
2011-11-03 15:25:09 -04:00
Martin Konecny
5d0f36f130
CC-3013: Media Monitor throws exception when trying to convert String to Int.
...
-fixed
-also specified base 10 radix
2011-11-02 10:36:00 -04:00
Martin Konecny
b14f2e894d
CC-3012: Media-monitor crash: "Exception: list index out of range"
...
-fixed
2011-11-02 10:10:28 -04:00
James
973e934151
CC-2927: Media Monitor: if new dir is generated in the process of
...
importing a file, airtime doesn't import the file.
- fixed
2011-10-04 17:23:42 -04:00
James
109bd5d044
CC-2919: Media Monitor: recorded show doesn't show on library after
...
recording is done
- comments were added
- timestamps updates with IN_MODIFY
2011-10-04 10:20:25 -04:00
James
dcda08e17a
CC-2919: Media Monitor: recorded show doesn't show on library after
...
recording is done
- fixed
- extra fix: Airtime wasn't updating file when updating metadata
Conflicts:
airtime_mvc/application/controllers/LibraryController.php
2011-10-03 14:17:56 -04:00
James
6fbf1853ce
CC-2743: Import fails on certain files with
...
'Exception can't sync to an MPEG frame'
- fixed by handling IN_CLOSE_WRITE instead of IN_CREATE
2011-09-29 15:06:31 -04:00
James
ba09d712b6
CC-2882: fix misspelling
...
- fixed
2011-09-29 15:04:19 -04:00
James
3775e5f4a7
CC-2882: Airtime cannot delete watched folder when is been renamed
...
- done
2011-09-29 15:02:34 -04:00
James
46146d1216
cc-2882: Airtime cannot delete watched folder when is been renamed
...
- initial commit
Conflicts:
airtime_mvc/application/models/MusicDir.php
2011-09-29 15:02:30 -04:00
martin
6dab211a12
CC-2784: Stopping rabbitmq-server causes pypo CPU usage to increase dramatically
...
-fixed
2011-09-08 12:17:42 -04:00
James
610b7a6d2c
CC-2747: removing debug code
...
- done
2011-09-01 16:06:01 -04:00
James
22c9416c31
CC-2747: When metadata contains non utf-8 encoding, we should handle it
...
- we cover some cases with cp1252 encoding for now.
- extra fix: Logging.php (copied from 2.0.0)
2011-08-31 14:46:21 -04:00
martin
ca65c32e1c
CC-2716: Moving Directory->Media Monitor exception
...
-fixed
2011-08-22 20:19:14 -04:00
James
968c0f96a2
CC-2651: import idicator
...
- Threshold is 10 seconds
- record timestamp once every 5 seconds
- "File import inprogress..." displays above search box
- pyinotify read_freq changed to 0.1 from 1
2011-08-09 10:40:10 -04:00
James
3a2d736b1c
CC-2633: removing to_unicode()
...
- removed to_unicode() function calls where it's not neccessary.
2011-08-08 10:41:11 -04:00
James
8995e828ff
CC-2633: added new encode_to()
...
- added encode_to() to api_client
- replaced .encode() with new encode_to()
2011-08-05 15:12:55 -04:00
Naomi Aro
a199585cb9
CC-2647 : Check MD will fit db constraints in Airtime
2011-08-05 15:12:55 -04:00
James
375cfb2c2d
CC-2633: moving to_unicode() to api_client.py
...
- move to_unicode() to api_client.py
- fixed how it decodes path in airtime-import.py
2011-08-05 15:12:55 -04:00
James
938c503e85
CC-2633: media monitor crashes on non-ascii files and metadata
...
- fixed bug for the case where mutagen return None for metadata
- fixed bug for non-ascii files and metadata
2011-08-05 15:12:55 -04:00
Naomi Aro
7e64e1ba22
CC-2612 : Upgrade: Push DB metadata into the file before upgrade
...
testing saving non ascii characters to file.
2011-08-01 18:10:50 +02:00
Naomi Aro
aa29afc438
CC-2612 : Upgrade: Push DB metadata into the file before upgrade
2011-08-01 16:29:41 +02:00
Naomi Aro
0fba75b9ad
CC-2612 : Upgrade: Push DB metadata into the file before upgrade
2011-08-01 13:27:58 +02:00
Naomi Aro
d606b4b173
CC-2612 : Upgrade: Push DB metadata into the file before upgrade
2011-08-01 12:22:20 +02:00
Naomi Aro
1e6d9efad2
CC-2612 : Upgrade: Push DB metadata into the file before upgrade
...
might have too much data to log it.
2011-07-29 11:57:06 +02:00
Naomi Aro
137ca79db8
CC-2600 : Upgrading from 1.8->1.9 wipe all shows content
2011-07-28 12:21:20 +02:00
Naomi Aro
1366b159f2
CC-2594 : Set File permissions on organized/imported when moving stor dir to have www-data as owner etc
2011-07-26 12:38:19 +02:00
Naomi Aro
31ba80e07b
CC-2589 : Create "organize" dir when upgrading
...
need to set correct permissions/owner for all files/dirs
2011-07-26 12:20:24 +02:00