Commit graph

2911 commits

Author SHA1 Message Date
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
Luke Pulverenti f5ad9186ec update boxset resolver 2016-08-19 14:44:58 -04:00
Luke Pulverenti 6e01e277d4 update new episode creation 2016-08-19 13:43:16 -04:00
Luke Pulverenti 719ad3971e update genre validator 2016-08-19 01:58:35 -04:00
Luke Pulverenti dea08933f1 update xmltv lib 2016-08-18 23:57:36 -04:00
Luke a98a7f4579 Merge pull request #2071 from softworkz/OrganizeErrorHandling2
EpisodeFileOrganizer: Improve error handling (alternate approach)
2016-08-18 20:12:24 -04: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 db9c02fffd update notifications 2016-08-18 12:45:36 -04:00
Luke Pulverenti 845c4a0d62 update item by name validators 2016-08-18 11:13:18 -04:00
Luke Pulverenti 389487638e fixes #1851 - EmbyServer crashes if staticly assigned IP address changes 2016-08-18 02:26:47 -04:00
Luke Pulverenti cc62faa1c2 update season queries 2016-08-18 01:56:10 -04:00
Luke Pulverenti fd6aa72dac add guide optimizations 2016-08-17 15:28:43 -04:00
Luke Pulverenti 1c815d2e72 update sync display 2016-08-17 01:29:05 -04:00
Luke Pulverenti ae887d9157 remove readinputatnativeframerate 2016-08-16 14:46:12 -04:00
Luke Pulverenti 8a7b24000d update season queries 2016-08-16 13:08:37 -04:00
Luke Pulverenti ec111eebd3 fix folder caching 2016-08-15 20:22:59 -04:00
Luke 02a4b90f65 Merge pull request #2025 from softworkz/AsyncStreamInterface
Async stream handling: Use interface instead of Func<Stream,Task>
2016-08-15 17:59:28 -04:00
Luke Pulverenti caab8299d1 add setting for photo libraries 2016-08-15 00:36:17 -04:00
Luke Pulverenti 89dd4f0be1 save library options on dialog close 2016-08-13 23:12:26 -04:00
Luke Pulverenti 7dbeeadea6 fix lastmodified header 2016-08-13 20:52:32 -04:00
Luke Pulverenti 8508e07bb9 improve genre displays 2016-08-13 16:54:29 -04:00
Luke 5b92b44f1a Merge pull request #2040 from softworkz/IsFileLockedFix
FileRefresher.IsFileLocked: Don't log Exceptions in case of no write permission
2016-08-13 02:47:45 -04:00
Luke Pulverenti 5989065517 Merge branch 'dev' of https://github.com/MediaBrowser/Emby into dev 2016-08-13 01:51:02 -04:00
Luke Pulverenti 68d1b60964 stub out objects for per library settings 2016-08-13 01:49:00 -04:00
Softworkz 319dcda4be Fix: ETag-Values MUST be quoted according to W3C spec 2016-08-13 07:16:19 +02:00
Luke Pulverenti d9ee4f81fd rework storage of PresentationUniqueKey 2016-08-12 15:11:45 -04:00
Luke Pulverenti 7551317075 update sync menus 2016-08-12 11:54:37 -04:00
Luke Pulverenti 6f20a8ca05 don't restart timer if disposed 2016-08-10 23:56:01 -04:00
Luke Pulverenti 00307b9a44 updated inherited parental rating value 2016-08-10 15:16:09 -04:00
Luke Pulverenti cbb6a9495d exclude people from dynamic images 2016-08-09 01:08:21 -04:00
softworkz b309e06cb8 FileRefresher.IsFileLocked: Don't log Exceptions in case of no write permission 2016-08-08 20:51:07 +02:00
Luke Pulverenti ce26f24ec7 remove X-Powered-By header 2016-08-08 00:35:21 -04:00
Luke Pulverenti 2481838b4a fix people refresh progress display 2016-08-07 17:57:46 -04:00
Luke Pulverenti 7daf34f048 quote ffmpeg params 2016-08-07 16:13:30 -04:00
Luke Pulverenti e9bd472281 update SocketHttpListener 2016-08-07 02:36:48 -04:00
softworkz 05b53d1f30 Avoid frequent Exception 2016-08-07 02:22:05 +02:00
softworkz 7d16988b1b Remove handling IHttpResult 2016-08-07 02:01:05 +02:00
softworkz 433254c498 Async stream handling: Use interface instead of Func<Stream,Task>
No functional changes
2016-08-07 02:00:36 +02:00
Luke Pulverenti 7835d3d629 fix artist case sensitivity searches 2016-08-06 16:59:31 -04:00
Luke Pulverenti 7b00ad316c update SocketHttpListener 2016-08-06 15:56:35 -04:00
Luke Pulverenti d290a54845 Merge branch 'dev' of https://github.com/MediaBrowser/Emby into dev 2016-08-06 00:38:48 -04:00
Luke Pulverenti 319a956b38 update validators 2016-08-06 00:38:01 -04:00
Luke fec7c47824 Merge pull request #1932 from softworkz/ReduceWarnings
Reduced compiler warnings. No functional changes.
2016-08-05 20:37:21 -04:00
softworkz 23da61281e Reduced compiler warnings. No functional changes (except MediaEncoder.cs and AutomaticRestartEntryPoint.cs) 2016-08-05 23:15:48 +02:00
Luke Pulverenti 22fc552fc0 remove paper-fab 2016-08-05 16:25:09 -04:00
softworkz 6cf28f1c4e Fix IndexOutOfRangeException
Fixes situations where the filename is something like "-------".
2016-08-05 04:59:27 +02:00
Luke Pulverenti 97446d04df update SocketHttpListener 2016-08-04 15:05:52 -04:00
Luke Pulverenti 39245133f8 remove people refresh retry 2016-08-04 00:38:58 -04:00
Luke Pulverenti 3e23d32e62 update naming project 2016-08-03 13:26:42 -04:00
Luke Pulverenti bbdbe79108 fix sync methods 2016-08-03 03:07:57 -04:00