fixes #1404 - [BUG] Emby recreating old folder name after renaming/moving folder

This commit is contained in:
Luke Pulverenti
2016-03-24 02:04:58 -04:00
parent 32b5ef7b80
commit 5d0abc280d
8 changed files with 23 additions and 10 deletions

View File

@@ -561,8 +561,7 @@ namespace MediaBrowser.Server.Implementations.Channels
{
throw new ArgumentNullException("name");
}
return ("Channel " + name).GetMBId(typeof(Channel));
return _libraryManager.GetNewItemId("Channel " + name, typeof(Channel));
}
public async Task<QueryResult<BaseItemDto>> GetLatestChannelItems(AllChannelMediaQuery query, CancellationToken cancellationToken)