mix merge conflicts

pull/702/head
Luke Pulverenti 9 years ago
parent 6de54e5ec7
commit 170f463664

@ -73,7 +73,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
private void UpdateList(List<T> newList) private void UpdateList(List<T> newList)
{ {
var file = _dataPath + ".json"; var file = _dataPath + ".json";
_fileSystem.CreateDirectory(Path.GetDirectoryName(file)); _fileSystem.CreateDirectory(Path.GetDirectoryName(file));
lock (_fileDataLock) lock (_fileDataLock)
{ {
@ -125,7 +125,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
Update(item); Update(item);
} }
} }
public virtual void Delete(T item) public virtual void Delete(T item)
{ {
var list = GetAll().Where(i => !EqualityComparer(i, item)).ToList(); var list = GetAll().Where(i => !EqualityComparer(i, item)).ToList();

@ -94,7 +94,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
public void StartTimer(TimerInfo item, TimeSpan length) public void StartTimer(TimerInfo item, TimeSpan length)
{ {
StopTimer(item); StopTimer(item);
var timer = new Timer(TimerCallback, item.Id, length, TimeSpan.Zero); var timer = new Timer(TimerCallback, item.Id, length, TimeSpan.Zero);
if (!_timers.TryAdd(item.Id, timer)) if (!_timers.TryAdd(item.Id, timer))

Loading…
Cancel
Save