mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 15:32:37 -07:00
Added View on Emby Button (#2173)
* Added Emby content url property * Fetch and set the Emby url property * Added View on Emby button to frontend and did UI work * removed debug logging
This commit is contained in:
parent
025797c1ba
commit
1c54eedc6f
21 changed files with 1026 additions and 8 deletions
17
src/Ombi.Helpers/EmbyHelper.cs
Normal file
17
src/Ombi.Helpers/EmbyHelper.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Globalization;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Ombi.Helpers
|
||||
{
|
||||
public class EmbyHelper
|
||||
{
|
||||
public static string GetEmbyMediaUrl(string mediaId)
|
||||
{
|
||||
var url =
|
||||
$"http://app.emby.media/itemdetails.html?id={mediaId}";
|
||||
return url;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue