mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
mix merge conflicts
This commit is contained in:
parent
6de54e5ec7
commit
170f463664
@ -73,7 +73,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
|
||||
private void UpdateList(List<T> newList)
|
||||
{
|
||||
var file = _dataPath + ".json";
|
||||
_fileSystem.CreateDirectory(Path.GetDirectoryName(file));
|
||||
_fileSystem.CreateDirectory(Path.GetDirectoryName(file));
|
||||
|
||||
lock (_fileDataLock)
|
||||
{
|
||||
@ -125,7 +125,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
|
||||
Update(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public virtual void Delete(T item)
|
||||
{
|
||||
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)
|
||||
{
|
||||
StopTimer(item);
|
||||
|
||||
|
||||
var timer = new Timer(TimerCallback, item.Id, length, TimeSpan.Zero);
|
||||
|
||||
if (!_timers.TryAdd(item.Id, timer))
|
||||
|
Loading…
Reference in New Issue
Block a user