Commit Graph

91 Commits

Author SHA1 Message Date
softworkz
803a96cb4e AutoOrganize: Differentiate server events 2016-08-27 03:51:15 +02:00
softworkz
cf64c40413 AutoorganizeLog: Fixed error when log empty; re-introduced full reload on task completion 2016-08-27 03:51:14 +02:00
softworkz
751febc1de Auto-Organize: Async operation and instant feedback UI (reworked)
This commit includes changes to enable and stabilize asyncronous
operation in the auto-organize area. Here are the key points:

- The auto-organize correction dialog is now closed (almost) instantly.
This means that the user does not have to wait until the file copy/move
operation is completed in order to continue. (even with local HDs the
copy/move process can take several minutes or even much longer with
network destination).
- This commit also implements locking of files to be organized in order
to prevent parallel processing of the same item. In effect, there can be
2 or more manual organization operations active even while the normal
auto-organization task is running without causing any problems
- The items that are currently being processed are indicated as such in
the log with an orange color and a spinner graphic
- The client display is refreshed through websocket messages
- A side effect of this is that other clients showing the auto-organize
log at the same time are always up-to-date as well
2016-08-20 01:03:30 +02:00
softworkz
66a80ac6b9 EpisodeFileOrganizer: Improve error handling (alternate approach)
Previously some methods were just returning null or empty values in case
of encountered errors; as a consequence, the actual reason for failure
was never written to the auto-organize log.
Instead, only a generic message like "Unable to sort xxx because target
path could not be determined." was displayed.

After this change, the actual reason for failure will be saved to the
auto-organize log or displayed in the UI (when completing the organize
dialog).

This information is very important for the user. Examples are "No
permission", "Target folder not available", "Disk full", etc..
2016-08-18 22:05:54 +02:00
Luke Pulverenti
53afb1e1e5 add images table 2016-06-03 12:24:04 -04:00
Luke Pulverenti
4d66f6dc6c auto-organize fixes 2016-05-14 12:06:01 -04:00
Luke Pulverenti
f80c1d93c0 update user queries 2016-05-09 00:56:41 -04:00
Luke Pulverenti
584e793a6d auto-organize fixes 2016-04-22 12:27:17 -04:00
Sven Van den brande
168587b2a0 Remove unused code... 2016-03-27 23:11:27 +02:00
Luke Pulverenti
3d97d50541 auto-organize updates 2016-03-10 15:06:47 -05:00
Luke Pulverenti
22377f2516 auto-organize fixes 2016-03-04 12:07:14 -05:00
Luke Pulverenti
bd38cb7a8b update EpisodeFileOrganizer 2016-02-29 11:25:09 -05:00
softworkz
719f675fe5 Rename NewSeriesProviderIdsDictionary to NewSeriesProviderIds 2016-02-27 23:09:14 +01:00
softworkz
5bc7089990 Create new series backend implementation 2016-02-27 00:59:03 +01:00
Luke Pulverenti
10d4ad98d9 create notion of locked path 2016-02-24 13:45:20 -05:00
Luke Pulverenti
ae8060d4ad update auto-organize 2016-02-23 13:50:22 -05:00
Luke Pulverenti
c3361458ad remove defaulting of new series 2016-02-21 17:31:50 -05:00
Luke Pulverenti
4f5a659111 use ignorecase 2016-02-12 20:50:44 -05:00
softworkz
59c9081f4b Auto-Organize - Feature to remember/persist series matching in manual organization dialog: Changed to match against plain library name inste 2016-02-12 21:42:10 +01:00
Luke Pulverenti
865524da65 fix GetOtherDuplicatePaths 2016-02-11 15:09:01 -05:00
Luke Pulverenti
0e49ccfd07 update smart match feature 2016-02-07 00:15:26 -05:00
softworkz
c02635c256 Merge fixes 2016-02-05 05:21:59 +01:00
softworkz
3a868e28b3 Auto-Organize: Added feature to remember/persist series matching in manual organization dialog #2
When a filename cannot be auto-matched to an existing series name, the
organization must be performed manually.
Unfortunately not just once, but again and again for each episode coming
in.
This change proposes a simple but solid method to optionally persist the
matching condition from within the manual organization dialog.
This approach will make Emby "learn" how to organize files in the future
without user interaction.
2016-02-05 05:21:25 +01:00
Luke Pulverenti
fc6d22a81b update episode organizer 2016-01-29 23:54:55 -05:00
Luke Pulverenti
e906bdc06e don't organize with unknown episode name 2016-01-29 13:29:09 -05:00
Luke Pulverenti
ce813c40c9 don't organize episode if series has no provider ids 2016-01-28 13:29:41 -05:00
Luke
0d3c8b8711 auto-organize by date 2016-01-18 00:30:50 -05:00
softworkz
9fbb304c47 Allow Auto-Organize to succeed even if episode title cannot be determined 2016-01-12 05:54:27 +01:00
softworkz
182f1da03e Added OmdbEpisodeProvider as an alternative source for series episodes
This new episode provider implementation does not bulk-download or cache
episode data. It is only meant to be a backup source for situations
where media is not recognized by the default provider (TheTvDb).
2016-01-12 05:54:26 +01:00
softworkz
c4aa744605 Fix exception when episode title is null
Sometimes TheTVDb does not have episode. This caused an exception in
EpisodeFileOrganizer
2015-11-01 19:35:36 +01:00
Luke Pulverenti
79a7e907d4 3.0.5768.3 2015-10-19 06:51:20 -04:00
Luke Pulverenti
078277ebc2 continue file system rework 2015-10-04 00:23:11 -04:00
Luke Pulverenti
8ad702060e begin file system rework 2015-10-03 23:38:46 -04:00
softworkz
8259d14c50 Renamed filter method 2015-10-04 04:02:51 +02:00
softworkz
073f7ac1ab Auto-Organize: PathTooLongException on source file should not break auto-organize task
PathTooLongException can not only occur with long destination paths but
also with too long file names of files contained in a watch folder.
Previously this condition caused the auto-organize task to break.

With this change, we still log the exception, but auto-organize
processing will continue to handle all other files.

Conflicts:
	MediaBrowser.Server.Implementations/FileOrganization/TvFolderOrganizer.cs
2015-10-04 04:02:50 +02:00
softworkz
4a235bd4bd Auto-Organize: Fix PathTooLongException due to long EpisodeTitle #2 2015-10-02 20:44:30 +02:00
softworkz
f7636a6b29 Auto-Organize: Fix PathTooLongException due to long EpisodeTitle
Especially with Multi-Episodes, the EpisodeTitle can become quite long,
since all comprised titles get concatenated into it.
By default, the EpisodeTitle is included in the single and multi-episode
naming patterns and this in turn can quickly lead to a
PathTooLongException.
This fix tries to keep as much as possible from the title string while
keeping the final path within the allowed limit.
2015-10-02 19:58:26 +02:00
Luke Pulverenti
5637142100 #1189 - Auto-Organize: Fix PathTooLongException due to long EpisodeTitle 2015-09-30 01:15:25 -04:00
Luke Pulverenti
0d6580baf3 update media sync 2015-09-28 23:35:50 -04:00
softworkz
1ddce23086 Auto-Organize: Perform leftover-file and empty-folder deletion in processed folders only
During Auto-Organize, Emby should maintain a list of folders which were
processed successfully. Only these folders should be used with the
DeleteLeftOverFiles and DeleteEmptyFolders functions.
2015-09-28 22:22:09 +02:00
Luke Pulverenti
f3e9bbed23 update file system methods 2015-09-24 13:50:49 -04:00
Luke Pulverenti
86a084bf5e update build scripts 2015-09-22 12:06:27 -04:00
Luke Pulverenti
aff7309a08 update ffmpeg with qsv-compatible version 2015-09-18 13:50:24 -04:00
Luke Pulverenti
8cf45a3e4a add more methods to IFileSystem 2015-09-13 19:07:54 -04:00
Luke
14de062681 update file system methods 2015-09-13 17:32:02 -04:00
Luke Pulverenti
795a8ab33b added auto-organize setting 2015-08-22 15:46:55 -04:00
Luke Pulverenti
62db1579c8 auto-organize fix 2015-06-08 17:32:20 -04:00
Luke Pulverenti
32320b329a updated Mono.Nat 2015-04-29 14:48:34 -04:00
Luke Pulverenti
f2c3dade77 3.0.5518.5 2015-02-19 12:46:18 -05:00
Luke Pulverenti
d451386f5d sync updates 2015-02-18 23:37:44 -05:00