enable back button on sort menus
This commit is contained in:
parent
5471cdce2f
commit
b830f5f1cf
|
@ -325,12 +325,6 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||||
{
|
{
|
||||||
var files = localItem.AdditionalFiles.ToList();
|
var files = localItem.AdditionalFiles.ToList();
|
||||||
|
|
||||||
// TODO: Remove this. Have to check it for now since this is a new property
|
|
||||||
if (!string.IsNullOrWhiteSpace(localItem.FileId))
|
|
||||||
{
|
|
||||||
files.Insert(0, localItem.FileId);
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var file in files)
|
foreach (var file in files)
|
||||||
{
|
{
|
||||||
_logger.Debug("Removing {0} from {1}.", file, target.Name);
|
_logger.Debug("Removing {0} from {1}.", file, target.Name);
|
||||||
|
|
|
@ -786,6 +786,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||||
{
|
{
|
||||||
_logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.ItemId);
|
_logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.ItemId);
|
||||||
jobItem.Status = SyncJobItemStatus.Queued;
|
jobItem.Status = SyncJobItemStatus.Queued;
|
||||||
|
jobItem.Progress = 0;
|
||||||
}
|
}
|
||||||
requiresSaving = true;
|
requiresSaving = true;
|
||||||
}
|
}
|
||||||
|
@ -891,6 +892,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||||
{
|
{
|
||||||
_logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.Id);
|
_logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.Id);
|
||||||
jobItem.Status = SyncJobItemStatus.Queued;
|
jobItem.Status = SyncJobItemStatus.Queued;
|
||||||
|
jobItem.Progress = 0;
|
||||||
}
|
}
|
||||||
requiresSaving = true;
|
requiresSaving = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user