Commit Graph

60 Commits

Author SHA1 Message Date
Luke Pulverenti
ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04: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
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
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
078277ebc2 continue file system rework 2015-10-04 00:23:11 -04: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
f3e9bbed23 update file system methods 2015-09-24 13:50:49 -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
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
Luke Pulverenti
8051ea9b1b update javascript connection manager to latest feature set 2015-02-15 19:33:06 -05:00
Luke Pulverenti
a1a56557ec sync updates 2015-01-25 01:34:50 -05:00
Luke Pulverenti
7a136349ee update components 2015-01-16 23:38:24 -05:00
Luke Pulverenti
d8d5dd4873 make channel access opt-in rather than opt out 2015-01-12 22:46:44 -05:00
Luke Pulverenti
51b5e379d5 add options for media in archives 2015-01-10 00:53:35 -05:00
Luke Pulverenti
36295aa833 use SocketHttpListener project 2015-01-03 14:38:22 -05:00
Luke Pulverenti
42b1416602 begin work on daily episodes 2014-12-22 22:58:14 -05:00
Luke Pulverenti
e55ab989d2 add more sync buttons 2014-12-18 23:20:07 -05:00
Luke Pulverenti
049ef9b4ec update naming methods 2014-11-16 17:46:01 -05:00
Luke Pulverenti
5fdd7ec672 add new naming project 2014-11-16 15:44:08 -05:00
Luke Pulverenti
a37a11c486 3.0.5324.37963 2014-07-30 22:09:23 -04:00
Luke Pulverenti
37c27a26e9 added sync job database 2014-07-26 13:30:15 -04:00
Luke Pulverenti
24246ba85f support conditions with direct play profiles 2014-03-22 14:25:03 -04:00