add shared media control allowing jellyfin to control LMS by pointing to files on shared storage
This commit is contained in:
@@ -62,4 +62,24 @@ public class PluginConfiguration : BasePluginConfiguration
|
||||
/// Gets or sets the Jellyfin API key for authenticating stream requests from LMS.
|
||||
/// </summary>
|
||||
public string JellyfinApiKey { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether to use direct file paths instead of HTTP streaming.
|
||||
/// When enabled, LMS accesses files directly from shared storage, enabling native seeking.
|
||||
/// </summary>
|
||||
public bool UseDirectFilePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media path prefix as seen by Jellyfin.
|
||||
/// Used for path mapping when UseDirectFilePath is enabled.
|
||||
/// Example: /media/music or C:\Music.
|
||||
/// </summary>
|
||||
public string JellyfinMediaPath { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media path prefix as seen by LMS.
|
||||
/// Used for path mapping when UseDirectFilePath is enabled.
|
||||
/// Example: /mnt/music or //nas/music.
|
||||
/// </summary>
|
||||
public string LmsMediaPath { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user