using new api
This commit is contained in:
@ -41,8 +41,6 @@ namespace Aurora.Services.Server.Controllers
|
||||
IpAddress = ServerService.GetLocalIPAddress(),
|
||||
};
|
||||
|
||||
this._memberList.Add(_hostMember.Name, _hostMember);
|
||||
|
||||
//Add media from library
|
||||
//This will change as queuing operation gets solidified
|
||||
//Simply return the hosts library
|
||||
|
@ -67,7 +67,9 @@ namespace Aurora.Services.Server.Controllers
|
||||
{
|
||||
ILibraryService library = scope.Resolve<ILibraryService>();
|
||||
|
||||
BaseMedia originalSong = library.GetSong(request.Name);
|
||||
string mediaName = request.Name.Split('/')[1];
|
||||
|
||||
BaseMedia originalSong = library.GetSong(mediaName);
|
||||
if (!(originalSong is LocalAudio))
|
||||
{
|
||||
return;
|
||||
|
Reference in New Issue
Block a user