Commit Graph

63 Commits

Author SHA1 Message Date
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
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 b9e840552b -cleaned up some WTF!?!??! code 2012-04-08 19:29:55 -04: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 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 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
James 32743ca780 CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
- added extra comment
2011-11-09 13:36:08 -05:00
James b75935abc3 CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
- adding comment
2011-11-03 15:35:04 -04:00
James 905eaa9ec8 CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
- fixed
2011-11-03 15:26:10 -04:00
James d56a3ee9d6 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:20:22 -04:00
James 8d21e4ea95 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:19:44 -04:00
James 5e9aec93a8 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
2011-10-03 14:10:47 -04:00
James 9cba129936 CC-2882: fix misspelling
- fixed
2011-09-29 10:25:38 -04:00
James f670158c6d 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 10:21:52 -04:00
James d1542b0d89 CC-2882: Airtime cannot delete watched folder when is been renamed
- done
2011-09-28 13:45:21 -04:00
James b1fa8901ca cc-2882: Airtime cannot delete watched folder when is been renamed
- initial commit
2011-09-27 14:49:03 -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
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
Naomi Aro d3776f4ea9 CC-2582 : Files with a tracknumber that isn't actually a tracknumber don't get imported properly
adding more metadata checks so it won't have a database insertion issue.
2011-07-22 12:54:42 +02:00
Naomi Aro b302006100 CC-2571 : Media Monitor Bootstrap
fixing up character encoding issues.
2011-07-21 12:12:37 +02:00
Naomi Aro 216a166437 CC-2571 : Media Monitor Bootstrap
modifying files fix in bootstrap, fix functions to have parameters the same.
2011-07-20 16:15:58 +02:00
Naomi Aro c5c06eddc2 CC-2571 : Media Monitor Bootstrap
making sure files added to the organize folder while media monitor is down are imported to Airtime when it is started up again.
2011-07-20 14:38:32 +02:00
Naomi Aro c7279f74ca CC-2558 : Only delete files from disk that are in stor directory and not scheduled etc. 2011-07-18 19:48:20 +02:00
Naomi Aro 91feeaf84d CC-2557 : Need to keep tmp file dictionary to change ogg metadata on the server side 2011-07-18 12:49:45 +02:00
James 3e6ca78253 CC-2490: Recorded show file is missing
- fixed.
2011-07-15 16:15:09 -04:00
martin 29869c175a CC-2279: Upgrade script for converting stor directory to new format
-refactor media-monitor
2011-07-14 12:06:46 -04:00
martin 6972150b19 -fixed bug with moving from stor to stor/organize, and having
duplicate files appear.
2011-07-12 16:10:54 -04:00
martin 7c98d90e5e CC-2530: Media monitor:Dont use hidden files
-addressed issues raised.
2011-07-12 15:06:49 -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
martin a8b3745bf4 -found another unicode encoding error
-code cleanup
2011-07-11 14:24:08 -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
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 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 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 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 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